So in my master bedroom we've got 3 table lamps, each with Sengled Classic Zigbee bulbs. I've got a GE/Enbrighten Z-Wave switch I put in. I've got a "Master Bedroom Lights" group I added via the Groups and Scenes app with those 3 bulbs. I've got 2 simple automation rules to sync the Master Bedroom Lights group to the switch (so the switch knows the state if it's set via automations, etc). I also control the group via Alexa, but that seems to work fine.
So the mystery is... Why does it currently show all of these lights on when
A) Nobody / nothing turned them on, and
B) They're not actually on
It seems like it always starts with my nightstand light deciding it's on and triggering the others:
[app:162](http://192.168.1.29/logs#pastapp162)2021-04-18 06:19:28.590 [info](http://192.168.1.29/installedapp/configure/162)Turn On Master Bedroom Lights when Master Bedroom Switch turns On Turn On
[dev:109](http://192.168.1.29/logs#pastdev109)2021-04-18 06:19:28.522 [info](http://192.168.1.29/device/edit/109)Master Bedroom Switch was turned on [digital]
[app:163](http://192.168.1.29/logs#pastapp163)2021-04-18 06:19:28.263 [info](http://192.168.1.29/installedapp/configure/163)Turn On Master Bedroom Switch when Master Bedroom Lights turns On Turn On
[dev:99](http://192.168.1.29/logs#pastdev99)2021-04-18 06:19:28.055 [info](http://192.168.1.29/device/edit/99)Jasonโs Nightstand was turned on
I previously had set up the mirror app to keep these 2 in sync, but that actually turned on the lights (one time at 1:30 AM ) so I switched to these simple automation rules. I didn't realize they were showing as "on" for a while until I set up Homebridge and could see the lights on the Home app as "on".
So what could be causing this ghost in the machine? I'm thinking of maybe replacing the bulb in my nightstand and see if it stops, but I thought I'd see if anyone else has thoughts.
are the devices linked with anything else? check the devices and the "In Use By" section on the bottom. if you're using Alexa, do you have Hunches disabled?
I hadn't turned on any of the hunches actions. I affirmatively turned off the hunches suggestions yesterday.
The devices are only part of the group, in my one dashboard, and shared with the Maker API for Homebridge.
....and it happened again. This time apparently at 12:35 AM. It looks like it was my nightstand kicking it off again, which sets the group, which sets the switch. But then it was like 14-15 minutes before the two other bulbs were marked "on" and none of them ever actually turned on.
Oh, and the individual devices are not shared with Alexa, just the groups, so I don't think Alexa could have turned on just my nightstand.
do you have logging enabled for the devices as well? there might be something around 12:35AM that turns on the nightstand (or at least sends the event) that's triggering everything
Pre-staging is off... Zigbee group messaging is on, "Use group device to indicate if any members are on?" is on, and "Enable on/off optimization?" is on.
Well... when I turned off the on/off optimization it just didn't work anymore. When I turned it back on so all the settings were the same as original... it stopped happening for the last few days. Weird.