Description
My Hub 2 sensor (temp, humidity, light) regularly has old values in Homey compared to Switchbot own app.
This was yesterday evening:
As you can see, there were several changes in temp and humidity in the last 4 hours (after the vertical line), but these values weren't send to Homey.
The last update (4 hours ago) was via webhook:
(My timezone is UTC+2)
* 2024-07-11T17:02:33.501Z
* Got a webhook message! {
"eventType": "changeReport",
"eventVersion": "1",
"context": {
"deviceType": "WoHub2",
"deviceMac": "FAAD9871D28C",
"temperature": 23.3,
"humidity": 60,
"lightLevel": 2,
"scale": "CELSIUS",
"timeOfSample": 1720717352730
}
}
Seems to me there were no updates via the regular API-way?
When I use 'Get status' I get the correct values (different from the ones shown on the Homey device):
Only after I restarted the Switchbot Homey app, the correct values were finally updated to the Hub 2 Homey device.
I have 4 Switchbot devices:
- Hub 2
- Mini hub
- Standard temp/hum sensor (via hub)
- Outdoor temp/hum sensor (via hub)
Apart from the updating problem, everything works fine. I use the hubs to control two IR-devices, via homey flows. This works perfectly.
The update problem seems to be limited to Hub 2, but i'm not entirely sure: the other sensors are in places where temp and/or humidity change a lot more. These devices get a lot of webhook-updates, like several per hour.
It seems that webhook updates are only sent for medium and large changes, and the Hub 2 sensor is in a very temp/humidity stable area. But these small changes over time (hours) is exactly what's important. I have some flows that notify me when certain threshold values are reached. But these are not working properly now.