JurajNyiri / PlexMeetsHomeAssistant

Custom card which integrates plex into Home Assistant and makes it possible to launch movies or tv shows on TV with a simple click
Apache License 2.0
107 stars 8 forks source link

HASS Iphone App -- Plex Server Did not respond #11

Closed mew0717 closed 3 years ago

mew0717 commented 3 years ago

Have this rendering in a browser just fine, but I get this error on the Home Assistant iPhone app:

Error: Plex server did not respond Details of the error: Network Error while requesting url: "http://192.17.x.x:32400/clients?X-Plex-Token=TOKEN".

JurajNyiri commented 3 years ago

You need to be on the same network when using local IP. Also:

https://github.com/JurajNyiri/PlexMeetsHomeAssistant/issues/5 https://github.com/JurajNyiri/PlexMeetsHomeAssistant/issues/3

Does the URL work when you open it in iphone?

mew0717 commented 3 years ago

The iphone results in a blank screen, where as the desktop browser provides:

<MediaContainer size="1">
<Server name="Roku 4 - YY0001438323" host="192.168.7.31" address="192.168.7.31" port="8324" machineIdentifier="f617628bdc042bc82a1764ac8b730b9c" version="6.7.24.7009-0d0d064dd-Plex" protocol="plex" product="Plex for Roku" deviceClass="stb" protocolVersion="1" protocolCapabilities="timeline,playback,navigation,playqueues"/>
</MediaContainer>
JurajNyiri commented 3 years ago

The url also needs to work on your iPhone. If it doesn't it will not work..