Based on the recommendation of others… I’m opening this issue as a NEW and separate thread…
I’ve been fighting with rules that work perfectly for a while (1-3 weeks) then they suddenly stop working and I need to delete and recreate them to make them functional again.
I running OpenHabian on a Raspberry Pi 3 Model B Plus Rev 1.3.
I use an Aeon Labs Aeotec Z-Wave Z-Stick, Gen5 Z-Wave Plus - ZW090 USB Stick.
I’m running OpenHabian 4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST 2019 armv7l.
OpenHabian boots/runs from an SD Card.
I set up my rules using the Paper UI “Experimental” Rules.
I installed and configured OpenHabian back in May/June of this year. As noted above, I have an ongoing issue where “rules suddenly stop working” (lights stop turning on/off at the prescribed times/events).
I set up some very simple rules in Paper UI to operate switches that turn lights ON/OFF in my home. The rules make use of Astro Channel events such as local Sun Civil Dusk and local Sun Sunrise events to run a command that turns ON/OFF Z-Wave and Wemo Wifi Switches that are connected to lights.
The rules work great for anywhere from 1 up to 3 weeks. Then they just stop working. ALL OF THEM.
At this point often when I try to go to the Paper UI or try to ssh into OpenHabian from another machine on my home network, I can’t. I have to reboot my Raspberry PI to get OpenHabian running and accessible again. After the reboot, OpenHabian Paper UI comes back and I’m able to ssh in again. At this point the rules appear to be corrupt/broken. If I edit a rule by making a minor change to the rule description and then save it, then manually run the rule with the “play button” icon in Paper UI, it appears to work again. Sometimes however, the rule while functional with the “play button” doesn’t trigger anymore based on the Channel event or fixed time. I need to delete the rule and recreate it again in Paper U before it works again. This goes for ALL of the rules. Things work for a while again before I have to repeat the entire cycle again in 1-3 weeks.
Guidance and suggestions for debugging and tracing the root cause of this issue would be appreciated.
Where should I start?
Thanks in advance for your help.