A Python library for integrating Bouffalo Lab Zigbee (BLZ) radios with zigpy
Project description
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
Via the BLZ Custom ZHA Component (Recommended)
The easiest way to use zigpy-blz with Home Assistant is to install the BLZ Custom ZHA Component, which automatically pulls in zigpy-blz as a dependency. See that repository for HACS and manual install instructions.
Python Module
Install the Python module in your virtual environment:
$ python3 -m venv venv # if you don't already have one
$ source venv/bin/activate
(venv) $ pip install git+https://github.com/bouffalolab/zigpy-blz.git@main # latest commit from Git
(venv) $ pip install zigpy-blz # or, latest stable from PyPI
Home Assistant Core (manual)
Upgrade the package within your virtual environment (requires git):
(venv) $ pip install git+https://github.com/bouffalolab/zigpy-blz.git@main
Hardware Support
zigpy-blz is compatible with Bouffalo Lab's BLZ radios, which use the Bouffalo Zigbee Serial Protocol (BZSP). 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:
- UG100 Bouffalo Lab Zigbee (BLZ) Protocol (included in this repo)
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 are released via PyPI.
Push a v* tag to trigger the release workflow.
Related Projects
- zigpy: The core Python Zigbee stack project that integrates with ZHA in Home Assistant.
- BLZ Custom ZHA: Custom ZHA component with BLZ radio support for Home Assistant.
- Home Assistant ZHA: Zigbee Home Automation integration component in Home Assistant.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zigpy_blz-0.1.0.tar.gz.
File metadata
- Download URL: zigpy_blz-0.1.0.tar.gz
- Upload date:
- Size: 551.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c5601159ccb08a76dccb0deac30d4aba1d51447c6fb14311fa12b78ae83c081
|
|
| MD5 |
2c7b7a34aa877991b439650041bd61d7
|
|
| BLAKE2b-256 |
72948b30f67e1645224b31892d22c8b451f57e172999a7aee1b8f52494566ea9
|
Provenance
The following attestation bundles were made for zigpy_blz-0.1.0.tar.gz:
Publisher:
release.yml on bouffalolab/zigpy-blz
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zigpy_blz-0.1.0.tar.gz -
Subject digest:
9c5601159ccb08a76dccb0deac30d4aba1d51447c6fb14311fa12b78ae83c081 - Sigstore transparency entry: 1150229914
- Sigstore integration time:
-
Permalink:
bouffalolab/zigpy-blz@f1355295bbea2d020976b7a8422ad7b46e57274b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/bouffalolab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f1355295bbea2d020976b7a8422ad7b46e57274b -
Trigger Event:
push
-
Statement type:
File details
Details for the file zigpy_blz-0.1.0-py3-none-any.whl.
File metadata
- Download URL: zigpy_blz-0.1.0-py3-none-any.whl
- Upload date:
- Size: 547.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0b12e0094a8c5cbe7f7ed1d851ae4df348c11e4ebc53c7eee65d1d86f5a6319
|
|
| MD5 |
567c3ebf613ca5682713ebf05045ca1f
|
|
| BLAKE2b-256 |
97abc0807aac4d3a32696d8bc35bb76c72512f34dc2d60da99804b4cdf5ab8a3
|
Provenance
The following attestation bundles were made for zigpy_blz-0.1.0-py3-none-any.whl:
Publisher:
release.yml on bouffalolab/zigpy-blz
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zigpy_blz-0.1.0-py3-none-any.whl -
Subject digest:
c0b12e0094a8c5cbe7f7ed1d851ae4df348c11e4ebc53c7eee65d1d86f5a6319 - Sigstore transparency entry: 1150229949
- Sigstore integration time:
-
Permalink:
bouffalolab/zigpy-blz@f1355295bbea2d020976b7a8422ad7b46e57274b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/bouffalolab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f1355295bbea2d020976b7a8422ad7b46e57274b -
Trigger Event:
push
-
Statement type: