Zigate plugin moving to a new era

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

Moderator: leecollings

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

Zigate plugin moving to a new era

Post by pipiche »

This is just to let you know that the Zigate plugin has moved to a new GitHub ownership and has been renamed. In order for your to continue getting the latest update make sure to do the following

Go to the Zigate plugin folder and do the following commands

Code: Select all

git remote set-url origin https://github.com/zigbeefordomoticz/Domoticz-Zigbee

Code: Select all

git pull
That is all.

The plugin has been renamed to Zigbee for Domoticz as the upcoming version will managed TI CCxxx chipset through the zigpy libraries. The current development are done on an zzh key from Lama electronics

for you at that time using Zigate, there is not a single change for you, just the fact that we hope the community to be bigger and then benefit from additional developppers
Last edited by pipiche on Wednesday 29 December 2021 14:49, edited 1 time in total.
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
User avatar
waltervl
Posts: 5149
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Zigate plugin moving to a new era

Post by waltervl »

And what about Zigate stick? Will it be supported?
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: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate plugin moving to a new era

Post by pipiche »

waltervl wrote: Wednesday 29 December 2021 14:47 And what about Zigate stick? Will it be supported?
No change at all, full support of Zigate via native move, only the Texas and other keys will be through zigpy layer
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
khongpt
Posts: 3
Joined: Thursday 18 April 2019 2:21
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Zigate plugin moving to a new era

Post by khongpt »

It's very nice project and hope to see Texas CC dongle version soon!
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate plugin moving to a new era

Post by pipiche »

All our tests are currently done with https://electrolama.com/projects/zig-a-zig-ah/
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: 15
Joined: Saturday 11 May 2019 12:17
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigate plugin moving to a new era

Post by Jemand »

Does it work with the Sonoff Zigbee 3.0 stick?
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate plugin moving to a new era

Post by pipiche »

Jemand wrote: Friday 31 December 2021 10:22 Does it work with the Sonoff Zigbee 3.0 stick?
You can cross-check here :
https://github.com/zigbeefordomoticz/Do ... stickskeys

and https://www.zigbee2mqtt.io/guide/adapte ... c1352-chip
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
Gamester17
Posts: 29
Joined: Tuesday 28 March 2017 13:05
Target OS: Linux
Domoticz version:
Contact:

Re: Zigate plugin moving to a new era

Post by Gamester17 »

pipiche wrote: Wednesday 29 December 2021 14:41 The plugin has been renamed to Zigbee for Domoticz as the upcoming version will managed TI CCxxx chipset through the zigpy libraries.
Awesome news! For reference and back-story, there is a technical discussion about some benefits of utilizing zigpy here -> viewtopic.php?f=31&t=29101
Gamester17
Posts: 29
Joined: Tuesday 28 March 2017 13:05
Target OS: Linux
Domoticz version:
Contact:

Re: Zigate plugin moving to a new era

Post by Gamester17 »

Jemand wrote: Friday 31 December 2021 10:22 Does it work with the Sonoff Zigbee 3.0 stick?
zigpy-znp works with ITead's "SONOFF Zigbee 3.0 USB Dongle Plus" (CC2652P based model) however would recommend upgrade to latest firmware first:

https://itead.cc/product/sonoff-zigbee- ... ngle-plus/ -> https://sonoff.tech/product-review/sono ... tutorials/

https://github.com/zigpy/zigpy-znp

Many Zigbee coordinators from other manufacturers use same CC2652P/CC2652R/CC2652RB chips are compatible with the same firmware are listed here:

https://github.com/Koenkk/Z-Stack-firmw ... _3.x.0/bin

https://www.zigbee2mqtt.io/information/ ... pters.html

But the project does not yet implement "bellows" library for zigpy for Silicon Labs radios as in Silabs EFRMG21 radios like ITead's Zigbee 3.0 USB Dongle:

https://itead.cc/product/zigbee-3-0-usb-dongle/

