Package: zigpy
zigpyzigpyis a hardware independentZigbee protocol stackintegration project to implementZigbeestandard specifications as a Python 3 library.Zigbee integration via zigpy allows you to connect one of many off-the-shelf Zigbee Coordinator adapters using one of the available Zigbee radio library modules compatible with zigpy to control Zigbee based devices. There is currently support for controlling Zigbee device types such as binary sensors (e.g., motion and door sensors), sensors (e.g., temperature sensors), lights, switches, buttons, covers, fans, climate control equipment, locks, and intruder alarm system devices. Note that Zigbee Green Power devicescurrently are unsupported.Zigbee stacks and hardware from many different hardware chip manufacturers are supported via radio libraries which translate their proprietary communication protocol into a common API which is shared among all radio libraries for zigpy. If some Zigbee stack or Zigbee Coordinator hardware for other manufacturers is not supported by yet zigpy it is possible for any independent developer to step-up and develop a new radio library for zigpy which translates its proprietary communication protocol into the common API that zigpy can understand.zigpy contains common code implementing ZCL (Zigbee Cluster Library) and ZDO (Zigbee Device Object) application state management which is being used by various radio libraries implementing the actual interface with the radio modules from different manufacturers. The separate radio libraries interface with radio hardware adapters/modules over USB and GPIO using different native UART serial protocols.TheZHA integration component for Home Assistant, theZigbee Plugin for Domoticz, and theZigbee Plugin for Jeedom(competing open-source home automation software) are all usingzigpy librariesas dependencies, as such they could be used as references of different implementations if looking to integrate a Zigbee solution into your application.Zigbee device OTA updateszigpy have ability to download and perform Zigbee OTAU (Over-The-Air Updates) of Zigbee devices firmware. The Zigbee OTA update firmware image files should conform to standard Zigbee OTA format and OTA provider source URLs need to be published for public availability. Updates from a local OTA update directory also is also supported and can be used as an option for offline firmware updates if user provide correct Zigbee OTA formatted firmware files themselves.Support for automatic download from existing online OTA providers in zigpy OTA provider code is currently only available for IKEA, Inovelli, LEDVANCE/OSRAM, SALUS/Computime, and SONOFF/ITEAD devices. Support for additional OTA providers for other manufacturers devices could be added to zigpy in the future, if device manufacturers publish their firmware images publicly and developers contribute the needed download code for them.How to install and test, report bugs, or contribute to this projectFor specific instructions on how-to install and test zigpy or contribute bug-reports and code to this project please see the guidelines in the CONTRIBUTING.md file:Guidelines in CONTRIBUTING.mdThis CONTRIBUTING.md file will contain information about using zigpy, testing new releases, troubleshooting and bug-reporting as, as well as library + code instructions for developers and more. This file also contain short summaries and links to other related projects that directly or indirectly depends in zigpy libraries.You can contribute to this project either as an end-user, a tester (advanced user contributing constructive issue/bug-reports) or as a developer contributing code.Compatible Zigbee coordinator hardwareRadio libraries for zigpy are separate projects with their own repositories and includebellows(for communicating with Silicon Labs EmberZNet based radios),zigpy-deconz(for communicating with deCONZ based radios from Dresden Elektronik), andzigpy-xbee(for communicating with XBee based Zigbee radios),zigpy-zigatefor communicating with ZiGate based radios,zigpy-znporzigpy-ccfor communicating with Texas Instruments based radios that have Z-Stack ZNP coordinator firmware.Note! Zigbee 3.0 support or not in zigpy depends primarily on your Zigbee coordinator hardware and its firmware. Some Zigbee coordinator hardware support Zigbee 3.0 but might be shipped with an older firmware which does not, in which case may want to upgrade the firmware manually yourself. Some other Zigbee coordinator hardware may not support a firmware that is capable of Zigbee 3.0 at all but can still be fully functional and feature complete for your needs, (this is very common as many if not most Zigbee devices do not yet Zigbee 3.0 or are backwards-compable with a Zigbee profile that is support by your Zigbee coordinator hardware and its firmware). As a general rule, newer Zigbee coordinator hardware released can normally support Zigbee 3.0 firmware and it is up to its manufacturer to make such firmware available for them.Compatible zigpy radio librariesDigi XBeebased Zigbee radios via thezigpy-xbeelibrary for zigpy.dresden elektronikdeCONZ based Zigbee radios via thezigpy-deconzlibrary for zigpy.Silicon Labs(EmberZNet) based Zigbee radios using the EZSP protocol via thebellowslibrary for zigpy.Texas Instrumentsbased Zigbee radios with all compatible Z-Stack firmware via thezigpy-znplibrary for zigpy.ZiGatebased ZigBee radios via thezigpy-zigatelibrary for zigpy.Legacy or obsolete zigpy radio librariesTexas Instruments with Z-Stack legacy firmware via thezigpy-cclibrary for zigpy.Release packages available via PyPINew packages of tagged versions are also released via the "zigpy" project on PyPIhttps://pypi.org/project/zigpy/https://pypi.org/project/zigpy/#historyhttps://pypi.org/project/zigpy/#filesOlder packages of tagged versions are still available on the "zigpy-homeassistant" project on PyPIhttps://pypi.org/project/zigpy-homeassistant/Packages of tagged versions of the radio libraries are released via separate projects on PyPIhttps://pypi.org/project/zigpy/https://pypi.org/project/bellows/https://pypi.org/project/zigpy-cc/https://pypi.org/project/zigpy-deconz/https://pypi.org/project/zigpy-xbee/https://pypi.org/project/zigpy-zigate/https://pypi.org/project/zigpy-znp/