aio library to control Casambi light through cloudapi


Keywords
casambi, light, aio-library, home-automation, python-library
License
MIT
Install
pip install aiocasambi==0.251

Documentation

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.