Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

PyPI Discord

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):

Gateway settings Network settings Performance settings

Metadata

Release files for casambi-bt-skk 0.4.0b1.post10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for casambi-bt-skk 0.4.0b1.post10
File Size Uploaded Provenance Actions
casambi_bt_skk-0.4.0b1.post10.tar.gz 51.6 kB Without provenance Details for casambi_bt_skk-0.4.0b1.post10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for casambi-bt-skk 0.4.0b1.post10
File Interpreter ABI Platform Actions
casambi_bt_skk-0.4.0b1.post10-py3-none-any.whl Python 3 none any Details for casambi_bt_skk-0.4.0b1.post10-py3-none-any.whl

Total release size: 91.1 kB

Release files / casambi_bt_skk-0.4.0b1.post10.tar.gz

Download URL casambi_bt_skk-0.4.0b1.post10.tar.gz
Size 51.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8ca0f99aa6b1f0687b7cd06169e40d876a904cb70c5127969ad6f010389f0b13
BLAKE2b-256 checksum
How to use checksums
7fb45a924460ae64b88f576dbefbcea1b7b3eb3c85b475588e440fe7be1b0178
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.0b1.post10-py3-none-any.whl

Download URL casambi_bt_skk-0.4.0b1.post10-py3-none-any.whl
Size 39.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
838b22650c36e2f06ca131f8728a41336606934cb3ddccfd1e55b794089fb59d
BLAKE2b-256 checksum
How to use checksums
9cf0231045a035cf5c54564b8d70b48091332fb4c8ce04381fa2806a58c8906e
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.0b1.post10

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page