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

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.2.2.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

decora_bleak-0.2.2-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file decora_bleak-0.2.2.tar.gz.

File metadata

  • Download URL: decora_bleak-0.2.2.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for decora_bleak-0.2.2.tar.gz
Algorithm Hash digest
SHA256 ac11e9f21637f2a9496d0518438773aad231c15b94f8981b52ebe71f6d488440
MD5 c93a4de72e8a3dacb0c77bde7a177ae4
BLAKE2b-256 a21a410ba72710975151f28be2cb4ee29f02acf483ec03e266f2a0db3470131b

See more details on using hashes here.

File details

Details for the file decora_bleak-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: decora_bleak-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for decora_bleak-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d990471cc74f19a9c5d20ec9781f81906a465c8a1adba79d4f82f255fb8bec3c
MD5 9bbf8d84a769c8880ce478b7b73d2af5
BLAKE2b-256 12409ce352fda4a797931bf7acbb29b81a24d009522d2639c18d213616301a77

See more details on using hashes here.

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