Skip to main content

aio library to control Casambi light through cloudapi

Project description

PyPI - Python Version PyPI GitHub GitHub issues GitHub last commit PyPI - Downloads

Python library for controlling Casambi lights

aio Python library for controlling Casambi via Cloud API

Supported modes

These modes are implemented:

  • on/off
  • brightness
  • color temperature
  • rgb
  • rgbw

Getting Started

  1. Request developer api key from Casambi: https://developer.casambi.com/
  2. Setup a site in Casambi app: http://support.casambi.com/support/solutions/articles/12000041325-how-to-create-a-site

Installating

Install this library through pip:

pip install aiocasambi

Authors

  • Olof Hellqvist - Initial work

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Test script

Add the credentials to casambi.yaml.example and rename the file to casambi.yaml

Build localy in env

python3 -m venv aiocasambi
source ./aiocasambi/bin/activate
./aiocasambi/bin/pip3 install -r ./aiocasambi/requirements.txt

Disclaimer

This library is neither affiliated with nor endorsed by Casambi.

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

aiocasambi-0.285.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

aiocasambi-0.285-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

Details for the file aiocasambi-0.285.tar.gz.

File metadata

  • Download URL: aiocasambi-0.285.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.6

File hashes

Hashes for aiocasambi-0.285.tar.gz
Algorithm Hash digest
SHA256 daa08bb475e2c5855125e945ec8ef9b7d9e4d28c751fad7e1361132ab742267e
MD5 b499b56171c3522c57b4a6be71eeae88
BLAKE2b-256 3c082fc8f7d8f9a4f688f6dc15ee7ccba739f226ed6fc11ac365894f8a700b2a

See more details on using hashes here.

File details

Details for the file aiocasambi-0.285-py3-none-any.whl.

File metadata

  • Download URL: aiocasambi-0.285-py3-none-any.whl
  • Upload date:
  • Size: 35.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.6

File hashes

Hashes for aiocasambi-0.285-py3-none-any.whl
Algorithm Hash digest
SHA256 6f9b93cf86f5e2a7897c9a9555250d6705de0d9164dd35dde6626dc4ea32df1d
MD5 76282dee10252b664123bcae849c16db
BLAKE2b-256 bac8323361be6df3bb3672b005e278f64ca1e10242fe6bd65390a08341a2f71f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page