/huehue

Python API Client for controlling a Philips Hue Bridge/Lights

Primary LanguagePythonMIT LicenseMIT

HueHue

Logo

tests Codecov PyPI Read the Docs

This is a CLI and API Client for the Philips Hue lights written in Python. I decided to write this project so I could add light control to some personal automation tasks. It's a work in progress that started as a very terrible wrapper script and is slowly turning into something a bit nicer.

Installing

Pipx might be the most convenient way to install Python CLI Tools Currently?

python3 -m pip install --user pipx
python3 -m pipx ensurepath
pipx completions
pipx install huehue

Example Usage

Currently working out how I want the cli to work....

huehue bridge list  # List all the bridges on your network (probably there is only one)
huehue lights list  

Notes

Attempting in some ways to follow the Google Python Style Guide, but probably going to give up and use black instead. https://google.github.io/styleguide/pyguide.html