Well, you claim that sensor is in hex, but personally i’m not convinced. It seems odd to me that none of your screenshots on any thread show an actual hex value coming out of sensor.outside_temphex.
I dunno, it ran for almost a year with the code I showed you calculating the correct temp. Unless something went wacky on the last update. It did give an error that it didn’t like the use of int as a datatype in the template and it all went to hell.
That’s the point, just because it’s an asnwer you expect does not mean it’s correct. If your sensor reports 1422, your temperature result will be 58e. Does that make sense?
Yes but the temp results with the code I shown you there and before has been tested accurate with an actual probe against my Fluke calibrated standard in test baths. I get something doesn’t jive with you. I just do not know what that is.
It’s Decimal to HEX. The sensor must be outputting an int16. So the code would be correct. I was saying it wrong. My apology. So when you convert 1368 to HEX it is 558 then divide by 10 = 55.8. It’s been a while since I looked at all this.