#light automations stop responding
1 messages · Page 1 of 1 (latest)
good idea
ok, go ahead and flip light.master_bedroom_hallway_light_switch - don't toggle it twice, just go from either on to off, or from off to on.
it shouldn't matter, but let's go IRL since that's how you've been doing it
alright
any errors in the logs?
and confirm the automation ran? Look at the trace to see if it completed successfully
ok
how many times & how fast did you have to toggle previously to get the issue to happen?
just happend again
turned it on
then turned it off
then toggled again
wont toggle anymore
what does trace show, and what do logs show now
a few miliseconds between state changes
A warn
Logger: homeassistant.components.automation.new_automation2_3
Source: helpers/script.py:1792
Integration: Automation (documentation, issues)
First occurred: 9:28:55 PM (1 occurrences)
Last logged: 9:28:55 PM
New automation2: Already running
traces log
every automation has modes that you can choose from. The default is "single" which means the automation will only run one instance at a time, and if it is triggered again while it is running, the new trigger is ignored
Ahhh
if you want the automations to be ran in parallel, you can choose the "parallel" option
in the UI while editing an automation select the
button
some integrations wait for a response after calling a service and some don't. Out of curiosity, what are these switches? Wifi, Zigbee, Zwave, Thread, etc?
nice I've wanted to get one of those
I didn't have time to build one myself but the pre-built option is great
Using generic aubbies iot relays in junction for the lights
so, I'm not clear on the issue you had; did the lights stop responding indefinitely, or did they start responding again after some delay?
some sort of estimate on that? Would you measure it in seconds or minutes?
Seconds? About 20 to 30
I'll go try the parallel thing, but it's probably worth mentioning I've got a automation
10 least
A motion automation
That includes the entrance hall light switch
But I've tried disabling it too
So it won't interfere
if necessary, you can add a condition to these automations so they don't run if the thing that caused the state change that triggered the automation was itself an automation
In case you have having issues with loop
But it doesn't seem like that is the issue
If you toggle the light slowly, for example once every 5 seconds, does the problem occur?
Yes
sounds like you have a zigbee issue and not an automation issue. You can verify by disabling any related automation, and from the UI just toggle one of your zigbee switches. If it stops responding after some time, then you know it has nothing to do with automations
if that is the case, try in #zigbee-archived
Using parallel solved it. I can now flip the switch 10 times before it fails
Which is the default for that mode
Don't get any errors till I reach 10
so it was home assistant that was not responding, as opposed to the zigbee switch itself
Yep
There was some error related to the zigbee switch
But that was early on haven't seen them since
Thank you for the help