mirror of
https://github.com/fergalmoran/disco-hue.git
synced 2026-02-15 12:35:03 +00:00
32 lines
769 B
Markdown
32 lines
769 B
Markdown
# Disco Hue
|
|
|
|

|
|
|
|
Flash your Hue in time to the groove.
|
|
|
|
### Installation
|
|
|
|
Create a virtual env and install the dependencies
|
|
|
|
```sh
|
|
$ virtualenv <env>
|
|
$ source <env>/bin/activate
|
|
$ pip install -r requirements.txt
|
|
$ python disco_hue.py --help
|
|
```
|
|
|
|
### Usage
|
|
|
|
Create a virtual env and install dependencies
|
|
|
|
```sh
|
|
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)
|
|
```
|