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.