Page 1 of 2
Zigate plugin moving to a new era
Posted: Wednesday 29 December 2021 14:41
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
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
Re: Zigate plugin moving to a new era
Posted: Wednesday 29 December 2021 14:47
by waltervl
And what about Zigate stick? Will it be supported?
Re: Zigate plugin moving to a new era
Posted: Wednesday 29 December 2021 14:48
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
Re: Zigate plugin moving to a new era
Posted: Friday 31 December 2021 4:22
by khongpt
It's very nice project and hope to see Texas CC dongle version soon!
Re: Zigate plugin moving to a new era
Posted: Friday 31 December 2021 9:09
by pipiche
Re: Zigate plugin moving to a new era
Posted: Friday 31 December 2021 10:22
by Jemand
Does it work with the Sonoff Zigbee 3.0 stick?
Re: Zigate plugin moving to a new era
Posted: Tuesday 04 January 2022 11:43
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
Re: Zigate plugin moving to a new era
Posted: Wednesday 05 January 2022 11:48
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
Re: Zigate plugin moving to a new era
Posted: Wednesday 05 January 2022 11:56
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
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.
Re: Zigate plugin moving to a new era
Posted: Wednesday 05 January 2022 13:46
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?
Re: Zigate plugin moving to a new era
Posted: Wednesday 05 January 2022 13:53
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.
Re: Zigate plugin moving to a new era
Posted: Friday 07 January 2022 9:07
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!
Re: Zigate plugin moving to a new era
Posted: Friday 07 January 2022 12:14
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
Re: Zigate plugin moving to a new era
Posted: Saturday 08 January 2022 7:34
by Renber
Hello, I have Xbee 3 and Xbee S2C modules.
If I can help, it will be my pleasure.
Re: Zigate plugin moving to a new era
Posted: Monday 10 January 2022 13:23
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
Re: Zigate plugin moving to a new era
Posted: Monday 10 January 2022 14:25
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 .
Re: Zigate plugin moving to a new era
Posted: Tuesday 11 January 2022 12:55
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
Re: Zigate plugin moving to a new era
Posted: Tuesday 11 January 2022 14:01
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
Re: Zigate plugin moving to a new era
Posted: Saturday 15 January 2022 18:27
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!
Re: Zigate plugin moving to a new era
Posted: Saturday 15 January 2022 18:30
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