bouffalolab / zigpy-blz

A Python library for integrating Bouffalo Lab Zigbee (BLZ) radios with zigpy
Apache License 2.0
1 stars 0 forks source link

zigpy-blz

zigpy-blz is a Python library that adds support for Bouffalo Lab Zigbee (BLZ) radios to zigpy, a Python Zigbee stack project.

It is designed to interface with Bouffalo Lab Zigbee (BLZ) radios, enabling users to communicate with Zigbee devices using zigpy and compatible home automation platforms, such as Home Assistant’s ZHA (Zigbee Home Automation) integration component.

Installation

Python Module

Install the Python module in your virtual environment:

$ virtualenv -p python3.12 venv                                # if you don't already have one
$ source venv/bin/activate
(venv) $ pip install git+https://github.com/bouffalolab/zigpy-blz/  # latest commit from Git
(venv) $ pip install zigpy-blz                                # or, latest stable from PyPI

Home Assistant

Stable releases of zigpy-blz will be automatically installed when you install the ZHA component in Home Assistant.

Testing dev with Home Assistant Core

Upgrade the package within your virtual environment (requires git):

(venv) $ pip install git+https://github.com/bouffalolab/zigpy-blz/

Testing dev with Home Assistant OS

Hardware Support

zigpy-blz is compatible with Bouffalo Lab’s BLZ radios, which use the Bouffalo Lab Zigbee (BLZ) Serial Protocol. Ensure your firmware version matches the protocol version supported by this library.

Supported hardware includes:

Developer References

For more details on the protocol used by Bouffalo Lab radios, see the Bouffalo Lab Zigbee (BLZ) documentation:

How to Contribute

We welcome contributions! If you'd like to contribute to this project, please follow the steps in the following guides:

Testing

Unit tests are available to verify the implementation. To run the tests, use:

pytest tests/

Releases via PyPI

Tagged versions of zigpy-blz will be released via PyPI.

Related Projects