zigbee2mqtt install issue
Moderator: leecollings
-
- Posts: 382
- Joined: Sunday 29 November 2015 21:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: UK
- Contact:
zigbee2mqtt install issue
I have installed zigbe2mqtt on a few raspberry pi's with a CC2531 stick correctly flashed etc with no problems. I've just done one for a friend and cannot get it to work correctly, I've followed the instructions to the letter as I've done before, checked the port (ttyACM0) is correct etc and all command line instruction responses come back identical to a working system but when selecting Zigbee2MQTT under the custom tab the screen just says loading all the time and I cannot get the page to load so I can add a device.
I think the domoticz log looks happy and seems to think all is in order.
Anyone have any ideas?
TIA
Dave
I think the domoticz log looks happy and seems to think all is in order.
Anyone have any ideas?
TIA
Dave
- HansOtten
- Posts: 50
- Joined: Saturday 17 April 2021 9:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021-1
- Location: Mierlo
- Contact:
Re: zigbee2mqtt install issue
Clean your web browser cache.
Check settings (mqtt, zigbee2mqtt)
Does zigbee2mqtt work, you see the log of zigbee2mqtt filled?
And better replace the ttyacm0 with the physical name of the serial device, Raspberry OS can make a mess of that if there are more serial devices.
Check settings (mqtt, zigbee2mqtt)
Does zigbee2mqtt work, you see the log of zigbee2mqtt filled?
And better replace the ttyacm0 with the physical name of the serial device, Raspberry OS can make a mess of that if there are more serial devices.
Raspberry Pi 4, SSD, RFlink, P1 Smart Meter. Many Zigbee devices CR2562 USB stick. Bresser via Weather Underground
Switched to Home Assistant!
Switched to Home Assistant!
-
- Posts: 382
- Joined: Sunday 29 November 2015 21:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: UK
- Contact:
Re: zigbee2mqtt install issue
Looks like the zigbee-herdsman service is not started, I don't get an error but it always says starting when you when you send command
systemctl status zigbee2mqtt.service
systemctl status zigbee2mqtt.service
-
- Posts: 382
- Joined: Sunday 29 November 2015 21:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: UK
- Contact:
Re: zigbee2mqtt install issue
I managed to resolve this issue by removing all the zigbee stuff and reinstalling again in exactly the same way, the only thing I can tink of is a missed a step out - ah well !
Anyway I have a question if someone can answer it, because of the above issues I also downloaded and flashed the CC2531 with the latest firmware, after a while the green led on the stick goes off, it still seems to receive data from the devices as domoticz gets updates, the led does come back on if you going into pairing mode again for a new device but then goes off again after. Is this normal for the new firmware, I've done some searching but can't seem to find an answer.
Thanks
Dave
Edit.
Just in case anyone is interested as of zigbee2mqtt v1.191 green led only illuminates when in pairing mode.
Anyway I have a question if someone can answer it, because of the above issues I also downloaded and flashed the CC2531 with the latest firmware, after a while the green led on the stick goes off, it still seems to receive data from the devices as domoticz gets updates, the led does come back on if you going into pairing mode again for a new device but then goes off again after. Is this normal for the new firmware, I've done some searching but can't seem to find an answer.
Thanks
Dave
Edit.
Just in case anyone is interested as of zigbee2mqtt v1.191 green led only illuminates when in pairing mode.
-
- Posts: 345
- Joined: Thursday 01 November 2018 19:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.6
- Location: Portugal
- Contact:
Re: zigbee2mqtt install issue
I also have this issue although I am able to pair devices with zigbee2mqtt directly which get added as devices in Domoticz. It may be because I am still on 4.10xxx due to the Zwave issues with later versions.However I am just unable to manage Zigbee at all. I also tried with node-red admin but despite eventually managing to connect the mqtt broker (mosquitto) to my flows (various versions) the actual MQTT information would never populate the node-red flow UI. I also tried the zigbee2mqtt "front end" which I also couldn't connect to; if I added the required "front end" settings to the configuration.yaml, zigbee2mqtt wouldn't load properly.
It would be nice to get one of the config options working as otherwise I am flying blind.
It would be nice to get one of the config options working as otherwise I am flying blind.
Intel NUC with Ubuntu Server VM (Proxmox),mosquitto(docker),RFXtrx433E,zwavejsUI (docker),Zigbee2mqtt(docker),SMA Hub (docker),Harmony Hub plugin, Kodi plugin,Homebridge(docker)+Google Home,APC UPS,SMA Modbus,Mitsubishi MQTT, Broadlink,Dombus
- heggink
- Posts: 980
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: zigbee2mqtt install issue
If you replace domoticz OZW with zwavejs2mqtt and the python plugin then you can upgrade domoticz at will. Zwavejs2mqtt is muuuuch better anyway.solarboy wrote:I also have this issue although I am able to pair devices with zigbee2mqtt directly which get added as devices in Domoticz. It may be because I am still on 4.10xxx due to the Zwave issues with later versions.However I am just unable to manage Zigbee at all. I also tried with node-red admin but despite eventually managing to connect the mqtt broker (mosquitto) to my flows (various versions) the actual MQTT information would never populate the node-red flow UI. I also tried the zigbee2mqtt "front end" which I also couldn't connect to; if I added the required "front end" settings to the configuration.yaml, zigbee2mqtt wouldn't load properly.
It would be nice to get one of the config options working as otherwise I am flying blind.
Sent from my SM-G980F using Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- Posts: 345
- Joined: Thursday 01 November 2018 19:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.6
- Location: Portugal
- Contact:
Re: zigbee2mqtt install issue
I didn't even know this was possible, looks like I have a lot of reading to do !
Intel NUC with Ubuntu Server VM (Proxmox),mosquitto(docker),RFXtrx433E,zwavejsUI (docker),Zigbee2mqtt(docker),SMA Hub (docker),Harmony Hub plugin, Kodi plugin,Homebridge(docker)+Google Home,APC UPS,SMA Modbus,Mitsubishi MQTT, Broadlink,Dombus
- heggink
- Posts: 980
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: zigbee2mqtt install issue
It wasn't until I was so upset with OZW and started talking to @moroen about the effort involved in creating a python plugin for it. Home assistant already has zwavejs2mqtt as their default so it's stable enough. Moroen did a lot of the heavy lifting and I contributed with the connection management, some strategizing and device additions.
I have been using it for months now. So much better. I can now do stuff that OZW never let me.
The only limitation is the 256 devices in the old python framework but that looks like it has been fixed by @Dnpwwo as well. Just haven't gotten to changing as that is a breaking change. That said, the plugin supports multiple instances with their own device config so you could have switches in one instance and sensors in another, as a workaround for the 256 limit.
Other than that, realise that the plugin implements what a couple of people have in terms of devices so there may be the odd missing device. These can now be added through a config file rather than having to edit python so even that is quite flexible.
Sent from my SM-G980F using Tapatalk
I have been using it for months now. So much better. I can now do stuff that OZW never let me.
The only limitation is the 256 devices in the old python framework but that looks like it has been fixed by @Dnpwwo as well. Just haven't gotten to changing as that is a breaking change. That said, the plugin supports multiple instances with their own device config so you could have switches in one instance and sensors in another, as a workaround for the 256 limit.
Other than that, realise that the plugin implements what a couple of people have in terms of devices so there may be the odd missing device. These can now be added through a config file rather than having to edit python so even that is quite flexible.
Sent from my SM-G980F using Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- Posts: 345
- Joined: Thursday 01 November 2018 19:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.6
- Location: Portugal
- Contact:
Re: zigbee2mqtt install issue
Thanks for that, I have had a quick look, I presume I install and configure zwave2mqtt and then enable the MQTT client gateway in Domoticz "hardware" ? Documentation is a little sparse for how to use with Domoticz.
Intel NUC with Ubuntu Server VM (Proxmox),mosquitto(docker),RFXtrx433E,zwavejsUI (docker),Zigbee2mqtt(docker),SMA Hub (docker),Harmony Hub plugin, Kodi plugin,Homebridge(docker)+Google Home,APC UPS,SMA Modbus,Mitsubishi MQTT, Broadlink,Dombus
- heggink
- Posts: 980
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: zigbee2mqtt install issue
If you follow the instructions on the domoticz python plugin for zwavejs2mqtt then it should work. You don't need to enable mqtt in domoticz as the plugin sets up its own connection to the mqtt broker. Best to run zwavejs2mqtt in a docker container. You can disable ozw, spin up the container, and start the plugin. If then you want to go back to ozw, stop the plugin and container and enable ozw again. I did notice that ozw is not very happy with the switching (it's not happy to begin with and switching does not help).
Feel free to pm me if you need any help.
Sent from my SM-G980F using Tapatalk
Feel free to pm me if you need any help.
Sent from my SM-G980F using Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- Posts: 249
- Joined: Sunday 30 March 2014 15:24
- Target OS: Linux
- Domoticz version: Beta
- Location: Waterland
- Contact:
Re: zigbee2mqtt install issue
Is zwavejs2mqtt already operational or still in "beta"? I don read much about this while there are much problems with OZW (not with meheggink wrote: โWednesday 04 August 2021 8:16If you replace domoticz OZW with zwavejs2mqtt and the python plugin then you can upgrade domoticz at will. Zwavejs2mqtt is muuuuch better anyway.solarboy wrote:I also have this issue although I am able to pair devices with zigbee2mqtt directly which get added as devices in Domoticz. It may be because I am still on 4.10xxx due to the Zwave issues with later versions.However I am just unable to manage Zigbee at all. I also tried with node-red admin but despite eventually managing to connect the mqtt broker (mosquitto) to my flows (various versions) the actual MQTT information would never populate the node-red flow UI. I also tried the zigbee2mqtt "front end" which I also couldn't connect to; if I added the required "front end" settings to the configuration.yaml, zigbee2mqtt wouldn't load properly.
It would be nice to get one of the config options working as otherwise I am flying blind.
Sent from my SM-G980F using Tapatalk

Rpi, RFXcom, klikaan klikuit switch,thermosmart, z-wave, espeasy, smartevse
- heggink
- Posts: 980
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: zigbee2mqtt install issue
It's been fully operational with me and moroen for months now but that doesn't mean there could be issues we've not seen.
What I like about zwavejs2mqtt is that it has a really good user interface and supports stuff that OZW doesn't (like easy dead node deletion).
Sent from my SM-G980F using Tapatalk
What I like about zwavejs2mqtt is that it has a really good user interface and supports stuff that OZW doesn't (like easy dead node deletion).
Sent from my SM-G980F using Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- Posts: 249
- Joined: Sunday 30 March 2014 15:24
- Target OS: Linux
- Domoticz version: Beta
- Location: Waterland
- Contact:
Re: zigbee2mqtt install issue
Is it in the wiki? Perhaps I also want to try it. Wyy is it so less used? Beacause I see a lot of problems with OZWheggink wrote: โFriday 06 August 2021 12:26 It's been fully operational with me and moroen for months now but that doesn't mean there could be issues we've not seen.
What I like about zwavejs2mqtt is that it has a really good user interface and supports stuff that OZW doesn't (like easy dead node deletion).
Sent from my SM-G980F using Tapatalk
Rpi, RFXcom, klikaan klikuit switch,thermosmart, z-wave, espeasy, smartevse
- heggink
- Posts: 980
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: zigbee2mqtt install issue
Not in the wiki just yet because it's pretty new and no time just yet to do that. Good suggestion though.
If more people are interested then maybe others are also willing to help configuring new devices that need support. The base is there and new devices can be added through a config file rather than python programming so much easier and flexible.
Sent from my SM-G980F using Tapatalk
If more people are interested then maybe others are also willing to help configuring new devices that need support. The base is there and new devices can be added through a config file rather than python programming so much easier and flexible.
Sent from my SM-G980F using Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- Posts: 249
- Joined: Sunday 30 March 2014 15:24
- Target OS: Linux
- Domoticz version: Beta
- Location: Waterland
- Contact:
Re: zigbee2mqtt install issue
Well I'm interested and will look into it. Where can I find the plugin?heggink wrote: โFriday 06 August 2021 12:43 Not in the wiki just yet because it's pretty new and no time just yet to do that. Good suggestion though.
If more people are interested then maybe others are also willing to help configuring new devices that need support. The base is there and new devices can be added through a config file rather than python programming so much easier and flexible.
Sent from my SM-G980F using Tapatalk
Rpi, RFXcom, klikaan klikuit switch,thermosmart, z-wave, espeasy, smartevse
- heggink
- Posts: 980
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: zigbee2mqtt install issue
I'll create a separate topic in a bit rather than hijacking zigbee.
Sent from my SM-G980F using Tapatalk
Sent from my SM-G980F using Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- Posts: 249
- Joined: Sunday 30 March 2014 15:24
- Target OS: Linux
- Domoticz version: Beta
- Location: Waterland
- Contact:
Re: zigbee2mqtt install issue
Ok, that's fine to me.
Rpi, RFXcom, klikaan klikuit switch,thermosmart, z-wave, espeasy, smartevse
- heggink
- Posts: 980
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: zigbee2mqtt install issue
Docker in Truenas scale, close to latest beta
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ ๐
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
Who is online
Users browsing this forum: No registered users and 1 guest