#light automations stop responding

1 messages · Page 1 of 1 (latest)

analog musk
#

moving this to a thread

violet frost
#

good idea

analog musk
#

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.

violet frost
#

via ui?

#

or irl?

analog musk
#

it shouldn't matter, but let's go IRL since that's how you've been doing it

violet frost
#

alright

analog musk
#

any errors in the logs?

#

and confirm the automation ran? Look at the trace to see if it completed successfully

violet frost
#

no errors

#

trace was fine

#

I only toggled it once

analog musk
#

ok

#

how many times & how fast did you have to toggle previously to get the issue to happen?

violet frost
#

just happend again

#

turned it on

#

then turned it off

#

then toggled again

#

wont toggle anymore

analog musk
#

what does trace show, and what do logs show now

violet frost
#

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

analog musk
#

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

violet frost
#

Ahhh

analog musk
#

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 dotsvertical 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?

violet frost
#

Zigbee 3.0

#

Via ZHA

#

Using a open source TubesZB coordinator running esphome

analog musk
#

nice I've wanted to get one of those

violet frost
#

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

analog musk
#

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?

violet frost
#

Indefinitely

#

But eventually came back after a prolonged delay

analog musk
#

some sort of estimate on that? Would you measure it in seconds or minutes?

violet frost
#

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

violet frost
#

That includes the entrance hall light switch

#

But I've tried disabling it too

#

So it won't interfere

analog musk
#

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?

violet frost
#

Yes

analog musk
#

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

violet frost
#

Which is the default for that mode

#

Don't get any errors till I reach 10

analog musk
#

so it was home assistant that was not responding, as opposed to the zigbee switch itself

violet frost
#

Yep

#

There was some error related to the zigbee switch

#

But that was early on haven't seen them since