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.
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
Stable releases of zigpy-blz
will be automatically installed when you install the ZHA component in Home Assistant.
dev
with Home Assistant CoreUpgrade the package within your virtual environment (requires git
):
(venv) $ pip install git+https://github.com/bouffalolab/zigpy-blz/
dev
with Home Assistant OSconfiguration.yaml
file:
apk: []
pypi:
- git+https://github.com/bouffalolab/zigpy-blz/
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:
For more details on the protocol used by Bouffalo Lab radios, see the Bouffalo Lab Zigbee (BLZ) documentation:
We welcome contributions! If you'd like to contribute to this project, please follow the steps in the following guides:
Unit tests are available to verify the implementation. To run the tests, use:
pytest tests/
Tagged versions of zigpy-blz
will be released via PyPI.