ericklein / air_quality

displays and logs local indoor and outdoor weather and air quality information
MIT License
0 stars 0 forks source link

Temp, humidity delta is reporting <1 changes as 1 in infoScreen #63

Open ericklein opened 2 years ago

ericklein commented 2 years ago

sensor value = 66.32 averaged value (from total sample set) is 66.52

This is an edge case where subtracting the rounded (+.5) (int) of these values yields -1 even though the temperature did not change 1 degree.

Solution is likely to (int) the base values and look for >1 movement.

ericklein commented 2 years ago

will fix during the UI refresh