I’ve recently migrated my home automation system to Home Assistant and finding it great. I am running it on a RPi3.
I am, though, trying to resolve a problem with an automation that sometimes works perfectly and then sometimes doesn’t. I think it is the automation causing the problem rather than the switch (Aeotec ZWA006).
The automation is set to trigger two switches at a set time. Here is the YAML code:
You can try putting a 1-10 second delay between the commands. Sometimes I find that rapid zwave commands cause some to get missed. As for turning off, my guess is that what happened was that it never turned on (HA thought it was on since the command was sent, but then it reported back later that it was off, so HA thought it went on/off). If that’s the case, then possibly spreading out the commands will help.
-David
FWIW, I am having the same issue. As far as I can tell it started a couple of months ago The device is a Fibaro Dimmer 2. I have change the automation a couple of times and have landed on “light.turn_on” as the action. It seems better but too early to confirm.
Thanks for the suggestions. I’ve added some delays into the automation and also written a short script to check if it’s ON and pulling power and repeat the command if it’s not. It is a bit belt and braces but I’ll let it run that way and see what happens. I can’t see anything relevant in the logs but then maybe I haven’t found the right logs - they are either top level (e.g the Automation traces) or in real-time with every z-wave command on the network.