Skip to main content

A library which communicates with XBee radios for zigpy

Project description

zigpy-xbee

Build Status Coverage Status

zigpy-xbee is a Python implementation for the Zigpy project to implement XBee based Zigbee 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 with zigpy 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 this zigpy-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 in Home Assistant (Python based open source home automation software) as part of its ZHA component

Compatible hardware

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 includes zigpy-xbee (which communicates with XBee based Zigbee radios), bellows (which communicates with EZSP/EmberZNet based radios), and as zigpy-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 called zigpy-zigate for communicating with ZiGate based radios.

Known working XBee based Zigbee radio modules for Zigpy

These are XBee Zigbee based radios that have been tested with the zigpy-xbee library for zigpy

Port configuration

  • To configure usb 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 tool enable the API communication mode -- ATAP2, set baudrate to 57600 -- ATBD6, save parameters.

Testing new releases

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):

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
    
    

Releases of zigpy-xbee via PyPI

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

How to contribute

If you are looking to make a contribution to this project we suggest that you follow the steps in these guides:

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zigpy_xbee-0.21.1.tar.gz (43.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zigpy_xbee-0.21.1-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file zigpy_xbee-0.21.1.tar.gz.

File metadata

  • Download URL: zigpy_xbee-0.21.1.tar.gz
  • Upload date:
  • Size: 43.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for zigpy_xbee-0.21.1.tar.gz
Algorithm Hash digest
SHA256 a34411c58e17c9910a491da6dc06efaeef80378b5c6d1f32c92ec6dd75d5d02b
MD5 51a5ef94e8ab6aefdc8ca785c30ceab3
BLAKE2b-256 f29a0c905f1e4bb330bc638eae7467087dcd55a018b38577528d7b8088d74bfc

See more details on using hashes here.

File details

Details for the file zigpy_xbee-0.21.1-py3-none-any.whl.

File metadata

  • Download URL: zigpy_xbee-0.21.1-py3-none-any.whl
  • Upload date:
  • Size: 32.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for zigpy_xbee-0.21.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d5e7903b34411a525c3db8cf18c9c8f432b2f175e9138b1597c01cbd3223b030
MD5 364c54d6c0047837018d0a1d4dec0830
BLAKE2b-256 a3da2c38fcdc7133a11a1201ec115fb82b621a87f350eb46146d9244175a8a10

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page