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.json
toconfig.json
. - Modify
config.json
as 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:8085
if 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.js
and follow the instructions.
Enjoy!
If you'd like to have PlexHue start up when your Windows server starts up:
- Install
pm2
withnpm i -g pm2
cd
into the PlexHue repo directory, typepm2 start .\index.js
, and press enter.- Type
pm2 save
and press enter. - Type
npm install pm2-windows-startup -g
and press enter.- This installs the
pm2-windows-startup
script locally.
- This installs the
- Type
pm2-startup install
and press enter.