Xiaomi QBKG03LM and QBKG04LM issues
As various (probably similar) issues with the Xiaomi QBKG03LM and QBKG04LM have been reported, I decided to create this single issue and close the other ones.
Reported issues:
- Unresponsive after some time; no route found (#254, #884, #334)
- Randomly turning off (#812)
Regarding #884 I too had issues with QBKG03LM loosing it's connection (whilst on Coordinator firmware version: '20181024'), but due to issues described here I ended up refreshing my coordinator with version '20181224' (found here), and it's been stable since. However it's worth noting that I added an extra router between the wall switch and coordinator, so that may have helped as well...
It still occasionally turns off the lights by itself, but I haven't got to the bottom of that yet.
Seems like random turn offs are caused by having mqttadminpanel in NodeRed. I have disabled the dashboard and all looks good. Maybe it is related to the frequent networkmap lookups... Anyone, who has random turn off issues, could you please confirm that you are having mqttadminpanel in NodeRed? If so, could you please have a try with turning off the admin panel?
Seems like random turn offs are caused by having mqttadminpanel in NodeRed. I have disabled the dashboard and all looks good. Maybe it is related to the frequent networkmap lookups... Anyone, who has random turn off issues, could you please confirm that you are having mqttadminpanel in NodeRed? If so, could you please have a try with turning off the admin panel?
I've nodered, and I've some mqtt input and ouput nodes, but I don't think I've mqttadminpanel installed :S
Same as Aitor. I use nodered but no admin as far as I know.
I’m testing device connected through Xiaomi gateway and that to hastío through component and it seem to work just fine and stable.
Alex Catena RTM Iberia
On 30 Jan 2019, at 10:15, Aitor Martin [email protected] wrote:
Seems like random turn offs are caused by having mqttadminpanel in NodeRed. I have disabled the dashboard and all looks good. Maybe it is related to the frequent networkmap lookups... Anyone, who has random turn off issues, could you please confirm that you are having mqttadminpanel in NodeRed? If so, could you please have a try with turning off the admin panel?
I've nodered, and I've some mqtt input and ouput nodes, but I don't think I've mqttadminpanel installed :S
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
@aimartin @hanross2323 based on @pkedvessy this issue seems to happen when the network map is requested, do you request this map on a regular base?
I've never requested a network map (at least, not manually, nor in NodeRed).
I still see that the device is showing up in other instances of zigbee2mqtt (I've 3 floors, and one Pi acting as independent server, posting to different MQTT topics), so it seems that even if I join to one server, eventually it will "jump" to other and that seems to cause issues... I'm planning to upgrade to the 1.1.0 version and try the "ban" feature, to see if that helps...
@Koenkk that makes sense to you?
Regards
@aimartin are these zigbee2mqtt instances operating on the same zigbee channel?
@aimartin are these zigbee2mqtt instances operating on the same zigbee channel?
I've checked my configuration.yaml and I don't see anything regarding channel... how can I check that? (I've Linux and systems knowledge, but not much in Zigbee)
That means they are all on the same channel (I guess you also didn't set a different encryption key, meaning that the key is also the same).
You should use a separate channel for each zigbee2mqtt instance. This will also avoid any interference. (see channel https://koenkk.github.io/zigbee2mqtt/configuration/configuration.html). Note that after changing this you have to re-pair your devices.
That means they are all on the same channel (I guess you also didn't set a different encryption key, meaning that the key is also the same).
You should use a separate channel for each zigbee2mqtt instance. This will also avoid any interference. (see
channelhttps://koenkk.github.io/zigbee2mqtt/configuration/configuration.html). Note that after changing this you have to re-pair your devices.
Ouch!! I wasn´t aware of this, I'll update and change it during this weekend, seems that I'll have a lot of work xD
Will report back once done and tested, thanks!
No, I don’t request map and I don’t think I have changed any encryption key since I just learn you can do it :)
Alex Martinez
On 30 Jan 2019, at 10:48, Koen Kanters [email protected] wrote:
@aimartin @hanross2323 based on @pkedvessy this issue seems to happen when the network map is requested, do you request this map on a regular base?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Ok, I've started changing this, and I've found something weird:
if I put channel in a different channel (like 10), the USB device led goes to red and zigbee2mqtt doesn't start, but if I setup it to 11, it works fine. I've flashed the usb with the latest HEX (20190109).
I've also changed the network_key, will that be enough?
Regards
Channel could be between 11 and 26.
Channel could be between 11 and 26.
LOL, that explains a lot #Facepalm
It's worth saying that I don't use NodeRed but still experienced the random switch offs.
I have a friend who also has a QBKG03LM which keeps turning off as well. We're going to try upgrading to the latest coordinator to see if that makes a difference (he also doesn't use NodeRed).
According to the links below [1] [2], only the versions with neutral wire (QBKG11LM / QBKG12LM) can act as Zigbee routers. The QBKG03LM / QBKG04LM are the "no neutral wire" version. Do they really work as routers?
[1] http://en.miui.com/thread-2058422-1-1.html#post_23859766 [2] https://community.aqara.com/forum/faq-1/topic/which-aqara-products-can-act-as-zigbee-repeaters-564
FWIW - I'm not using zigbee2mqtt (although I'm about to make the jump) and my Aqara wall switches randomly turn off too. I'm using the Aqara gateway + Homeassistant + NodeRed and the "no neutral wire" double switch version.
They only seem to randomly switch off when I turn on bulbs all at once (smart bulbs...so the switch is on but the bulbs are set to 0%...if I set all bulbs to 100% at once). It's almost as if they are tripping something in the switch.
If I look in the Aqara app, it actually shows a log item "Double RoOff", which is interesting, as it only logs this when an API call turns them off (pushing the buttons results in a "press
The QBKG03LM / QBKG04LM are the "no neutral wire" version. Do they really work as routers?
No, they wont. Without a neutral they barely have enough power to receive, they definitely won't have enough power to drive zigbee mesh logic and repeat other signals.
@timdonovanuk that make this issue even more interesting, do you have any none Xiaomi devices in this zigbee network? (e.g. tradfri)
@Koenkk Indeed!
I have a Tradfri hub and the bulbs I'm testing with the Aqara switch are Tradfri bulbs, but because I'm not using zigbee2mqtt yet, I guess the tradfri and aqara devices won't be meshed as one zigbee network.
@timdonovanuk do you also have tradfri bulbs connected to the aqara hub? (that's possible since a few weeks).