Home

Awesome

wherearehue

Using Phue and whereami to beat some brain into those Hue lamps.

How to use

  1. Install everything with pip install -r requirements.txt
  2. Modify the variables in the py files for your needs.
  3. Train whereami some rooms. The room name has to be part of the lamp name in Hue. whereami learn -- workroom
  4. Press the link button on your Hue bridge and fire up wherearehue

Exmaple output:

Detected room workroom.
Turn on ['workroom drawing', 'workroom spot', 'workroom main'] ? (Y/n)
Turning lights on
Turn off all other lights ? (Y/n)
Turning lights off

Now feel free to bind the script to any hotkey of your laptop and toggle the lights wherever you are simply by pressing that button and hitting enter twice. (Checks can easily be removed)

Important