A package for interacting with Decora switches and dimmers over BLE
Project description
decora_bleak
Python module for interacting with Leviton bluetooth switches and dimmers via BLE (Bluetooth Low Energy). There is prior art in this space, namely https://github.com/mjg59/python-decora and https://github.com/lucapinello/pydecora_ble, both of which primarily use the bluepy module. This project aims to provide the same support using Bleak which is used for interacting with BLE devices in Home Assistant.
Using
Once the package is installed (and assuming the repo was cloned to make changes) using python -m pip install -e .
:
decora scan
decora connect -a "C84441EE-5C57-2681-1BD5-82AF18C58F5D"
decora connect -a "C84441EE-5C57-2681-1BD5-82AF18C58F5D" -k "8c4c89fa00"
Releasing
One of
bumpver update --commit --tag-commit --push --major
bumpver update --commit --tag-commit --push --minor
bumpver update --commit --tag-commit --push --patch
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
decora_bleak-0.1.0.tar.gz
(8.3 kB
view hashes)
Built Distribution
Close
Hashes for decora_bleak-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af6ec82197096f9dfa4b5a29d482db730b9a1b241cdfebc1923d0ebcfa810cdb |
|
MD5 | 8b5af36ea89786b718ae06832649b393 |
|
BLAKE2b-256 | 329d1a3f2bef0982b66fc67d38b7237b410debe8ca290c2b389c2628a5a426aa |