You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just found out a English datasheet for the PMS5003ST, which says that the temperature is a signed integer. This total sense as the temperature can be negative.
Alas, the _unpack unpack method inhereted from PMS3003 decodes the message as unsigned integers.
Just found out a English datasheet for the
PMS5003ST
, which says that the temperature is a signed integer. This total sense as the temperature can be negative.Alas, the
_unpack
unpack method inhereted fromPMS3003
decodes the message as unsigned integers.PyPMS/pms/sensor/pm/PMS3003.py
Lines 61 to 63 in 5b7d05f
Therefore, negative temperatures will show as huge values.
The text was updated successfully, but these errors were encountered: