Following all the instructions on Plex setup, including adding 192.168.0.0/24 to the list of authorized IP address within my Plex Server.
But, on boot, I get this error:
Setup failed for plex: No setup function defined.
A couple things to note:
Using HassIO 0.98.5
The Plex watch sensor works
SSL true / Verify false works
I’ve continued to update the claim token after expiration (lasts only 5 minutes)
I even tried a null token, i.e. adding 192.168.0.0/24 for authorization without login
The only thing not working is media_player settings.
Google-fu found nothing like my error. The word “function” doesn’t exist as a whole word anywhere on the Plex instruction. What’s missing here? My plex config:
The new update, 0.99, has reworked how Plex communicates. Following the new setup, it does work, without the errors now.
However, there doesn’t appear to be Plex control anymore – don’t know if that worked before or not… But it does register the number of viewing streams as it did before.
As mentioned over in Error when configuring Plex Server, HA 0.100 will have a new setup method for Plex that should make it more reliable to configure.
@guice can you confirm if media_player entities are created when Plex clients begin playing content? It may look like nothing is happening with the integration before that.
I think I see what’s going on: looks like some of my old plex file configurations (plex.conf, plex.yaml package, and old integration entities) were conflicting with the new setup.
What I did:
Removed the old plex.conf and my plex.yaml package configurations.
Removed the entity from the Configuration UI.
Added a new Plex Integration via the UI
This did the oauth redirection login to Plex and back
Plex Sensor successfully showed – with a new name (went from sensor.plex to sensor.plex_zues)
Opened the Plex app on my phone, and media_player.plex_blank_card_max was now added.
Thanks, @jjlawren. I appear to be up and fully functional now.