-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[shelly] Shelly Plus Smoke update period #17767
Comments
This issue has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/shelly-plus-smoke-communication-error/160106/6 |
Usually the sleep interval is reported by the device at initialization time and the binding is using this value + 60sec Please provide the output from http://<device ip>/rpc/Shelly.GetConfig |
The sleep interval is within the "wakeup_period": 86400 In the thing properties I have some smoke detectors that don't stick to the wake-up time and need up to an hour longer. Apparently there is a big variation in the wake-up time between different devices. As far as I have researched, a tiny microcontroller wakes up the main controller after the wake-up time to save power, which is probably the reason for the big variation. My suggestion would be to set the wake-up time for the smoke detectors to the reported wake-up time + 3600 sec. |
@markus7017 One general question beside that: Why is the heartBeat channel still updated and the other channels not if the thing is offline? Looks like if a battery powered device never changes back to online if it is offline, even if new data is received. |
…penhab#17767) Signed-off-by: Matthias Maier <[email protected]>
…penhab#17767) Signed-off-by: Matthias Maier <[email protected]>
Expected Behavior
After initial setup the channel of the smoke sensors should stay in online state as all the other channels of battery operated shelly devices do.
Current Behavior
I have several Shelly Plus Smoke devices (FW 1.4.4) added to openHAB 4.2.2. After a day the thing status changes from ONLINE to COMMUNICATION_ERROR. It is interesting that the device#heartBeat channel is still updated with each wakeup of the shelly while the sensors#lastUpdate channel stays the same if the thing has changed to offline.
The problem seems to be that the devices only wakeup around every 25 hours (between 87500 and 87800 sec). One device is waking up around each 83700 sec and is staying online as supposed.
Possible Solution
Probably increasing the sleepPeriod for the device watchdog could help.
Anything I can change within the shelly config or openHAB to let the smoke sensors stay constantly online?
Steps to Reproduce (for Bugs)
Your Environment
The text was updated successfully, but these errors were encountered: