Automatically modify the state of your Philips Hue lights upon certain Plex playback events. Requires a Plex Pass.
- Install NodeJS v14.15.x
- Clone this repository to your local disk.
- Copy
config.example.jsontoconfig.json. - Modify
config.jsonas you wish. - Set up a Plex Webhook to point to the server and port running PlexHue
- i.e. Add a Webhook with URL
http://localhost:8085if your Plex server is running on the same machine as PlexHue, and you're using the default PlexHue port of 8085.
- i.e. Add a Webhook with URL
- Run
node .\index.jsand follow the instructions.
Enjoy!
If you'd like to have PlexHue start up when your Windows server starts up:
- Install
pm2withnpm i -g pm2 cdinto the PlexHue repo directory, typepm2 start .\index.js, and press enter.- Type
pm2 saveand press enter. - Type
npm install pm2-windows-startup -gand press enter.- This installs the
pm2-windows-startupscript locally.
- This installs the
- Type
pm2-startup installand press enter.