Device sporadically switches ON
Bug Report
What happened
I have a smart switch module of type: MS-104BZ

This device mysteriously switches itself ON without any MQTT request (there are no sets with retained flags or any other requests, the device is simply powered ON). I have been observing it for some days and now the only clue i have is this:

When the above messages come in (They always come in pair) both switches are set ON.

What did you expect to happen
The device should only switch on when there is a request.
How to reproduce it (minimal and precise)
Switches on sporadically
Debug Info
Zigbee2MQTT version: Adapter hardware: CC2531, CC2530, CC26X2R1 or CC1352P-2 im using the zzh from electrolama
Adapter firmware version:

Any help in finding the issue will be highly appreciated
Check the timestamps the light turns on. A friend of me had the same problem and after weeks of searching we noticed this device switching on/off at the same time as the street lights switching. Maybe you have the same problem.
Hi Timminater, mine is completely random since i posted the device hasnt switched on again by itself again.
The devices still switches on sporadically, anyone out here, who can help me debug the issue?
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days
Is it really impossible to debug such an issue?
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days
come on guys a little debugging help is all i need.
Given that there is nothing in the logs besides Received zigbee message.., it seems z2m itself doesn't send this message. That leaves two other root causes:
- The firmware on the device is bugged, turning itself on
- Other devices in the network control this switch, to see if this is the case sniff the traffic while the switch switches on. https://www.zigbee2mqtt.io/advanced/zigbee/04_sniff_zigbee_traffic.html#with-cc2531
Thanks for the advice ill try sniffing the traffic
Hi @Koenkk, i have captured the zigbee traffic where it is sporadically going ON, how can i tell if another device is switching on? see attachment thanks in advance. The device Network ID is 0xcdbd
@ChankyTheConqueror do you know at what +- No. (first column) the bulb turns off?
unfortunately i cant quite tell, i left the sniffer on most of the day but it should be just within last half hour of the trace. i can retry again tomorrow ill be working from home. Thanks in the meantime