- Notifications
You must be signed in to change notification settings - Fork18
A library which communicates with XBee radios for zigpy
License
GPL-3.0, Unknown licenses found
Licenses found
zigpy/zigpy-xbee
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
zigpy-xbee is a Python implementation for theZigpy project to implementXBee basedZigbee radio devices from Digi.
Digi XBee is the brand name of a family of form factor compatible radio modules from Digi International.
The XBee radios can all be used with the minimum number of connections — power (3.3 V), ground, data in and data out (UART), with other recommended lines being Reset and Sleep.[5] Additionally, most XBee families have some other flow control, input/output (I/O), analog-to-digital converter (A/D) and indicator lines built in.
Zigbee Home Automation integration withzigpy allows you to connect one of many off-the-shelf Zigbee adapters using one of the available Zigbee radio library modules compatible with zigpy to control Zigbee based devices, including thiszigpy-xbee library for Xbee based Zigbee radio modules.
zigpy** currently has support for controlling Zigbee device types such as binary sensors (e.g., motion and door sensors), sensors (e.g., temperature sensors), lightbulbs, switches, and fans. A working implementation of zigbe exist inHome Assistant (Python based open source home automation software) as part of itsZHA component
zigpy works with separate radio libraries which can each interface with multiple USB and GPIO radio hardware adapters/modules over different native UART serial protocols. Such radio libraries includeszigpy-xbee (which communicates with XBee based Zigbee radios),bellows (which communicates with EZSP/EmberZNet based radios), and aszigpy-deconz for deCONZ serial protocol (for communicating with ConBee and RaspBee USB and GPIO radios from Dresden-Elektronik). There are also an experimental radio library calledzigpy-zigate for communicating with ZiGate based radios.
These are XBee Zigbee based radios that have been tested with thezigpy-xbee library for zigpy
- Digi XBee Series 3 (xbee3-24) andDigi XBee Series S2C modules
- Note! While not a must,it is recommend to upgrade XBee Series 3 and S2C to newest firmware firmware using XCTU
- Digi XBee Series 2 (S2) modules (Note! This first have to beflashed with Zigbee Coordinator API firmware)
- To configureusb port path for your XBee serial device, just specify the TTY (serial com) port, example :
/dev/ttyACM0
Note! Users can change UART baud rate of your Digi XBee using the Digi's XCTU configuration tool. Using XCTU toolenable the API communication mode --ATAP2
, set baudrate to 57600 --ATBD6
, save parameters.
Testing a new release of the zigpy-xbee library before it is released in Home Assistant.
If you are using Supervised Home Assistant (formerly known as the Hassio/Hass.io distro):
- Addhttps://github.com/home-assistant/hassio-addons-development as "add-on" repository
- Install "Custom deps deployment" addon
- Update config like:where 0.12.0 is the new version
pypi: - zigpy-xbee==0.12.0apk: []
- Start the addon
If you are instead using some custom python installation of Home Assistant then do this:
- Activate your python virtual env
- Update package with
pip
pip install zigpy-xbee==0.12.0
New packages of tagged versions are also released via the "zigpy-xbee" project on PyPI
Older packages of tagged versions are still available on the "zigpy-xbee-homeassistant" project on PyPI
If you are looking to make a contribution to this project we suggest that you follow the steps in these guides:
- https://github.com/firstcontributions/first-contributions/blob/master/README.md
- https://github.com/firstcontributions/first-contributions/blob/master/github-desktop-tutorial.md
Some developers might also be interested in receiving donations in the form of hardware such as Zigbee modules or devices, and even if such donations are most often donated with no strings attached it could in many cases help the developers motivation and indirect improve the development of this project.
About
A library which communicates with XBee radios for zigpy