For some days now I watch the phenomen that lights are switch on without any switch beeing touched and no automation had been triggered.
In at least two cases a number of bulbs/lights had been switched on. But not all lights at the same time but during 30 or 40 seconds two up to four light had been switched on.
I deeply checked the activity log in HA and also the latest run of each automation without finding anything causing this. The log showed the lights had been switched on, but no switch or automation did anything.
Spooky!
So you might think it might be caused by a third party app from the light manufacture. But the lights that had been switched were from different manufactures with diffenrent apps (tuya, philips, sonoff).
Only homeassistant (and the Google Home App) is connecting these different services or devices.
Can anyone help me how to find the root cause and fix it?
Otherwise I might have to shut down my whole smart home as my wife was never happy about this “not so smart” home and her feeling of losing control. And now with these ghost activities for a good reason.
Yes, that’s what I’m dealing with today. Certain lights I’ll find on when returning to them. But I was toying with a lot, and there also appears to be update time for IOS and AppleHome.
Poking around a bit myself for the past hour, I just re-installed 2 bulbs in MQTT to see if that stops the random issues. I also yesterday had changed the controller for the (14) Lutron Aurora rotary dimmers (each used an automation, but I wanted to see how the pyscript approach would work here).
It could be the recent update to MQTT or the OS. update I don’t know yet. Just monitoring it all. (99% of my many bulbs are Phillips Hue, fwiw). If you said you used ZHA (not MQTT) I’d look towards the OS update.
That was the frustrating aspect. . . the activity history wouldn’t reveal anything about the random activities, only ones an automation or physical action initiated.
After the AppleTV & 2 HomePod mini’s completing their updates, and several reboots later (including the network), the problems cleared up. Not sure whether to blame at the Apple updates or the experimenting with Home-Assistant-Matter-Hub (since removed).
Sure I did in detail. That is what I meant writing this:
I deeply checked the activity log in HA and also the latest run of each automation without finding anything causing this. The log showed the lights had been switched on, but no switch or automation did anything.
So it really looks like this is coming out of nowhere.
My guess is bad connectivity or bumps in the power supply.
You might have a device on your power grid that makes noise and that cause the bulbs to reboot.
My guess too is problems with power. I disagree there’s no cure: look into the startup settings for the bulbs. Avoid ‘On’ and pick the choice to restore to the previous state.
Do you have automations targeting e.g. a label or the area that might be responsible? Maybe the log isn’t always complete. Have you checked what automations/scripts ran at the time the bulbs did their magic?