eschava / node-red-contrib-xiaomi-ble

Xiaomi Bluetooth4 (BLE) sensors
MIT License
19 stars 15 forks source link

Negative temperatures issue? #27

Closed kupo2kupo closed 3 years ago

kupo2kupo commented 3 years ago

Hi, I installed your great node today, but as soon as the temperature dropped to below 0 degree Centigrade I received the following message: "Incorrect data: T=-1.9 H=35.1". Could there be something in the code that does not like negative temperatures?

kupo2kupo commented 3 years ago

I am using model LYWSDCGQ/01ZM which supports "The temperature range: -9.9 ℃ ~ 60 ℃".

eschava commented 3 years ago

Published 1.3.2 with negative temperature support

kupo2kupo commented 3 years ago

Great, thanks!