I'll chime in here because I just got done with a roof fiasco.
I mounted mine about 4 feet above the roof, and still got temperatures that were affected by the shingles.
Also to keep in mind, the roof and soffit hold in heat from the day, then release it at night, so your readings will be wrong at night too.
The only reason I did it is because I saw everyone else doing it, and I was fighting a DP problem with CWOP. It went right back down to a 10 ft pole in the lawn.