ZiGate users help wanted to test ZHA with fork of zigpy-zigate with new patches #880
Replies: 4 comments 10 replies
-
Honestly it will be really hard to push our work to upstream if PRs are going to be handle like that. I never hide the fact that our aim is to use zigpy-znp and other zigpy librairie but not the zigate one as our code will use zigate in a native way. Now if we have to proof by a+b any single PR that we are going to push , this is for sure something we are not ready to do. So we tried with this simple one, but it looks like it doesn't fly, that is a shame |
Beta Was this translation helpful? Give feedback.
-
One idea would be to campaign to find additional maintainers of the upstream zigpy-zigate repository that can also tested ZHA as well, see: I have no idea how to proceed other than try to get new ZHA zigate testers and/or developers to help with the maintenance of zigpy-zigate. Again, @doudz expressed that he, unfortunately, don't have enough spare time to spare on actively developing or maintaining zigpy-zigate. |
Beta Was this translation helpful? Give feedback.
-
Just for you guys to understand what we have done on our fork, is to make sure that zigpy-zigate behave as zigpy-znp. From our domoticz plugin we use only zigpy api() and except for some radio specific actions like Led , we are using some the standard one. So it is hard to see why it our modifs should impact ZHA. Last but not least one thing which is important to know and that could have indeed an impact to ZHA, is that we are not relying on the zigpy database (as we have our own one). |
Beta Was this translation helpful? Give feedback.
-
@pipiche38 while slightly off-topic; can I suggest that one thing that you as developers of https://github.com/zigbeefordomoticz/Domoticz-Zigbee/tree/beta6 and users of ZiGate Zigbee Coordinators might be interested in developing for zigpy-zigate and zigpy-cli is support for backup and restore to file using the "Open ZigBee Coordinator Backup Format", and for that it will need to implement new radio API for zigpy: Checkout zigpy/zigpy-cli#2 where @puddly added introduces a network backup/restore utility for any adapter implementing the new radio API, where the only zigpy library remaining is zigpy-zigate. If zigpy-zigate supported this then your implementation too would be able to take advantage on this new universal backup format standard. PS: This same "Open ZigBee Coordinator Backup Format" is not only used by ZHA and Jeedom via zigpy, but support for that format has also been implemented by zigbee-herdsman which is used by Zigbee2MQTT (Z2M) and IoBroker. This enables cross-implementation migrations. |
Beta Was this translation helpful? Give feedback.
-
ZiGate users help wanted to test fork of zigpy-zigate with ZHA before developers submit pull requests:
Please see discussion and plea for help -> zigpy/zigpy-zigate#104
Help from testers with ZiGate adapters is wanted to "regression test" other Python packages of check if patches applied to a fork of zigpy-zigate look to have introduced any new bugs seen in ZHA integration.
The backstory:
The lead developer of zigpy-zigate (zigpy radio library for ZiGate based Zigbee Coordinator adapters used by the ZHA integration) does not have time to maintain or improve the zigpy-zigate library.
The good news is that some developers of a Zigbee implementation for Domoticz which will also use the same zigpy-zigate library have offered to submit bug-fixes and new features/functions.
The problem with that is that since those developers do not use ZHA at all they can not perform regression testing on ZHA to test if they introduce any other bugs or issues with their patches that can be seen in ZHA but not in their (non-ZHA) Zigbee implementation for Domoticz.
Since those developers of a Zigbee implementation for Domoticz do not have write access to the upstream zigpy-zigate repository on GitHub they have forked (copied) it to another repository and applied the patches there for now. That is why it is the library in that repository that will now need tested.
https://github.com/zigbeefordomoticz/zigpy-zigate
Volunteering testers that actually use a ZiGate adapter with ZHA is needed to help with testing the fork.
Once patches in the fork have been tested then developers can see to submitting patches upstream.
PS: Also now posted a copy of this general plea for help with testing in Home Assistant community forum here:
https://community.home-assistant.io/t/zigate-users-help-wanted-to-test-zha-with-fork-of-zigpy-zigate-with-new-patches/378362
Beta Was this translation helpful? Give feedback.
All reactions