No Zigbee2mqtt on the Hardware list
Moderator: leecollings
-
- Posts: 20
- Joined: Thursday 06 August 2020 14:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Prague
- Contact:
No Zigbee2mqtt on the Hardware list
Hi everybody,
I have Domoticz installed on a RPi 3B+ and for some reason, there is no "Zigbee2mqtt" option on the Setup –––> Hardware list
So, some help would be much appreciated
Thanks!
I have Domoticz installed on a RPi 3B+ and for some reason, there is no "Zigbee2mqtt" option on the Setup –––> Hardware list
So, some help would be much appreciated
Thanks!
- waltervl
- Posts: 5846
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: No Zigbee2mqtt on the Hardware list
Zigbee2mqtt needs a Domoticz plugin to be installed. And also mqtt and Zigbee2mqtt itself of course. https://github.com/stas-demydiuk/domoti ... qtt-plugin
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
- felix63
- Posts: 244
- Joined: Monday 07 December 2015 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Gouda
- Contact:
Re: No Zigbee2mqtt on the Hardware list
zigbee2mqtt is a plugin that needs to be added. It is not build in (unfortunately). Best place to start is by checking the Wiki: https://www.domoticz.com/wiki/Zigbee2MQTT
-
- Posts: 20
- Joined: Thursday 06 August 2020 14:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Prague
- Contact:
Re: No Zigbee2mqtt on the Hardware list
Thanks for your quick reply!
I've done all the steps, mqtt, zigbee2mqtt. But... after installing also Hoobs, I am getting error message when I am trying to start zigbee2mqtt
Do you think this might be the reason I don't see it in the Hardware?
Thanks
I've done all the steps, mqtt, zigbee2mqtt. But... after installing also Hoobs, I am getting error message when I am trying to start zigbee2mqtt
Code: Select all
Zigbee2MQTT:info 2021-03-13 11:42:37: Starting zigbee-herdsman (0.13.71)
Zigbee2MQTT:error 2021-03-13 11:42:37: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2021-03-13 11:42:37: Failed to start zigbee
Zigbee2MQTT:error 2021-03-13 11:42:37: Exiting...
Zigbee2MQTT:error 2021-03-13 11:42:37: Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'
Thanks
- waltervl
- Posts: 5846
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: No Zigbee2mqtt on the Hardware list
Is your Zigbee USB still on the same USB port (from the OS point of view)? See https://www.domoticz.com/wiki/PersistentUSBDevices
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
- waltervl
- Posts: 5846
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: No Zigbee2mqtt on the Hardware list
And for the zigbee2mqtt to become visible the python plugin just needs to be seen.
For this Python must be correctly activated on your system: https://www.domoticz.com/wiki/Using_Python_plugins
For this Python must be correctly activated on your system: https://www.domoticz.com/wiki/Using_Python_plugins
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: 20
- Joined: Thursday 06 August 2020 14:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Prague
- Contact:
Re: No Zigbee2mqtt on the Hardware list
Yes, seems it is still on the same portwaltervl wrote: ↑Saturday 13 March 2021 13:28 Is your Zigbee USB still on the same USB port (from the OS point of view)? See https://www.domoticz.com/wiki/PersistentUSBDevices
Code: Select all
pi@raspberrypi:~ $ ls -l /dev/ttyACM0
crw-rw---- 1 root dialout 166, 0 Mar 13 12:45 /dev/ttyACM0
-
- Posts: 20
- Joined: Thursday 06 August 2020 14:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Prague
- Contact:
Re: No Zigbee2mqtt on the Hardware list
Also I think it's okay:waltervl wrote: ↑Saturday 13 March 2021 13:39 And for the zigbee2mqtt to become visible the python plugin just needs to be seen.
For this Python must be correctly activated on your system: https://www.domoticz.com/wiki/Using_Python_plugins
Code: Select all
pi@raspberrypi:~ $ python3 -V
Python 3.7.3
- waltervl
- Posts: 5846
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: No Zigbee2mqtt on the Hardware list
If you restart Domoticz (or your pi) it should all be visible then. Check the log file of Domoticz for errors or Python messages.
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: 20
- Joined: Thursday 06 August 2020 14:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Prague
- Contact:
Re: No Zigbee2mqtt on the Hardware list
Thanks I'll try it.
meanwhile, I'm posting the whole code I get when I start zignee2mqtt as there are some more error messages and it might make more sense.
Really appreciate your and anyone's time. I know it's hard as I don't have knowledge in programming, but if I manage to make the whole thing running I will feel very proud.

