Restarting HA randomly turns on different WLED strips (0.12.1-b1)

I have 5 separate WS2812B LED strips each controlled by their own ESP32 running WLED (0.12.1-b1) and integrated in HA (2021.7.3). Each strip also has as IR receiver and a its own remote.

All are working without issue, EXCEPT they randomly turn on when I restart HA and I cannot work out why. I have run these LEDs for a few months and I am not sure when this started - but it has certainly become much more frequent recently.

In an attempt to work out what was happening I have just restarted HA back-to-back 10 times - no other changes were made and no interaction with the LED strips - other than to turn off (via HA) those LED strips that turned on when restarting HA.

This is what happened on each of those 10 restarts:

I have looked through each WLED set-up and also my HA automations and scripts and I cannot find anything causing this.

As some of these strips are in bedrooms this is an issue as it means any restart at night can randomly light up a room!

Anyone with any suggestions on what is happening, or even where to look to find out?

Thanks
Rob

I don’t see this behaviour.

It is probably an automation being triggered at start up.

After restarting go to Configuration / Automations and sort by the last triggered column to find out which one(s).

Or look in the logbook to see what context turned the lights on.

Tom

Thanks for the reply. I ‘think’ I have tracked this down.

After much searching I was unable to find any traces of instructions/ actions/ records in logbook, history, automations or scripts to identify this behaviour.

However, with multiple windows open (wled web interface, HA devices, logbook etc) and also physically moving lights into view it looked like the strip was turned on when HA was shutting down for a restart rather than them being switched on during start-up.

Looking in WLED I had

  • Settings>LED Preferences>Defaults> Turn LEDs on after power up/reset> ticked

I disable this setting and have now restarted HA 10 times without the issue recurring.

So, from my experience anyway, it appears that restarting HA sometimes causes an instance of WLED to also restart/ reboot. Which then implements the default WLED start-up settings.

Unable to identify why this seems to occur randomly.

1 Like

Thanks! I hope disabling that setting helps me with the same problem, 2.5 years later!

Bumping this topic because i’ve been experiencing the same issue lately with my Dig Quad and two Dig2go’s. Rebooting HA is causing the lights to turn off or turn on. It’s completely random. I’ve also had that same check box unchecked this whole time. Not sure what’s going on here.

1 Like

Same behavior. Looking for resolving.

idem with 2 wled strip module wsg281x synced with htyperion and command by alexa,
in my case even without I restart, I turn them off and after a while they turn back on :frowning: i think after last HA upgrade

this is sadly an issue with me as well starting to drive me crazy been trying to figure it out for about a month seems nobody has been able to resolve it… automation is not the issue in my case… has anybody posted this as an issue with home assistant wled integration?? I would but not too sure what version it was ok with lol Issues · home-assistant/core · GitHub

Same issue here with two separate wled controllers, I thought it was my automations but the second controller has no automations whatsoever so it’s clearly just an HA bug

Same thing happened here. WLED remains turned on while HA restarts. LED random triggered on.

WLED version 0.14

Did you check your WLED settings as per the solution provided?