Hi guys,
I am having an issue finalizing the configuration for some new window sensors (Aqara aka Xiaomi) and I’m not really sure exactly what the problem is.
So let me tell you a bit about my setup and what I’ve done so far.
My setup:
Unraid server running the following dockers:
- Home Assistant
- Mosquitto
- Zigbee2MQTT
I have successfully configured Mosquitto and I see both Home Assistant & Zigbee2mqtt logging in (I set the client ID on each so I’d know the difference) and I’ve paired a number of the window contact sensors. I’m using a CC2531 coordinator and a CC2530 router.
The issue(s) that I’m having right now are as follows:
- The router seems to be acting very strangely and I’m not sure exactly why… It’s basically only in one of two states:
- Powers on with a quick blinking red light and then turns solid green (this is when the router and coordinator are in the same room, with the Coordinator plugged directly into my server and the router into a USB port on my PC.
- Powers on with a quick blinking red light and never stops (this is when I try to use a 5V Apple USB wall plug, I’m not sure if this is too high power for the device?)
I’ve seen the link quality on the router bounce around from the high 20’s to mostly either 0 or 1 and I see tons of these messages in the logs:
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:17:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:17:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:18:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:18:34: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:19:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:19:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:20:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:20:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:21:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:21:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:22:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:22:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:23:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:23:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:24:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:24:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:25:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:25:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:26:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:26:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload ‘{“led”:false,“linkquality”:0,“description”:“0/0x00124B000E0EAB9B”,“type”:“COORD”,“rssi”:0}’
e[32mzigbee2mqtt:info e[39m 2020-07-14 23:26:33: MQTT publish: topic ‘zigbee2mqtt/0x00124b000be9580a’, payload
So anyways not sure why I’m seeing so many of these messages, probably like discovery messages where the coordinator is trying to find the router? Nor sure.
So basically the biggest issue is that I’m able to pair some of my Xiamo sensors but when I take one into my bedroom (opposite side of the house on the second level) and I open the contact sensor, it remains in an open state and I get a message in Zigbee2qtt that the device has left the network.
Anyways I would really appreciate any advice/help or troubleshooting steps that will help me wrap this up.
Thanks!
Evan