ericklein / air_quality

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

Reported temp/humidity #s seem suspect #101

Closed ericklein closed 10 months ago

ericklein commented 1 year ago

Seeing temp and humidity values in MQTT (influxdb) that are well above what I'm seeing on the screen, more than a 5-6 sample average should be. +13 temp, +7% humidity. Check the algo

ericklein commented 10 months ago

averages were dividing by SAMPLE_SIZE although samples were stored starting at zero, so denominator off by 1. Fixed.