I purchased a Xiaomi switch (the same one, I think, as the one used in the explanatory video on Zigbee2mqtt). I can pair it perfectly but it disappears after an hour or two. I have repeated the procedure several times, forcing the removal each time, with the same result.
If you have any suggestions for solutions, or another model of wireless switch to recommend, I’m interested.
Well, I redid the pairing, moved it at least 50 cm away from the Freebox and it’s the same thing: the pairing holds for about an hour… I left the button near the Raspberry Pi, because I read somewhere that this could happen if the button detects a « linkquality » that’s too low, but that didn’t change anything.
Do you have other ZigBee devices or is this the first one?
Do you have a way to test its battery?
Did you go directly to the ZigBee2MQTT interface (accessible from the integration’s configuration page)?
If there’s no change, can you retrieve the logs from the Gladys and ZigBee2MQTT containers?
When you say it « disappears », where does it disappear from?
Did you do a factory reset?
I had a problem with a zbminil2 that always went into pairing mode when we turned it on. After a factory reset it started working properly.
Thank you for helping me identify the problem and sorry for the late reply.
@guim31 I’m using the Sonoff dongle, the same one I think is in the video. Here’s a photo of the installation (it’s a bit of a mess…)Photo
@ I have US Zigbee outlets and I have no problem. I changed the switch’s battery with no result, and during pairing the battery level does come back up (100%).
In the ZigBee2MQTT interface, the switch appears correctly. I have no idea how to retrieve the logs.
When I say it disappears, I’m talking about the connection. I added the switch to the dashboard, and at first the status updates correctly but after
Thank you very much, I’ll try to move all that away. However, I don’t know how to change the channel in the ZigBee2MQTT interface; I’ll take a look at the docs.
I also received a Xiaomi door sensor, which is normally recognized by ZigBee2MQTT but won’t pair. What if I flashed the Sonoff dongle with the latest firmware?
Do you mean that if you operate the switch, the new state does not get reported to the dashboard? And in that case, is the correct value present in the ZigBee2MQTT interface?
There should be a small hole into which you need to insert a small pin. Then you should either do a short press, several presses, or a press of several seconds (check the manual).
If I toggle the switch, everything works at first. The state is correctly reported in the dashboard and the scene where it controls the outlets works. But after about an hour, the state no longer updates in the dashboard, and it no longer controls the outlets.
I added an extension cable for the Sonoff dongle, tried with another switch and everything seems to be working perfectly. I even managed to pair the Aqara door sensor.
The problem therefore apparently came from the absence of the extension.
Thank you very much for your help and have a great holiday season