Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[REQUEST] ZiGate radio library to support for the zigpy library used by ZHA component in Home Assistant #129
Please consider writing a ZiGate radio library that works with the zigpy library for Home Assistant:
zigpy is a is Zigbee protocol stack integration project that is designed to work with separate radio libraries which can each interface with multiple USB and GPIO radio adapters/modules over different native serial protocols.
This zigpy library is implemented as a native Zigbee Home Automation Hub (ZHA) component for Home Assistant.
The main benefit with the modular design of zigpy is that software like Home Assistant only need to support this one solution as zigpy then abstracts support for multiple radios serial protocols via radio module libraries:
Another pro for end-users is zigpy's open modular design made to support different Zigbee radio modules (radios from different hardware manufacturers that does not use the same low-level protocol to communicate with the hardware). Because of this modular design of zigpy, at least in theory, you will get more developers with different Zigbee adapter hardware working on the same interface integration and open source libraries for the component in open source software, like Home Assistant.
From an end-users point-of-view it should in theory not matter which Zigbee adapter you buy, as long as some developer(s) have written a custom radio library for zigpy for the low-level protocol that it is using so that zigpy can comminicate with the specific firmware on that hardware.
This modular design of zigpy is very similar to that which have already existed for Z-Wave in the open source community for many years, where you can buy almost USB or GPIO Z-Wave controller adapter from any hardware manufacturer and it will "just work" with all open source home automation software since almost all of them use the same library (ie. the OpenZWave libary).
Sure some Zigbee adapter hardware manufacturers who do not yet get the open source concept might not like the modular design of the zigpy library since it gives end-users the option to go buy hardware adapters from their competition, but I think that this modular design will benefit everyone, including Zigbee adapter hardware manufacturers, developers, and end-users.