Since I added my yeelight to openhab2, it turns itself on like every hour. I tried to find something in the logs but it is not so easy, since I don’t know exactly when this happens. Sometimes when the light is on it flickers also for a second or two.
Does anyone of you had the same issue and knows what to do?
Here are the logs:
2019-03-16 11:32:30.227 [vent.ItemStateChangedEvent] - miNetLife changed from 28589 to 28650
2019-03-16 11:33:30.251 [vent.ItemStateChangedEvent] - miNetLife changed from 28650 to 28710
2019-03-16 11:34:30.345 [vent.ItemStateChangedEvent] - miNetLife changed from 28710 to 28770
2019-03-16 11:34:39.839 [vent.ItemStateChangedEvent] - l_masbedroom changed from OFF to ON
2019-03-16 11:34:39.851 [vent.ItemStateChangedEvent] - yee_power changed from OFF to ON
and this one: 2019-03-16 14:54:55.246 [vent.ItemStateChangedEvent] - yee_nightlightBrightness changed from NULL to 100
Ok I’ll tried to turn openhab off and the issue did not occur, the light did not turn on by itself. So I waited for it to happen again and seems that this thing is triggering it it the logs:
2019-06-10 15:53:53.084 [vent.ItemStateChangedEvent] - miNetLife changed from 44273 to 44333
strange but this must be something else because the miNetLife is coming from my vacuum not from the light.
I found this in the log, this happend the same moment the light blinked. But this should actually not affect the lamp at all. She isn’t even Zigbee connected.
You should at least share your suspect Item, channel, and Thing configurations in case someone can spot something odd,
If you’re not seeing commands in the log, it probably isn’t originating in openHAB? State updates in your events.log would be expected wherever the action came from, guessing your suspect uses yee_xxx names…
OK good advice will do that tomorrow. No it’s definitly coming from openhab i checked this. With shutting down openhab for several days and it never occured.
I found the issue. Strangely it has nothing to do with the Yeelight app nor the Openhab system. It seems that it was just a coincidence that it did not occur when the openhab was off. It is my houses powerline, there something wrong with it, at least it seems like it. It crossed my mind yesterday and I directly did go ahead to try it and it worked. I enabled, under the Lamp and “Default State” the option “Save light state automatically” this did the trick. So it seems like there are some minimalistic very short powerlosses on the line where the lamp is connected (or at least the lamp thinks that) and thats why she turned always on again because “Auto on upon power resumption” was enabled.