Python application that will change the color of your phillips hue lights dependent on the album art color for the current song you are listening to on Spotify. Currently under development.
TODO
- In order to run, you need to first create a spotify application. Set http://localhost:8080 as the redirect url and take note of the Client ID and the Client Secret.
- Inside the Phillipfy folder create a file named
.env
. Inside this file, add the following lines:
SPOTIPY_CLIENT_ID=<your client id>
SPOTIPY_CLIENT_SECRET=<your client secret>
SPOTIPY_REDIRECT_URI=http://localhost:8080
SPOTIPY_CLIENT_USERNAME=<your spotify username>
- Right before starting the app with
run.sh
, press the bridge button on your Phillips Hue Bridge. - Start playing music, and run the app!
- note: I have modified the
colorgram.py
module to support this application with url images. I am waiting for the maintainers to merge my PR, so that custom modifiaction of the module is no longer necessary