https://github.com/zigpy/bellows
pipiche wrote: Friday 31 December 2021 9:09 All our tests are currently done with https://electrolama.com/projects/zig-a-zig-ah/
That zzh adapter by Electrolama as well as Slaesh CC2652RB development stick should currently be recommended for developers and testers of zigpy-znp:

https://slae.sh/projects/cc2652/

https://electrolama.com/projects/zig-a-zig-ah/

Electrolama in addition have zoe2 which is based on the also compatible CC1352P:

https://electrolama.com/projects/zoe2/

Electrolama upcoming zzhp will be based on CC2652P (with power amplifier) but has been delayed due to the current worldwide chip shortages.
Last edited by Gamester17 on Monday 17 January 2022 11:18, edited 6 times in total.
JBN
Posts: 34
Joined: Saturday 13 July 2013 8:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Sweden
Contact:

Re: Zigate plugin moving to a new era

Post by JBN »

Interesting project!

I have a deCONZ and currently use https://github.com/Smanar/Domoticz-deCONZ so I am not really in need of a new solution. But if I understand correctly that solution relies on deCONZ own implementation (via rest). Their webinterface shows little "fun" stuff, to see that I need to run the X-window application (and thus an X-server etc etc - not as fun as seeing things directly in a webinterface)

But I got curious about the use of https://github.com/zigpy and https://github.com/zigpy/zigpy-deconz ie the possibility to use this project to access the same things as in Zigate for other controllers. Ie does this new era include ideas of also include deCONZ?
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate plugin moving to a new era

Post by pipiche »

JBN wrote: Wednesday 05 January 2022 13:46 Interesting project!

I have a deCONZ and currently use https://github.com/Smanar/Domoticz-deCONZ so I am not really in need of a new solution. But if I understand correctly that solution relies on deCONZ own implementation (via rest). Their webinterface shows little "fun" stuff, to see that I need to run the X-window application (and thus an X-server etc etc - not as fun as seeing things directly in a webinterface)

But I got curious about the use of https://github.com/zigpy and https://github.com/zigpy/zigpy-deconz ie the possibility to use this project to access the same things as in Zigate for other controllers. Ie does this new era include ideas of also include deCONZ?
This could be indeed a path. We are however focussing on zzh ( based on Z-Stack ZNP) for the time. There is indeed a zigpy-deconz module which should do the trick , but didn't investigate yet.
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
Gamester17
Posts: 29
Joined: Tuesday 28 March 2017 13:05
Target OS: Linux
Domoticz version:
Contact:

Re: Zigate plugin moving to a new era

Post by Gamester17 »

JBN wrote: Wednesday 05 January 2022 13:46 I have a deCONZ and currently use https://github.com/Smanar/Domoticz-deCONZ so I am not really in need of a new solution. But if I understand correctly that solution relies on deCONZ own implementation (via rest). Their webinterface shows little "fun" stuff, to see that I need to run the X-window application (and thus an X-server etc etc - not as fun as seeing things directly in a webinterface)
Perhaps it would be possible to convince Smanar to join the development of https://github.com/zigbeefordomoticz/Do ... tree/zigpy using zigpy-deconz?

https://github.com/Smanar/Domoticz-deCONZ is also written in Python and if joined the https://github.com/zigbeefordomoticz/Do ... tree/zigpy project then Domoticz users would have a unified Zigbee plugin all written in Python which did not rely on third-party applications or closed source code libraries.
pipiche wrote: Wednesday 05 January 2022 13:53 This could be indeed a path. We are however focussing on zzh ( based on Z-Stack ZNP) for the time. There is indeed a zigpy-deconz module which should do the trick , but didn't investigate yet.
@pipiche After the Texas Instruments ZNP module is stable I would love for you to next prioritize focusing on a "bellows" for Silabs support in your plugin.

https://github.com/zigpy/bellows/

