airgradienthq / arduino

Other
207 stars 110 forks source link

Low temperature reading from PMS5003T #178

Closed airgradienthq closed 3 months ago

airgradienthq commented 3 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 3 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 3 months ago

Will be fixed as part of #190