error with Domoticz "Allow new zigbee devices to join "
Moderator: leecollings
-
- Posts: 14
- Joined: Monday 15 April 2024 9:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
error with Domoticz "Allow new zigbee devices to join "
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.
- waltervl
- Posts: 5852
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: error with Domoticz "Allow new zigbee devices to join "
Ah, you are using the old zigbee2mqtt plugin...
Better use the MQTT AD hardware gateway to connect with zigbee2mqtt.
See wiki, alternative 1 https://wiki.domoticz.com/Zigbee2MQTT
Better use the MQTT AD hardware gateway to connect with zigbee2mqtt.
See wiki, alternative 1 https://wiki.domoticz.com/Zigbee2MQTT
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 14
- Joined: Monday 15 April 2024 9:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: error with Domoticz "Allow new zigbee devices to join "
I followed the instructions of https://wiki.domoticz.com/Zigbee2MQTT But not in Docker.
- waltervl
- Posts: 5852
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: error with Domoticz "Allow new zigbee devices to join "
You followed alternative 2 which is using a plugin that has not been maintained for 2 years now. Better remove the plugin and use the MQTT AD (AutoDiscover) method.PaulAmsterdam wrote: ↑Saturday 08 February 2025 14:35 I followed the instructions of https://wiki.domoticz.com/Zigbee2MQTT But not in Docker.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 358
- Joined: Saturday 27 February 2016 0:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Contact:
Re: error with Domoticz "Allow new zigbee devices to join "
You may also use the same button in zigbee2mqtt (classical) UI, not related to Domoticz. It works here.
-
- Posts: 14
- Joined: Monday 15 April 2024 9:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: error with Domoticz "Allow new zigbee devices to join "
That’s right, that works for me too, but wants it to work in Domoticz as well.
On another Raspberry, which has been running for a while, and everything installed in the same way I do now, everything works within Domoticz.
On another Raspberry, which has been running for a while, and everything installed in the same way I do now, everything works within Domoticz.
-
- Posts: 358
- Joined: Saturday 27 February 2016 0:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Contact:
Re: error with Domoticz "Allow new zigbee devices to join "
What versions of Domoticz and Z2M plug-in do you have?
-
- Posts: 14
- Joined: Monday 15 April 2024 9:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: error with Domoticz "Allow new zigbee devices to join "
Ik maak gebruik van een
Raspberry PI4,
OS: Bookworm
Domoticz versie: 2024.7,
Zigbeemqtt: 3.2.0-beta
Mosquitto: 2.0.11
Raspberry PI4,
OS: Bookworm
Domoticz versie: 2024.7,
Zigbeemqtt: 3.2.0-beta
Mosquitto: 2.0.11
-
- Posts: 358
- Joined: Saturday 27 February 2016 0:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Contact:
Re: error with Domoticz "Allow new zigbee devices to join "
Thanks!
What's the version of zigbee2mqtt Domoticz plug-in did you install (go to Domoticz "Configuration" > "Hardware", click on you zigbee2mqtt plugin, and read version in details under devices list) ?
What's the version of zigbee2mqtt Domoticz plug-in did you install (go to Domoticz "Configuration" > "Hardware", click on you zigbee2mqtt plugin, and read version in details under devices list) ?
-
- Posts: 14
- Joined: Monday 15 April 2024 9:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: error with Domoticz "Allow new zigbee devices to join "
Plugin version: Zigbee2MQTT Plugin (v. 3.2.0-beta)
-
- Posts: 358
- Joined: Saturday 27 February 2016 0:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Contact:
Re: error with Domoticz "Allow new zigbee devices to join "
I just checked with same OS/Z2M/plugin version, and I don't saw this button.
Are you sure this is a zigbee2mqtt plug-in device?
To check, have a look to "setup" / "devices" tab, search for the button (enter part of its name in "search" at top/right of window) and look to the "hardware" column. Check that this is Z2M plug-in name, and not "MQTT autodiscovery" one.
Are you sure this is a zigbee2mqtt plug-in device?
To check, have a look to "setup" / "devices" tab, search for the button (enter part of its name in "search" at top/right of window) and look to the "hardware" column. Check that this is Z2M plug-in name, and not "MQTT autodiscovery" one.
-
- Posts: 14
- Joined: Monday 15 April 2024 9:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: error with Domoticz "Allow new zigbee devices to join "
Wederom bedankt voor je meedenken.
Ik heb alles opnieuw geïnstalleerd; Mosquitto, Zigbee2Mqtt. Beide niet in docker. Ook Domoticz opnieuw geïnstalleerd.
Nu niet de de plugin gebruikt maar nu "MQTT Auto Discovery Client Gateway with LAN interface" en de beschrijving in https://wiki.domoticz.com/Zigbee2MQTT gebruikt.
Alles, Zigbee, werkt nu zoals het zou moeten en kan nu weer verder.
Bedankt voor het meedenken!
Ik heb alles opnieuw geïnstalleerd; Mosquitto, Zigbee2Mqtt. Beide niet in docker. Ook Domoticz opnieuw geïnstalleerd.
Nu niet de de plugin gebruikt maar nu "MQTT Auto Discovery Client Gateway with LAN interface" en de beschrijving in https://wiki.domoticz.com/Zigbee2MQTT gebruikt.
Alles, Zigbee, werkt nu zoals het zou moeten en kan nu weer verder.
Bedankt voor het meedenken!
- waltervl
- Posts: 5852
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: error with Domoticz "Allow new zigbee devices to join "
Thanks for explaining in Dutch you have moved from zigbee2mqtt plugin to MQTT AD hardware gateway 

Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 14
- Joined: Monday 15 April 2024 9:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: error with Domoticz "Allow new zigbee devices to join "
Sorry, forgot to translate the text.
Who is online
Users browsing this forum: No registered users and 1 guest