konnected-io / konnected-security

Konnected connects wired sensors and switches to SmartThings, Home Assistant, Hubitat and OpenHAB
https://konnected.io
Apache License 2.0
416 stars 322 forks source link

Konnected Alarm Panel Reboots every 24 hours when a zone with Type: Switch is steady on for 24 hours #155

Closed joshlarsen48 closed 2 years ago

joshlarsen48 commented 2 years ago

When the state of a zone with type: Switch is in the ON state for 24 hours the Konnected Alarm Panel reboots at the 24 hour mark of that zone being ON. I have an old version and the new version of the boards and they both have the same issue.

I have tested with both 2.3.5 and 3.0.1 software.

Preproduce by setting a zone type to Switch and then from SmartThings turn the state of that switch to ON and leave it that way and 24 hours later the board will reboot. The state of the switch is also lost and defaults back to OFF after the reboot. I opened https://github.com/konnected-io/konnected-security/issues/156 for the issue of the state being lost.

heythisisnate commented 2 years ago

Occasional reboots are normal and cannot be completely avoided. There are several reasons that the device may reboot from time to time, including wifi/network blips, re-authentication, power outages, etc. We can mitigate many of these, but not eliminate.

joshlarsen48 commented 2 years ago

Thanks Nate, The reboots was only a real issue because of the state not being remembered in issue https://github.com/konnected-io/konnected-security/issues/156. Since you fixed that the reboot is no longer a big issue.