git pull https://github.com/spcbar/hue-cli
- Install PHP.
- Change the config to your needs, it has hardcoded IP of the Hue Hub, username and lamp ID.
Run ./hue.sh COMMAND
.
on
: turns the lamp onoff
: turns the lamp offbrightness VALUE
: set brightness
php ./app/satellite.php
Start before interaction:
make high-low-start
End after interaction:
make high-low-stop
Run the web app:
make web
open http://localhost:9080/hue.html
open http://localhost:9080/countdown.php
Press start
button and speak.
The lamp will change brightness according to voice amplitude.