Hue heartbeat.
Pulse available Philips hue lights to whatever music is playing.
git clone https://github.com/rileyjshaw/huertbeat.git
cd huertbeat
npm i
touch .credentials.jsonCreate a blank Spotify app at https://beta.developer.spotify.com/dashboard/login,
and set the Redirect URL to http://localhost:1312/callback. Then, add keys to
.credentials.json in the following shape:
{
"hue": {
"host": <Your Hue bridge's local IP>,
"username": <Your authenticated Hue bridge ID>
},
"spotify": {
"clientId": <Your Spotify app's client ID>,
"clientSecret": <Your Spotify app's client secret>,
"redirectUri": "http://localhost:1312/callback"
}
}
Play a song on Spotify, turn on your Hue lights, then:
make start -sLicensed under MIT. Created by rileyjshaw.