Page 1 of 1

Best Zigbee USB ?

Posted: Sunday 05 January 2025 19:11
by Droll
Best ready to use Zigbee USB stick to use in Domoticz ?

Which one ?
Where to bye ?

Have been trying to get something to work for mounts now, whant to elimenate something..

Arne Kjetil

Re: Best Zigbee USB ?

Posted: Sunday 05 January 2025 20:14
by waltervl
Use an usb stick that works with zigbee2mqtt or Zigbee4Domoticz

https://www.zigbee2mqtt.io/guide/adapters/

https://zigbeefordomoticz.github.io/wik ... ators.html

Re: Best Zigbee USB ?

Posted: Monday 06 January 2025 19:51
by Droll
Got a Sonoff Zigbee 3.0 USB Dongle Plus, and I can't get to work, that's why I want to get a USB that's ready to use, so I am 100% shure it's working.
No flashing, no update,ready to use.

I got all kind of errors, but it seams most of them can be traced back to the stick..
like this one
Spoiler: show
2025-01-06 16:36:15.890 Status: Zigbee: Stop directive received.
2025-01-06 16:36:15.890 Zigbee: MqttClient::onDisonnect
2025-01-06 16:36:15.890 Error: Zigbee: Disconnected from MQTT Server: 192.168.10.172:1884
2025-01-06 16:36:15.890 Zigbee: MqttClient::close
2025-01-06 16:36:15.890 Zigbee: Disconnected from MQTT server
2025-01-06 16:36:15.890 Zigbee: onStop called
2025-01-06 16:36:15.890 Zigbee: Uninstalling plugin custom page...
2025-01-06 16:36:15.890 Zigbee: Removing files from /home/domoticz/domoticz/www/templates
2025-01-06 16:36:15.892 Zigbee: Uninstalling plugin custom page completed.
2025-01-06 16:36:15.902 Status: Zigbee: Exiting work loop.
2025-01-06 16:36:15.990 Status: Zigbee: Stopping threads.
2025-01-06 16:36:15.990 Status: Zigbee: Stopped.
2025-01-06 16:36:15.990 Zigbee: Worker thread started.
2025-01-06 16:36:15.990 Status: Zigbee: Started.
2025-01-06 16:36:15.990 Status: Zigbee: Entering work loop.
2025-01-06 16:36:16.143 Status: Zigbee: Initialized version 3.2.0-beta
2025-01-06 16:36:16.144 Zigbee: Debug logging mask set to: PYTHON
2025-01-06 16:36:16.144 Zigbee: Installing plugin custom page...
2025-01-06 16:36:16.144 Zigbee: Copying files from /home/domoticz/domoticz/plugins/zigbee2mqtt/frontend to /home/domoticz/domoticz/www/templates
2025-01-06 16:36:16.148 Zigbee: Installing plugin custom page completed.
2025-01-06 16:36:16.148 Zigbee: MqttClient::__init__
2025-01-06 16:36:16.148 Zigbee: MqttClient::open
2025-01-06 16:36:16.198 Zigbee: onConnect called
2025-01-06 16:36:16.198 Zigbee: Connected to MQTT Server: 192.168.10.172:1884
2025-01-06 16:36:16.199 Zigbee: MQTT CLIENT ID: 'Domoticz_1736177776_1898'
2025-01-06 16:36:16.249 Zigbee: MqttClient::subscribe
2025-01-06 16:36:16.299 Zigbee: Subscribed to "zigbee2mqtt/#" topic
But that's it, it seams like it goes for a short while,then nothing, can't access anything, no frontend anywhere.

This is the Zigbee2MQTT pluggin..

The Zigbee2MQTT standalone is even worse, but from what I understand is USB related..

So is there anywhere I can purcase a USB stick thats work right out uf the box?

The MQTT part is working just fine with Z-wave and a Han port reader (Amsreader.no) /Pow-U and some ESP3266 projekt..

As for the USB, it can be seen at /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220810163949-if00

Just want start with something I know is 100%..

Arne Kjetil

Re: Best Zigbee USB ?

Posted: Monday 06 January 2025 23:44
by waltervl
Dont use the plugin but use the mqtt ad hardware gateway.
Also the errors are not related to the usb stick but to mqtt. Check the log of zigbee2mqtt if it connects correctly
See also the wiki for instructions https://wiki.domoticz.com/Zigbee2MQTT

Re: Best Zigbee USB ?

Posted: Tuesday 07 January 2025 15:16
by Droll
Half of the log is me turning off/on the plugin, just to trigger some sort of responce...

Have tried several ways to intall Sigbee, this was the best responce.

For the USB device, I do suspect it's not 100%, thats why I want a new one, preferible ready to use right out of the box.
No flashing, just "plug and pray.." if possible ?

As for the wiki, I need something that's straigt forward, not if, what, can do...
This Domoticz wiki is not the best.....

Arne Kjetil

Re: Best Zigbee USB ?

Posted: Tuesday 07 January 2025 16:16
by waltervl
First make sure you get Zigbee2MQTT and Mosquitto running.
Then you can go on with making the interface with Domoticz.
The wiki is straight forward, you only have to make a choise to use the Python plugin or the MQTT AD Hardware gateway (build in).
I just copied the Docker and MQTT Mosquitto install part from the Zwave-JS-UI wiki...

Re: Best Zigbee USB ?

Posted: Sunday 12 January 2025 11:30
by Droll
First
  • The ubuntu install
    The Mosquitto install
    The Domoticz Install
    The Z-wave install, Z-Wave JS
    A couple of other Mqtt sensors
    Was and is working
The USB stick was unreadable, managed to get it back to life, reflashes it with a known good image, not the right one but it made the USB stick readable/visible, then flashed the stick with a firmware found on the zigbee2mqtt site...
https://www.yamllint.com/ software
online //darkxst.github.io/silabs-firmware-builder/
I do have a new stick on the way to me in the mail...


From there it was some life...
Verified all the versions of supporting software, again...
Searched online for some clues further, like https://www.yamllint.com/ it told me if the .YAML file was valid, had the right format, I knew nothing about formatting and option in that type of files.
Find the stick, /dev/serial/by-id
Then checking the rights.. test -w /* && echo success || echo failure, of coarse a couple of changes..
And input and check the .YAML file again

Then finaly some life, hope it will stay like that for some time...

Image


I really wish it was a more clear straight forward user guide, and not filled with options.
It works for those who know this, and work with this every day, as for me, I use Microsoft at work...
And secondly, this is on me...I have been out of sociality for some time....from 2022 2 mounts in hospital, then sick leave for over a year, and the gradually back to life/work..

Installed Domoticz on a Linux server back in 2018 ?, it has been working fine unntil the HD died... new install now..24.04 noble

Arne Kjetil