Skip to main content

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:

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


Download files

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

Source Distribution

zigpy_blz-0.1.0.tar.gz (551.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_blz-0.1.0-py3-none-any.whl (547.5 kB view details)

Uploaded Python 3

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

Hashes for zigpy_blz-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9c5601159ccb08a76dccb0deac30d4aba1d51447c6fb14311fa12b78ae83c081
MD5 2c7b7a34aa877991b439650041bd61d7
BLAKE2b-256 72948b30f67e1645224b31892d22c8b451f57e172999a7aee1b8f52494566ea9

See more details on using hashes here.

Provenance

The following attestation bundles were made for zigpy_blz-0.1.0.tar.gz:

Publisher: release.yml on bouffalolab/zigpy-blz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for zigpy_blz-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c0b12e0094a8c5cbe7f7ed1d851ae4df348c11e4ebc53c7eee65d1d86f5a6319
MD5 567c3ebf613ca5682713ebf05045ca1f
BLAKE2b-256 97abc0807aac4d3a32696d8bc35bb76c72512f34dc2d60da99804b4cdf5ab8a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for zigpy_blz-0.1.0-py3-none-any.whl:

Publisher: release.yml on bouffalolab/zigpy-blz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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