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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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