airgradienthq / arduino

Firmware of open-source hardware air quality monitors AirGradient ONE (indoor) and AirGradient Open Air (outdoor).
https://www.airgradient.com/documentation/
Other
220 stars 114 forks source link

Low temperature reading from PMS5003T #178

Closed airgradienthq closed 4 months ago

airgradienthq commented 5 months ago

There seem to be very low temperature readings sometimes happening from PMS5003T. Model O-1PP

image

I think it might make sense to only allow temperature and humidity readings within the specs of the sensor:

• Temperature operating range (–40°C to 100°C) • Relative humidity operating range (0% to 100%)

See: https://www.mouser.com/datasheet/2/1081/ENS210-1984006.pdf

So basically ignoring values outside that band.

joshschaeffer commented 5 months ago

Not sure if this helps, but here's how Esphome fixed a similar issue with that sensor: https://github.com/esphome/esphome/pull/6100/files

airgradienthq commented 4 months ago

Will be fixed as part of #190