For this month’s sponsored Plex video, I delved into the webhooks feature that’s part of your Plex Pass subscription.
Webhooks fire off data to a specified URL when specific events happen on your Plex server, such as adding new content, pausing, or playing media. Some of the applications that can listen for these webhooks include IFTTT, Zapier, Home Assistant and Homebridge.
Although it might be slightly complicated to set up, once you have it figured out it can do some cool stuff. In the video I demonstrate how I connected my Plex server with Homebridge, allowing my lights to turn on and off automatically based on hitting the play and pause button.
I also slightly modified some code in the Homebridge Plex plugin I was using to look for a Plex “scrobble” event that fires off whenever the credits are reached or 90% of the content is played. This will turn my lights on right when the end credits start rolling most of the time!
Overall, webhooks in Plex open up a world of possibilities for integrating your Plex server with your smart home system. While it may be complicated to set up initially, the end result is a seamless and enjoyable viewing experience.