Skip to content

fergalmoran/disco-hue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disco Hue

Alt Text

Flash your Hue in time to the groove.

Installation

Create a virtual env and install the dependencies

$ virtualenv <env>
$ source <env>/bin/activate
$ pip install -r requirements.txt
$ python disco_hue.py --help

Usage

Create a virtual env and install dependencies

disco_hue.py [-h] -b BRIDGE_IP [-f FILE] [-l LIGHT_ID]

optional arguments:
  -b BRIDGE_IP, --bridge-ip BRIDGE_IP
                        IP or DNS name of your Hue bridge
  -f FILE, --file FILE  Audio file to play, omit to use currently playing audio (a bit wonky at the moment)
  -l LIGHT_ID, --light-id LIGHT_ID
                        ID of the light you wish to flash (blank to choose interactively)