Partly because zigpy developer Adminiuga's own primary production/testing focus uses bellows so then he would then probably have a personal interest in assisting your project, and partly because Silicon Labs is the worlds largest manufacturer of Zigbee MCU/SoC chips and a IEEE 802.15.4 industry leader.

https://github.com/Adminiuga

https://www.silabs.com/wireless/zigbee

Note! bellows works best with newer released Silabs EFR32 chips but all using their EmberZNet Serial API version 8 protocol (EZSP v8) work however and recommended is to use EmberZNet NCP 6.7.9 firmware or later so the general tip is to buy one based on as new of a Silicon Labs EFR32 chip as possible.

Zigbee coordinator adapters using Silicon Labs chips with EmberZNet firmware also ranks among the least expensive as well as most available worldwide.

For reference, all these Silabs based adapters works with bellows as long as updated to EmberZNet 6.7.9 coordinator NCP firmware or newer for EZSP v8:
bellows works best with any Zigbee coordinator based on Silicon Labs EFR32 Zigbee NCP SoC from EFR32MG21/MGM210 and EFR32MG12/MGM12 series:
Understand that EFR32MG12/MGM12 series and older chips will not get support for the upcoming EmberZNet 7.x firmware/SDK release, (Silicon Labs had planned for a new SDK version sooner but with chip shortage the upcoming EFR32MG23 and EFR32MG24 series which it is optimized for has been delayed).

Anyway, firmware is maintained by community can be updated with Elelabs EZSP Firmware Update Utility or Zigbee firmware updater image by walthowd:
Direct link to zigpy wiki page where MattWestb documented recommended application firmware version for different Silabs EZSP Zigbee coordinators:

https://github.com/zigpy/zigpy/wiki/Coo ... ordinators

PS: Always remember to always use a long USB extension cable to avoid EMF from devices/cables regardless of which Zigbee Coordinator that you are using!
Last edited by Gamester17 on Wednesday 19 January 2022 9:54, edited 8 times in total.
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate plugin moving to a new era

Post by pipiche »

thanks @Gamester17 for your nice and long post, anyone willing to help/support us in this journey is/are more than welcome. We are just few guys doing it on our spare time.

So anyone having a deConz or Silabs or Xbee devices is/are more than welcome to join us
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
Renber
Posts: 37
Joined: Thursday 04 February 2021 8:10
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: Zigate plugin moving to a new era

Post by Renber »

Hello, I have Xbee 3 and Xbee S2C modules.
If I can help, it will be my pleasure.
Beaglebone black + Domoticz beta + Dashticz beta + Mosquitto + RF-Link + Node-Red + Homebridge + Dtgbot
JanZorz
Posts: 85
Joined: Thursday 09 January 2020 13:14
Target OS: Linux
Domoticz version:
Contact:

Re: Zigate plugin moving to a new era

Post by JanZorz »

Updated the github repository with 6.x one and it works fine.

I have Zigate USB v.1 device and I'm using old Firmware: 031d . In Zigate-Firmware/ZiGate-V1/ folder I can see many firmware versions:

-rw-r--r-- 1 root root 182352 Jun 25 2021 ZiGate_Pluzzy_HA1.2v2100.bin
-rw-r--r-- 1 root root 209120 Jun 25 2021 ZiGate_v3.1d.bin
-rw-r--r-- 1 root root 208404 Jun 25 2021 ZiGate_v3.1e.bin
-rw-r--r-- 1 root root 208404 Jun 25 2021 ZiGate_v3.1e_OPDM_requires_EraseEEPROM.bin
-rw-r--r-- 1 root root 208464 Sep 6 16:56 ZiGate_v3.20-OPDM.bin
-rw-r--r-- 1 root root 208464 Sep 6 16:56 ZiGate_v3.20-legacy.bin
-rw-r--r-- 1 root root 208568 Dec 14 17:16 ZiGate_v3.21-OPDM.bin
-rw-r--r-- 1 root root 208568 Dec 14 17:16 ZiGate_v3.21-legacy.bin

