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.0b5.post1

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.0b5.post1
File Size Uploaded Provenance Actions
casambi_bt_skk-0.4.0b5.post1.tar.gz 58.3 kB Without provenance Details for casambi_bt_skk-0.4.0b5.post1.tar.gz

Built distribution (wheel)

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

Total release size: 100.6 kB

Release files / casambi_bt_skk-0.4.0b5.post1.tar.gz

Download URL casambi_bt_skk-0.4.0b5.post1.tar.gz
Size 58.3 kB
Tags Source
SHA-256 checksum
How to use checksums
deee83582c47582eb4394961b2a2608f9988b72cb3c957ced345aa082523cf9c
BLAKE2b-256 checksum
How to use checksums
4ecd4cd407693f9d798437a2aae024e41c47cc2ea9009d8e47bc2dc687870d1a
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.post1-py3-none-any.whl

Download URL casambi_bt_skk-0.4.0b5.post1-py3-none-any.whl
Size 42.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7910752cd73cd5360fe592634f156d047e345d56a9d5d521418059e3caa20705
BLAKE2b-256 checksum
How to use checksums
941e6408fa5859aff7c97da93dc5aff20389d85e6375a7a38748c3c6e61027b0
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.post1

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