Adding the Plex integration to Home Assistant is pretty straightforward with the exception of finding your Plex token.
Find Your Plex token:
- Sign into your Plex.tv account
- Browse to one of the media files (TV episode, movie) on your connected server. You’ll need a Plex pass for this.
- Select Get info
- Click View XML
- Ignore the XML. Look in the URL to the XML page - you’ll see
Plex-Token\=XYZZY
. That’s the token you’ll need.
Set up the Plex Home Assistant Integration
Once you have the token,
- Sign into your Home Assistant
- Go to Configuration -> Integrations
- Pick Add, and select Plex.
- Pick the manual setup option
- Enter your Plex server’s address and the token.