Zigbee4Domoticz plugin doesn't start

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
vanhema
Posts: 1
Joined: Tuesday 02 September 2025 13:47
Target OS: Linux
Domoticz version:
Contact:

Zigbee4Domoticz plugin doesn't start

Post by vanhema »

Hi,
I've installed domoticz (2025.1) on a fedora box, with a Z-wave hub and a SONOFF Zigbee 3.0 USB Dongle Plus | ZBDongle-E
The Z-ware dongle is running fine, but I cant get running the Zigbee hub due to the Z4D plugin not starting

I only have the Domoticz logs:
2025-09-02 15:23:25.790 Active notification Subsystems: (0/13)
2025-09-02 15:23:25.795 Starting shared server on: :::6144
2025-09-02 15:23:27.804 Zigbee-Hub-Sonoff: Worker thread started.
2025-09-02 15:23:29.493 z-wave01: Value_Added: Node: 2 (0x02), CommandClass: SWITCH BINARY, Label: Switch, Instance: 1, Index: 0
2025-09-02 15:23:29.493 z-wave01: Value_Added: Node: 2 (0x02), CommandClass: SENSOR MULTILEVEL, Label: Unknown, Instance: 1, Index: 0
2025-09-02 15:23:29.493 z-wave01: Value_Added: Node: 2 (0x02), CommandClass: SENSOR MULTILEVEL, Label: Power, Instance: 1, Index: 4
2025-09-02 15:23:29.493 z-wave01: Value_Added: Node: 2 (0x02), CommandClass: SENSOR MULTILEVEL, Label: Velocity, Instance: 1, Index: 6
2025-09-02 15:23:29.493 z-wave01: Value_Added: Node: 2 (0x02), CommandClass: METER, Label: Electric - kWh, Instance: 1, Index: 0
2025-09-02 15:23:29.493 z-wave01: Value_Added: Node: 2 (0x02), CommandClass: METER, Label: Electric - W, Instance: 1, Index: 2
2025-09-02 15:23:29.493 z-wave01: Value_Added: Node: 2 (0x02), CommandClass: METER, Label: Exporting, Instance: 1, Index: 256
2025-09-02 15:23:29.493 z-wave01: Value_Added: Node: 2 (0x02), CommandClass: ALARM, Label: Power Management, Instance: 1, Index: 8
2025-09-02 15:23:29.494 z-wave01: Value_Added: Node: 2 (0x02), CommandClass: ALARM, Label: Previous Event Cleared, Instance: 1, Index: 256
2025-09-02 15:23:29.814 Motherboard Dobermann: Temp (Internal MB Temperature)
2025-09-02 15:23:29.883 Zigbee-Hub-Sonoff: PYTHONPATH is set to: /usr/share/domoticz/plugins/Domoticz-Zigbee:/usr/local/lib/python3.13

and my /usr/share/domoticz/plugins/Domoticz-Zigbee/Logs is empty

my python version is : Python Version: 3.13.5

Zigbee plugin config:
Model : Silicon labs
Serial Port : /dev/ttyUSB0 (checked with dmesg)
plugin webUI port : 9440 (no port listening - checked with netstat -an | grep 9440)

any clue?
Thank you in advance
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Zigbee4Domoticz plugin doesn't start

Post by waltervl »

There should be more in the log about Zigbee-Hub-Sonoff.
You can filter the log by typing a filter term like Zigbee-Hub-Sonoff in the top right corner.
First click on the update button of the Z4D plugin config page in Domoticz to trigger a restart of the plugin.

And it is also better to use the serial/by-id usb path instead of ttyUSB0 so you are sure you have the correct device.
Use the below command to get the correct ID

Code: Select all

ls /dev/serial/by-id
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
vanhema
Posts: 1
Joined: Tuesday 02 September 2025 13:47
Target OS: Linux
Domoticz version:
Contact:

Re: Zigbee4Domoticz plugin doesn't start

Post by vanhema »

Hello Waltervl,

while setting the domoticz loglevel to 2, I just noticed it loaded only 1 plugin which was the I2C sensor of my motherboard, and no other plugin, and then I noticed that my plugin dir was not with the uid and gid of domoticz...
now I can see the plugin started in the logs:

2025-09-03 10:41:31.397 Status: Zigbee-Hub-Sonoff: Initialized version 7.1, author 'pipiche38'
2025-09-03 10:41:31.398 Status: Zigbee-Hub-Sonoff: Welcome to Zigbee for Domoticz (Z4D) plugin. (c)pipiche38 - 2018 - 2025
2025-09-03 10:41:31.398 Status: Zigbee-Hub-Sonoff: Z4D requires python3.9 or above and you are running 3.13
2025-09-03 10:41:31.398 Status: Zigbee-Hub-Sonoff: Z4D is loading configuration settings
2025-09-03 10:41:31.401 Status: Zigbee-Hub-Sonoff: filename set to /var/lib/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf.txt
2025-09-03 10:41:31.401 Status: Zigbee-Hub-Sonoff: pluginHome set to /var/lib/domoticz/plugins/Domoticz-Zigbee
2025-09-03 10:41:31.401 Status: Zigbee-Hub-Sonoff: homedirectory set to /var/lib/domoticz/plugins/Domoticz-Zigbee
2025-09-03 10:41:31.401 Status: Zigbee-Hub-Sonoff: pluginData set to /var/lib/domoticz/plugins/Domoticz-Zigbee/Data
2025-09-03 10:41:31.401 Status: Zigbee-Hub-Sonoff: pluginConfig set to /var/lib/domoticz/plugins/Domoticz-Zigbee/Conf
2025-09-03 10:41:31.401 Status: Zigbee-Hub-Sonoff: pluginOTAFirmware set to /var/lib/domoticz/plugins/Domoticz-Zigbee/OTAFirmware
2025-09-03 10:41:31.401 Status: Zigbee-Hub-Sonoff: pluginReports set to /var/lib/domoticz/plugins/Domoticz-Zigbee/Reports
2025-09-03 10:41:31.401 Status: Zigbee-Hub-Sonoff: pluginWWW set to /var/lib/domoticz/plugins/Domoticz-Zigbee/www
2025-09-03 10:41:31.401 Status: Zigbee-Hub-Sonoff: pluginLogs set to /var/lib/domoticz/plugins/Domoticz-Zigbee/Logs
2025-09-03 10:41:31.401 Status: Zigbee-Hub-Sonoff: SSLCertificate set to /var/lib/domoticz/plugins/Domoticz-Zigbee/certs/server.crt
2025-09-03 10:41:31.401 Status: Zigbee-Hub-Sonoff: SSLPrivateKey set to /var/lib/domoticz/plugins/Domoticz-Zigbee/certs/server.key
2025-09-03 10:41:31.401 Status: Zigbee-Hub-Sonoff: expJsonDatabase set to 0
...

so prb solved,
thanks
Last edited by vanhema on Wednesday 03 September 2025 9:30, edited 1 time in total.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest