This release is a pre-release and may not be stable for production use.
A bluetooth based Python library for controlling Casambi networks
This library provides a currently alpha quality interface to Casambi-based lights over Bluetooth. The author is not associated with Casambi and the implementation is based on his own analysis of the protocol. This interface is not feature complete and was only tested with a very small network.
If you want to check out my (slow) progress in writing a integration for Home Assistant using this library you can take a look at https://github.com/lkempf/casambi-bt-hass/.
For a more mature solution using a gateway and the official Casambi API have a look at https://github.com/hellqvio86/aiocasambi.
Getting started
This library is available on PyPi:
pip install casambi-bt
Have a look at demo.py for a small example.
MacOS
MacOS does not expose the Bluetooth MAC address via their official API, if you're running this library on MacOS, it will use an undocumented IOBluetooth API to get the MAC Address. Without the real MAC address the integration with Casambi will not work. If you're running into problems fetching the MAC address on MacOS, try it on a Raspberry Pi.
Casambi network setup
If you have problems connecting to the network please check that your network is configured appropriately before creating an issue. The network I test this with uses the Evoultion firmware and is configured as follows (screenshots are for the iOS app but the Android app should look very similar):
Metadata
Release files for casambi-bt-skk 0.4.0b5.post2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| casambi_bt_skk-0.4.0b5.post2.tar.gz | 58.7 kB | Without provenance | Details for casambi_bt_skk-0.4.0b5.post2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| casambi_bt_skk-0.4.0b5.post2-py3-none-any.whl | Python 3 | none | any | Details for casambi_bt_skk-0.4.0b5.post2-py3-none-any.whl |
Total release size: 101.1 kB
Release files / casambi_bt_skk-0.4.0b5.post2.tar.gz
| Download URL | casambi_bt_skk-0.4.0b5.post2.tar.gz |
|---|---|
| Size | 58.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b213b8d54b27825ce77eea20735fcb36d675cc7668edaa301b66783a7d748c94
|
|
BLAKE2b-256 checksum How to use checksums |
54218985ab37d0d9e26fcf6fc71ecb276b0e1df0a175bac1b540a5a5b8797f40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / casambi_bt_skk-0.4.0b5.post2-py3-none-any.whl
| Download URL | casambi_bt_skk-0.4.0b5.post2-py3-none-any.whl |
|---|---|
| Size | 42.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d0541ef06ed4fe398a2aacb85b1153beba36e1f808b85da34100f20ecc8b99eb
|
|
BLAKE2b-256 checksum How to use checksums |
99d9f01ff9175a41ce4fea6a496c6bbb13162bbfde565d9776b66bf732a98093
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for casambi-bt-skk 0.4.0b5.post2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.