Hello folks!
I have a lot of automations, and one of them is quoted below.
This automation works, but after running for about a day without restarting HASS this automation no longer triggers, while others still work.
There are no messages in the log.
Simpy reloading automations from the UI makes the automation trigger again.
I am running on a Raspberry Pi, within a virtual environment. Everything is updated to latest version.
Are you sure that is your intention? You’ll need to meet all 3 conditions for this to fire. Once this turns on once, it will never fire again because your cv_ketel_override was turned on. Unless you physically turn it off again.
Thanks! Of course I turn it off again, but thats another automation, and it works ok. It simply will not trigger again after running alone for a day or so.
I tried to find a way to monitor a single automation in debug mode, but I only could find a way to debug them all, and that gives me to much information… This morning I found another automation what was not triggering while all conditions were ok. I think perhaps I have to reinstall everything or move my automations to appdaemon or node red.
I don’t think reinstalling is going to work. You should be monitoring the items that would cause the automation to trigger. My guess is that your condition is limiting your automation from firing. So look at the states of your thermostat and your sensor at the moment in time in which you think the automation should fire.
Oddities like this are always the logic in the automation, they are rarely - if ever - the installation of HA.
The definition of insanity is doing the same thing over and over and expecting a different result… Honestly HA is pretty hard to screw up… it’s always a config file etc… (almost always)
Had to reinstall everything because of an error on the SD card of the Raspberry Pi. Now running again with the same automations (yes! backuping rules!), and added a monitor automation using exactly the same triggers, but without any conditions, and with as only action writing to a file using notify. In this notify I print a timestamp, the trigger values, the triggerdd platform/entity, and all three conditions exactly as used in the original automation.
After about a day the same situation happens. (so you were right about the reinstall thing…)
The automation triggers, and all 3 conditions are True. Why are the actions not fired???
Any help would be nice. Is there any more monitoring I can do ???