Code: Select all
pi@raspberrypi:/opt/zigbee2mqtt $ npm start
> [email protected] start /opt/zigbee2mqtt
> node index.js
Zigbee2MQTT:info 2021-03-13 12:54:14: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2021-03-13.12-54-13' filename: log.txt
Zigbee2MQTT:info 2021-03-13 12:54:15: Starting Zigbee2MQTT version 1.18.1 (commit #a43d1f3)
Zigbee2MQTT:info 2021-03-13 12:54:15: Starting zigbee-herdsman (0.13.71)
Zigbee2MQTT:error 2021-03-13 12:54:15: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2021-03-13 12:54:15: Failed to start zigbee
Zigbee2MQTT:error 2021-03-13 12:54:15: Exiting...
Zigbee2MQTT:error 2021-03-13 12:54:15: Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'
at Znp.<anonymous> (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:136:32)
at Generator.next (<anonymous>)
at /opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:27:71
at new Promise (<anonymous>)
at __awaiter (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:23:12)
at SerialPort.<anonymous> (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:134:49)
at SerialPort._error (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14)
at /opt/zigbee2mqtt/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2021-03-13T12_54_15_773Z-debug.log
-
- Posts: 20
- Joined: Thursday 06 August 2020 14:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Prague
- Contact:
Re: No Zigbee2mqtt on the Hardware list
and this is the Domoticz log after the reboot
2021-03-13 13:46:53.343 Status: Domoticz V2020.2 (c)2012-2020 GizMoCuz
2021-03-13 13:46:53.344 Status: Build Hash: b63341bc0, Date: 2020-04-26 12:47:55
2021-03-13 13:46:53.344 Status: Startup Path: /home/pi/domoticz/
2021-03-13 13:46:54.582 Status: PluginSystem: Started, Python version '3.7.3'.
2021-03-13 13:46:54.635 Status: WebServer(HTTP) started on address: :: with port 8080
2021-03-13 13:46:54.660 Status: WebServer(SSL) started on address: :: with port 443
2021-03-13 13:46:54.664 Status: RxQueue: queue worker started...
2021-03-13 13:46:54.663 Status: TCPServer: shared server started...
2021-03-13 13:46:56.664 Status: NotificationSystem: thread started...
2021-03-13 13:46:56.665 Status: EventSystem: reset all events...
2021-03-13 13:46:56.677 Status: EventSystem: reset all device statuses...
2021-03-13 13:46:56.815 Status: Python EventSystem: Initalizing event module.
2021-03-13 13:46:56.815 Status: EventSystem: Started
2021-03-13 13:46:56.815 Status: EventSystem: Queue thread started...
2021-03-13 13:46:57.159 Status: PluginSystem: Entering work loop.
2021-03-13 13:47:44.254 Status: Incoming connection from: 192.168.0.132
- waltervl
- Posts: 5846
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: No Zigbee2mqtt on the Hardware list
If I google your zigbee2mqtt error I am linked to this : https://www.zigbee2mqtt.io/information/ ... o-the-port
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: 20
- Joined: Thursday 06 August 2020 14:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Prague
- Contact:
Re: No Zigbee2mqtt on the Hardware list
Hmm, this is what I am getting:waltervl wrote: ↑Saturday 13 March 2021 17:03 If I google your zigbee2mqtt error I am linked to this : https://www.zigbee2mqtt.io/information/ ... o-the-port
Code: Select all
pi@raspberrypi:~ $ ls -l /proc/[0-9]/fd/ |grep /dev/ttyACM0
ls: cannot open directory '/proc/1/fd/': Permission denied
ls: cannot open directory '/proc/2/fd/': Permission denied
ls: cannot open directory '/proc/3/fd/': Permission denied
ls: cannot open directory '/proc/4/fd/': Permission denied
ls: cannot open directory '/proc/7/fd/': Permission denied
ls: cannot open directory '/proc/8/fd/': Permission denied
ls: cannot open directory '/proc/9/fd/': Permission denied
Code: Select all
homeassistant: false
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: 'mqtt://localhost:1883'
serial:
port: /dev/ttyACM0
devices:
'0x54ef4410000182bf':
friendly_name: '0x54ef4410000182bf'
Additionally, I am getting this error, might be connected? (Error: Address already in use)
Code: Select all
pi@raspberrypi:~ $ mosquitto -v
1615752466: mosquitto version 1.5.7 starting
1615752466: Using default config.
1615752466: Opening ipv4 listen socket on port 1883.
1615752466: Error: Address already in use
Sorry, I know I'm a pain in the butt...
Re: No Zigbee2mqtt on the Hardware list
What was the output of:
Code: Select all
test -w /dev/ttyACM0 && echo success || echo failure
-
- Posts: 744
- Joined: Saturday 30 May 2015 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: No Zigbee2mqtt on the Hardware list
The mosquitto error is normal, you try to start a 2nd instance of it.
I have a similar output when I run the mosquitto -v command
You better check with: sudo service mosquito status
I saw that you van replace the zigbee stick portnumber by null for auto detect. What kind of usb device so you use and had it worked before?
I have a similar output when I run the mosquitto -v command
You better check with: sudo service mosquito status
I saw that you van replace the zigbee stick portnumber by null for auto detect. What kind of usb device so you use and had it worked before?
-
- Posts: 20
- Joined: Thursday 06 August 2020 14:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Prague
- Contact:
Re: No Zigbee2mqtt on the Hardware list
Hi, thanks for your message.EddyG wrote: ↑Sunday 14 March 2021 21:56 What was the output of:Code: Select all
test -w /dev/ttyACM0 && echo success || echo failure
Unfortunately, I get: "success"

-
- Posts: 20
- Joined: Thursday 06 August 2020 14:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Prague
- Contact:
Re: No Zigbee2mqtt on the Hardware list
Hello and thanks for writing.jake wrote: ↑Sunday 14 March 2021 21:59 The mosquitto error is normal, you try to start a 2nd instance of it.
I have a similar output when I run the mosquitto -v command
You better check with: sudo service mosquito status
I saw that you van replace the zigbee stick portnumber by null for auto detect. What kind of usb device so you use and had it worked before?
I get:
Code: Select all
pi@raspberrypi:~ $ sudo systemctl status mosquitto.service
● mosquitto.service - Mosquitto MQTT v3.1/v3.1.1 Broker
Loaded: loaded (/lib/systemd/system/mosquitto.service; enabled; vendor preset
Active: active (running) since Sun 2021-03-14 20:06:28 GMT; 24h ago
Docs: man:mosquitto.conf(5)
man:mosquitto(8)
Main PID: 438 (mosquitto)
Tasks: 1 (limit: 2062)
CGroup: /system.slice/mosquitto.service
└─438 /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
Mar 14 20:06:27 raspberrypi systemd[1]: Starting Mosquitto MQTT v3.1/v3.1.1 Brok
Mar 14 20:06:28 raspberrypi systemd[1]: Started Mosquitto MQTT v3.1/v3.1.1 Broke
lines 1-12/12 (END)
-
- Posts: 20
- Joined: Thursday 06 August 2020 14:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Prague
- Contact:
Re: No Zigbee2mqtt on the Hardware list
Hi, thanks for writing!
after restarting Domoticz, this is the log:
2021-03-15 20:38:34.412 Active notification Subsystems: fcm, http (2/13)
2021-03-15 20:38:34.421 Starting shared server on: :::6144
2021-03-15 20:38:34.281 Status: Domoticz V2020.2 (c)2012-2020 GizMoCuz
2021-03-15 20:38:34.283 Status: Build Hash: b63341bc0, Date: 2020-04-26 12:47:55
2021-03-15 20:38:34.284 Status: Startup Path: /home/pi/domoticz/
2021-03-15 20:38:34.406 Status: PluginSystem: Started, Python version '3.7.3'.
2021-03-15 20:38:34.413 Status: WebServer(HTTP) started on address: :: with port 8080
2021-03-15 20:38:34.418 Status: WebServer(SSL) started on address: :: with port 443
2021-03-15 20:38:34.421 Status: RxQueue: queue worker started...
2021-03-15 20:38:34.421 Status: TCPServer: shared server started...
2021-03-15 20:38:36.422 Status: NotificationSystem: thread started...
2021-03-15 20:38:36.423 Status: EventSystem: reset all events...
2021-03-15 20:38:36.423 Status: EventSystem: reset all device statuses...
2021-03-15 20:38:36.546 Status: Python EventSystem: Initalizing event module.
2021-03-15 20:38:36.547 Status: EventSystem: Started
2021-03-15 20:38:36.547 Status: EventSystem: Queue thread started...
2021-03-15 20:38:36.810 Status: PluginSystem: Entering work loop.
- jvdz
- Posts: 2328
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: No Zigbee2mqtt on the Hardware list
I see you are checking domoticz stuff now, but is zigbee2mqtt working at all now? Your earlier post suggested it is not.
Zigbee2mqtt is something totally standalone, so will have to work first before looking at the integration with domoticz.
Jos
Zigbee2mqtt is something totally standalone, so will have to work first before looking at the integration with domoticz.
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Re: No Zigbee2mqtt on the Hardware list
Did you follow all these steps? https://www.zigbee2mqtt.io/getting_star ... 2mqtt.html
Who is online
Users browsing this forum: No registered users and 1 guest