Which one would be the best to load into my Zigate stick and be sure not to loose all the device bindings and other data?

Cheers and thnx, Jan
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate plugin moving to a new era

Post by pipiche »

If you are on 31d, it means that you are on the legacy firmware, so the best is to upgrade to ZiGate_v3.21-legacy.bin

Make sure not to set any Erase EEPROM not Erase PDM option during the upgrade.

I think that on the Zigate web site there is also a procedure to backup the Zigate in order to restore it to the same .
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
JanZorz
Posts: 85
Joined: Thursday 09 January 2020 13:14
Target OS: Linux
Domoticz version:
Contact:

Re: Zigate plugin moving to a new era

Post by JanZorz »

pipiche wrote: Monday 10 January 2022 14:25 If you are on 31d, it means that you are on the legacy firmware, so the best is to upgrade to ZiGate_v3.21-legacy.bin

Make sure not to set any Erase EEPROM not Erase PDM option during the upgrade.

I think that on the Zigate web site there is also a procedure to backup the Zigate in order to restore it to the same .
upgraded to 3.21-legacy and it's working like a charm. Thnx! Now that weird 4-way switch TS0044 (Tuya 4-way switch) works :)

Cheers, Jan
gorstj
Posts: 41
Joined: Tuesday 13 December 2016 18:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigate plugin moving to a new era

Post by gorstj »

JanZorz wrote: Monday 10 January 2022 13:23 Updated the github repository with 6.x one and it works fine.

I have Zigate USB v.1 device and I'm using old Firmware: 031d . In Zigate-Firmware/ZiGate-V1/ folder I can see many firmware versions:

-rw-r--r-- 1 root root 182352 Jun 25 2021 ZiGate_Pluzzy_HA1.2v2100.bin
-rw-r--r-- 1 root root 209120 Jun 25 2021 ZiGate_v3.1d.bin
-rw-r--r-- 1 root root 208404 Jun 25 2021 ZiGate_v3.1e.bin
-rw-r--r-- 1 root root 208404 Jun 25 2021 ZiGate_v3.1e_OPDM_requires_EraseEEPROM.bin
-rw-r--r-- 1 root root 208464 Sep 6 16:56 ZiGate_v3.20-OPDM.bin
-rw-r--r-- 1 root root 208464 Sep 6 16:56 ZiGate_v3.20-legacy.bin
-rw-r--r-- 1 root root 208568 Dec 14 17:16 ZiGate_v3.21-OPDM.bin
-rw-r--r-- 1 root root 208568 Dec 14 17:16 ZiGate_v3.21-legacy.bin

Which one would be the best to load into my Zigate stick and be sure not to loose all the device bindings and other data?

Cheers and thnx, Jan
Is there any disadvantage to upgrading to OPDM version? (other than needing to re-pair the devices)

John
pfloryann
Posts: 168
Joined: Wednesday 09 January 2019 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.1
Contact:

Re: Zigate plugin moving to a new era

Post by pfloryann »

Hi,
I tried today Zigate plugin(i have Zigate v1 usb stick) with Sonoff dongle plus, but without success :( .
Need to install mosquito or something else?

Please make an short tutorial step by step with installation and domoticz plugin settings.

Thank you!
Domoticz on Raspberry Pi 4with Zigbee2mqtt
2 x xiaomi temperature sensor
7 x xiaomi plug
2 x xiaomi door sensor
1 x ikea plug
1 x ikea zigbee apdator
4 x xiaomi motion sensor
1 x xiaomi vibration sensor
2 x xiaomi wireless switch
Broadlink rm pro
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate plugin moving to a new era

Post by pipiche »

As said, we are in the development right now. You can find some stuff under the zigpy branche of the plugin.
https://github.com/zigbeefordomoticz/Do ... gpy#readme
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: Google [Bot] and 1 guest