Skip to content

rileyjshaw/huertbeat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

huertbeat

Hue heartbeat.

Pulse available Philips hue lights to whatever music is playing.

Install

git clone https://github.com/rileyjshaw/huertbeat.git
cd huertbeat
npm i
touch .credentials.json

Create 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"
     }
}

Use

Play a song on Spotify, turn on your Hue lights, then:

make start -s

Licensed under MIT. Created by rileyjshaw.

About

๐Ÿ’— Pulse available Philips hue lights to whatever music is playing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published