Zigate and Sonoff 3.0 Stick

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

Moderator: leecollings

Post Reply
Jemand
Posts: 20
Joined: Saturday 11 May 2019 12:17
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Zigate and Sonoff 3.0 Stick

Post by Jemand »

I just installed a clean vm with domoticz 2022.1 and zigate. The Sonoff 3.0 Zigbee USB-Stick has the latest firmware but I am unable to get the zigate plugin running without errors. When I configure the zigate plugin everything looks fine. I see the usb-port and I can connect to the zigate webclient. But as soon as I try to pair a device I get errors in domoticz.

Does anyone know how to solve the problems related to the screenshot of the log?
Errorlog
Errorlog
Screenshot 2022-02-02 at 18.40.17.png (308.14 KiB) Viewed 3695 times
User avatar
waltervl
Posts: 5847
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Zigate and Sonoff 3.0 Stick

Post by waltervl »

Branch stable5 of the plugin is only for Zigate coordinators. Not for your Sonoff.
Check this readme for beta6 ( so beta and perhaps still buggy) https://github.com/zigbeefordomoticz/Do ... tree/beta6
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and Sonoff 3.0 Stick

Post by pipiche »

Hello,

Please check this https://github.com/zigbeefordomoticz/wi ... rsion-6.md you'll get most of the information to switch to the branch which support TI CCxxx coordinators
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Jemand
Posts: 20
Joined: Saturday 11 May 2019 12:17
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigate and Sonoff 3.0 Stick

Post by Jemand »

Ok thanks for your reply. I installed beta6 but it didn't work as expected. Got almost the same errors when I tried to pair new devices. Okay, I think I'll wait for a stable version which supports the Sonoff stick.
Screenshot 2022-02-02 at 20.43.18.png
Screenshot 2022-02-02 at 20.43.18.png (267.08 KiB) Viewed 3673 times
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and Sonoff 3.0 Stick

Post by pipiche »

We have already user of Sonoff working without any issue.
So either indeed you go to stable, or we can investigate , understand what is wrong and fix it.

You can reach me on keybase

For instance, it wopuld be valuable if you can enable some debug parameter as shown on teh screenshot, start the plugin and then when getting the erreor sending the file Logs/PluginZigbee_xx.log (where xx is the domoticz Hardware Id)
Screenshot 2022-02-02 at 21.18.10.png
Screenshot 2022-02-02 at 21.18.10.png (48.25 KiB) Viewed 3668 times
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and Sonoff 3.0 Stick

Post by pipiche »

We have fixed an error (due to a mistake in the documentation).

sudo pip3 uninstall attr (without s)
sudo pip3 install attrs (with s )

which them solve this issue
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Jemand
Posts: 20
Joined: Saturday 11 May 2019 12:17
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigate and Sonoff 3.0 Stick

Post by Jemand »

Thanks for your great support, pipiche! Finally we got everything running.
Gamester17
Posts: 29
Joined: Tuesday 28 March 2017 13:05
Target OS: Linux
Domoticz version:
Contact:

Re: Zigate and Sonoff 3.0 Stick

Post by Gamester17 »

Jemand wrote: Wednesday 02 February 2022 18:50 The Sonoff 3.0 Zigbee USB-Stick has the latest firmware but I am unable to get the zigate plugin running without errors.
Should be noted that there ITead sells two different Zigbee 3.0 USB dongles and only their "SONOFF Zigbee 3.0 USB Dongle Plus" variant will work today:

https://itead.cc/product/sonoff-zigbee- ... ngle-plus/

https://sonoff.tech/product-review/sono ... tutorials/

You got it to work so must be Texas Instruments CC2652P variant, however, if all goes well then support for the Silicon Labs variant will also be added later:

https://itead.cc/product/zigbee-3-0-usb-dongle/
waltervl wrote: Wednesday 02 February 2022 19:02 Branch stable5 of the plugin is only for Zigate coordinators. Not for your Sonoff.

Check this readme for beta6 ( so beta and perhaps still buggy) https://github.com/zigbeefordomoticz/Do ... tree/beta6
pipiche wrote: Wednesday 02 February 2022 19:28 Please check this https://github.com/zigbeefordomoticz/wi ... rsion-6.md

you'll get most of the information to switch to the branch which support TI CCxxx coordinators
Jemand wrote: Wednesday 02 February 2022 20:32 Ok thanks for your reply. I installed beta6 but it didn't work as expected. Got almost the same errors when I tried to pair new devices.

Okay, I think I'll wait for a stable version which supports the Sonoff stick.
There is some more information and discussion posted about their long-term goals for support of other brands of Zigbee adapters in this other thread here:

viewtopic.php?t=37676

For beta use the "beta6" branch of the plugin and "zigpy" branch in the wiki which has been updated for "beta6" with with the new TI ZNP adapter support:

https://github.com/zigbeefordomoticz/wi ... rsion-6.md

https://github.com/zigbeefordomoticz/wi ... rsion-6.md

https://github.com/zigbeefordomoticz/Do ... /readme.md

https://github.com/zigbeefordomoticz/Do ... tree/beta6

Very cool with other brands of Zigbee adapters however understand that also very new and early so need to understand that beta means it is experimental.
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and Sonoff 3.0 Stick

Post by pipiche »

@Gamester17 for me it is not experimental anymore and that is why the beta6 branch is available and has the TI CCxxxx embedded. Indeed we need to have a bit more background and returns before going further and make it available on a stable version, but there are already quiet a number of people already with that SonOff or ZZH keys
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and Sonoff 3.0 Stick

Post by pipiche »

Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigate and Sonoff 3.0 Stick

Post by tjabas »

I have the zigate usb stick and i have tried to update the plugin and the stick since i get alot of errors in the log, unfortunatley i cant get the update to work on my zigate, so im about to throw the zigate away.
i have made an order of a Sonoff Universal Zigbee 3.0 instead, i hope that this will run smoother that the zigate,
is there a way to move the nodes from zigate to the sonoff stick or do i need to include all of my nodes again?
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and Sonoff 3.0 Stick

Post by pipiche »

There is no way to backup/export data from Zigate and then import to SonOff, but what you can do is

to keep the existing devices on Domoticz+Plugin and then just redo the pairing of the objects. Automatically they will be reconnected to the previous widget.
To do that, don't add a new hardware, but simply change the tty port from Zigate to Sonoff and select the correct Coordinator.

Be carefull, they are 2 type of SonOff USB Dongle. The P and the E

P -> Texas Instrument
E -> SiliconLabs
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest