Skip to main content

Lexman CCT Smart Bulb control through bluetooth in Python

Project description

LexmanBLE

GitHub Release GitHub Activity License

pre-commit Black

hacs Project Maintenance BuyMeCoffee

Discord Community Forum

Python package and Home assistant custom component for controlling Lexman (Leroy Merlin brand) CCT smart bulbs over bluetooth.

Pip package installation:

pip install lexman-ble

Home assistant installation through HACS:

HACS > Menu > Custom repositories > Paste https://github.com/davidsmfreire/lexman-ble and select Type "Integration"

Then search for LexmanBLE and download.

The custom component will set up the following platforms.

Platform Description
light Control a smart bulb

logo

Home assistant manual custom_components installation

  1. Using the tool of choice open the directory (folder) for your HA configuration (where you find configuration.yaml).
  2. If you do not have a custom_components directory (folder) there, you need to create it.
  3. In the custom_components directory (folder) create a new folder called lexman_ble.
  4. Download all the files from the custom_components/lexman_ble/ directory (folder) in this repository.
  5. Place the files you downloaded in the new directory (folder) you created.
  6. Restart Home Assistant
  7. In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "LexmanBLE"

Contributions are welcome!

If you want to contribute to this please read the Contribution guidelines

Credits

This project was generated from @oncleben31's Home Assistant Custom Component Cookiecutter template.

Code template was mainly taken from @Ludeeus's integration_blueprint template

The lexman_ble library implementation was inspired in @Bluetooth-Devices's led_ble project.


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

lexman_ble-0.1.2.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

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

lexman_ble-0.1.2-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file lexman_ble-0.1.2.tar.gz.

File metadata

  • Download URL: lexman_ble-0.1.2.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for lexman_ble-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4d4ed909ff49a69e8c02a1fb0709f4cd1852c5a3285d09cb110aeb14b723cd24
MD5 c42976dd25a9b3bc50685e6f7c07e9a0
BLAKE2b-256 b105765feeadae89c804b636a1ac91b8e5c6e7f260fa71a6369f406dba932d07

See more details on using hashes here.

File details

Details for the file lexman_ble-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: lexman_ble-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for lexman_ble-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fa78095ef173007c185b78e89a57f0f86d7972eea0aa4c5df3e8354de5b4ebeb
MD5 9d7ae1b6e05b25c38e4e27617b5524e9
BLAKE2b-256 30a308cc3ce52dd2849193066f5e13601191e458c824dba7de3b8b9868be78c6

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