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.
Upgrade the package within your virtual environment (requires git
):
(venv) $ pip install git+https://github.com/bouffalolab/zigpy-blz/
- Add https://github.com/home-assistant/hassio-addons-development as an addon repository.
- Install the "Custom deps deployment" addon.
- Add the following to your
configuration.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.
- zigpy: The core Python Zigbee stack project that integrates with ZHA in Home Assistant.
- Home Assistant ZHA: Zigbee Home Automation integration component in Home Assistant.
- zha-device-handlers: Custom quirks for non-standard Zigbee devices in Home Assistant.