io72 value when negative

Gps mana year ago

We are using 1-wire sensor and getting huge value when the temperature is negative any idea ?

4294967248
4294967251

Anton Tananaeva year ago

The problem is that we decode values as unsigned because most are, so instead of negative values you get big numbers like that. I believe it should be possible to use computed attributes to convert it to a proper negative values.

Gps mana year ago

Can you guide how this can be done using computed attributes

Anton Tananaeva year ago

Unfortunately I don't really know off the top of my head.

Gps mana year ago

Anybody here can guide on this ?

Deboraha year ago