I don’t know exactly how to summarize a topic for this one. Some many months ago I discovered a pattern to two of the lights at home where “every” morning these same two lights require me to turn them on twice to actually turn on. Some more digging and it turns out that at 00:15 almost every night (although not every night) these two lights change status to
on while remaining off. At first I did not realize this behaviour was caused by a state change as I mostly use physical switches to turn lights on. I have mostly IKEA Trådfri (Zigbee) lamps and for all of them there is a wall switch with a shelly behind in detached mode (most of them running ESPHome) and using the
service: light.toggle in ESPHome to toggle the light. For the two affected lamps there are no automations including them, and the log only shows that the light switched state by itself (it would seem) as there are no triggers showing from service calls or automations (that these two lack). I don’t know where to look. I am running “the sonoff stick” with ZHA which I updated to some current firmware way back when I bought it closely after release. Its always the same two lights and I have at least a ducin more IKEA trådfri bulbs not acting like this. The two bulbs are of different models, are in different locations in the house (different sides of the coordinator even) and it always affects either both lights or none of them. One could have thought of a faulty bulb they are two affected ones and they switch states at the same time in the logs. The lights/bulbs that are acting out are of the following models.
- TRADFRI bulb E27 WS opal 1000lm