nlrb / com.weather-sensors

Wireless weather sensor app voor Athom Homey
https://apps.athom.com/app/com.weather-sensors
MIT License
14 stars 24 forks source link

Humidity not working for Telldus WH2 #109

Closed n808 closed 1 year ago

n808 commented 1 year ago

After the May 9th update (v3.1.1) the app stopped working for all my Telldus temp and humidity sensors. After re-adding them all, I got temperatures to work again, but not humidity. They are all stuck at 20%. Feel free to close this issue if humidity never worked, but I thought it did, or maybe I don't remember correctly.

n808 commented 1 year ago

24 hours after I created the issue above, the app has read the correct humidity for one of my four WH2 sensors, while the other three are still stuck at their minimum 20%. - strange. Temperatures are read frequently and correctly,

nlrb commented 1 year ago

The humidity decoding did not change. Can it just be dry?

n808 commented 1 year ago

No, The sensors show the right number on their LCD, 25-27% or so. For example, "kitchen" in Homey app shows temp 23.9C - 3 minutes ago, humidity 20% - 3 days ago, which is when I re-added the sensors. LCD 27% humidity. So no humidity updates, temp updates every few minutes. Very strange.

nlrb commented 1 year ago

Can you add a screenshot of the app settings where you see the data?

n808 commented 1 year ago

I think it started working! Perhaps the issue is that humidity changes so very slowly, that the senors do not send out updates very often. But today, all sensors had updated their humidity. Still it was "x hours ago", while temperature was almost minutes ago. I think we can close this issue then. Thanks for following up.

n808 commented 1 year ago

Closing - not a bug. It might just take a really long time for humidity to start syncing after re-adding sensors.

nlrb commented 1 year ago

It is still unclear for me. Humidity data is part of the same payload as temperature. And there is no reason why it should not update. That is unrelated to when a device has been paired. So there must be another reason.

n808 commented 1 year ago

Humidity has started to update quite frequently now, but it's interesting what you write about being in the same payload. In Homey, on the temp/humidity page for each sensor, when clicking on the numbers, Temp and Humidity never show the same time since last updated. They are always updated at different times.

nlrb commented 1 year ago

Homey only showes when the value last changed. Not when a value was last received. Indeed temperature is in bits 13-24 en humidity in bits 24-32 of one payload.