My Aqara bulbs from about 11:30pm to the early hours of the morning have a mind of their own and light up or just flicker for a few minutes then stop
The lights blink in a constant frequency when they lose the connection with the hub.
Do you perhaps turn off the hub or the wifi at night?
1 Like