When the temperature sensor fails to read a temperature it returns 85. This is being accepted as a valid reading rather than being rejected. As a result the temperature compensation code causes Distance readings to fluctuate.
Consider
- debugging and looking for the cause of a failed read.
- writing validation code where readings of 85 degrees need to either be rejected or transmit an error.
- Modifying Nominet bridge code to reject or annotate errors.