Hey everyone - I’ve set up Home Assistant on a VM on my computer, and am trying to connect it to my Plex. I’ve installed the add-on, used my claim code, and get the “service legacy-services successfully started” message in the Log.
But in the Plex UI, it says “app.plex.tv is unable to connect to ‘Home Assistant’ securely.” I’ve put the IPv4 address in “List of IP addresses and networks that are allowed without auth”, and added in my xxx.duckdns.org URL under “Custom server access URLs” - doesn’t seem to have made a difference.
Does anyone have experience with this and can tell me where I’m going wrong?
Hello!
Your Plex issue comes from the server not being reachable securely: e-zpassri requires HTTPS with a valid certificate and proper port forwarding. To fix it, set up DuckDNS with Let’s Encrypt in Home Assistant, forward port 32400 on your router, and update Plex’s custom server access URLs to include the full. This ensures Plex can connect securely to your VM.
Thank you for this comment. I have:
- Set up DuckDNS with Let’s Encrypt; Home Assistant has HTTPS
- Set up port forwarding for 32400
- And I entered my Home Assistant URL into Plex’s custom server access URLs.
So under “Custom server access URLs” I have https://[homeassistanturl].duckdns.org
and under “List of IP addresses and networks that are allowed without auth” I have 192.168.X.XXX:32400
However, now when I click “Open Web UI” from the Home Assistant add-on, I get a “Your connection is not private” error. This is progress from the ‘Could not connect’ error I got previously, and I’m sure I’ve just entered something incorrectly. Plex still says it can’t connect to Home Assistant securely.