Skip to main content

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

python3 example.py
python3 example.py --address "C84441EE-5C57-2681-1BD5-82AF18C58F5D"
python3 example.py --address "C84441EE-5C57-2681-1BD5-82AF18C58F5D" --api-key "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.0.1.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

decora_bleak-0.0.1-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page