error with Domoticz "Allow new zigbee devices to join "
Posted: Saturday 08 February 2025 13:05
Unfortunately I am stuck with solving the problem with: "Allow new zigbee devices to join"
By using the Zigbee frontend I was able to add a device. I also see it in domoticz Zigbee2mqtt. But when I check the box for "Allow new zigbee devices to join" in domoticz I get this error message in the log.
----------------------------------------------------------------------------------
2025-02-08 12:51:52.395 Error: zigbee2: Call to function 'onMessage' failed, exception details:
2025-02-08 12:51:52.450 Error: zigbee2: Traceback (most recent call last):
2025-02-08 12:51:52.450 Error: zigbee2: File "/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py", line 299, in onMessage
2025-02-08 12:51:52.450 Error: zigbee2: _plugin.onMessage(Connection, Data)
2025-02-08 12:51:52.450 Error: zigbee2: File "/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py", line 137, in onMessage
2025-02-08 12:51:52.450 Error: zigbee2: self.mqttClient.onMessage(Connection, Data)
2025-02-08 12:51:52.450 Error: zigbee2: File "/home/pi/domoticz/plugins/zigbee2mqtt/mqtt.py", line 167, in onMessage
2025-02-08 12:51:52.450 Error: zigbee2: self.on_mqtt_message_cb(topic, message)
2025-02-08 12:51:52.450 Error: zigbee2: File "/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py", line 155, in onMQTTPublish
2025-02-08 12:51:52.450 Error: zigbee2: self.api.handle_mqtt_message(topic, message)
2025-02-08 12:51:52.450 Error: zigbee2: File "/home/pi/domoticz/plugins/zigbee2mqtt/api/api.py", line 36, in handle_mqtt_message
2025-02-08 12:51:52.450 Error: zigbee2: command.handle_mqtt_message(topic, message)
2025-02-08 12:51:52.450 Error: zigbee2: File "/home/pi/domoticz/plugins/zigbee2mqtt/api/bridge.py", line 18, in handle_mqtt_message
2025-02-08 12:51:52.450 Error: zigbee2: self.send_response(message['data']['value'])
2025-02-08 12:51:52.450 Error: zigbee2: ~~~~~~~~~~~~~~~^^^^^^^^^
2025-02-08 12:51:52.450 Error: zigbee2: KeyError: 'value'
----------------------------------------------------------------------------------------
Pairing zigbee in Domoticz doesn't work either.
I reinstalled everything and is uptodate..
Does anyone know what the solution is for this problem or what I'm doing wrong?
I'm using a Raspberry PI5.
By using the Zigbee frontend I was able to add a device. I also see it in domoticz Zigbee2mqtt. But when I check the box for "Allow new zigbee devices to join" in domoticz I get this error message in the log.
----------------------------------------------------------------------------------
2025-02-08 12:51:52.395 Error: zigbee2: Call to function 'onMessage' failed, exception details:
2025-02-08 12:51:52.450 Error: zigbee2: Traceback (most recent call last):
2025-02-08 12:51:52.450 Error: zigbee2: File "/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py", line 299, in onMessage
2025-02-08 12:51:52.450 Error: zigbee2: _plugin.onMessage(Connection, Data)
2025-02-08 12:51:52.450 Error: zigbee2: File "/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py", line 137, in onMessage
2025-02-08 12:51:52.450 Error: zigbee2: self.mqttClient.onMessage(Connection, Data)
2025-02-08 12:51:52.450 Error: zigbee2: File "/home/pi/domoticz/plugins/zigbee2mqtt/mqtt.py", line 167, in onMessage
2025-02-08 12:51:52.450 Error: zigbee2: self.on_mqtt_message_cb(topic, message)
2025-02-08 12:51:52.450 Error: zigbee2: File "/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py", line 155, in onMQTTPublish
2025-02-08 12:51:52.450 Error: zigbee2: self.api.handle_mqtt_message(topic, message)
2025-02-08 12:51:52.450 Error: zigbee2: File "/home/pi/domoticz/plugins/zigbee2mqtt/api/api.py", line 36, in handle_mqtt_message
2025-02-08 12:51:52.450 Error: zigbee2: command.handle_mqtt_message(topic, message)
2025-02-08 12:51:52.450 Error: zigbee2: File "/home/pi/domoticz/plugins/zigbee2mqtt/api/bridge.py", line 18, in handle_mqtt_message
2025-02-08 12:51:52.450 Error: zigbee2: self.send_response(message['data']['value'])
2025-02-08 12:51:52.450 Error: zigbee2: ~~~~~~~~~~~~~~~^^^^^^^^^
2025-02-08 12:51:52.450 Error: zigbee2: KeyError: 'value'
----------------------------------------------------------------------------------------
Pairing zigbee in Domoticz doesn't work either.
I reinstalled everything and is uptodate..
Does anyone know what the solution is for this problem or what I'm doing wrong?
I'm using a Raspberry PI5.