This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Comments
Can you paste the entire node for me? If you prefer, you can also PM me with it?
1) http://192.168.1.xxx:21458 (your local IP) compared to:
2) http://77.250.127.13:21458
3) http://192.168.1.xxx:32400
Please provide exact responses to all three scenarios
2) 401 Unauthorized (but with /web i get plex login)
3) same as 2
Thanks Plex. Not. This is a plex issue, I just don't encounter it with my setup.
You have been a great help so far, thanks very much!
Are you okay with checking one more thing in a few minutes?
But i guess i have to reregister.
Updating media cache.........
Unregistering media triggers done
Getting settings
Found xx On Deck items
Adding ondeck items to cache.......Found xx media items of type: episode
Adding episode to cache.......Found xx Recent items
Adding recent items to cache.......Found xxx media items of type: movie
Adding movie to cache.......Media Cache Updated
Registering media triggers done
Plex ready for commands..
But that is not the way you want it to work. The port internally is 32400 by default right?
So if you set 32400 as default and a setting to override that..
1) localip:21458 - connection refused. This is what I was fearing I guess. Plex.tv only provides the port for the external (77) address, but not the port for the local IP. This sucks slightly, but I think I know a way around this.
2) 401 is expected here
3) a 401 here is NOT expected. I can, from my local network access this URL without a login or anything. However, this might not be an issue as the Homey Plex app (if it uses that IP/port, which right now it doesn't for you) also sends an auth header with token.
The issue is (it seems) that plex returns (with the /pms/servers.xml URL) just the port for the external connection (scenario 2), however, it seems in your setup, the external port is different than the internal port (default: 32400).
If, in remote access in plex, you would actually change your remote port to 32400 ("Manually specify public port"), if not already the case, and re-pair with plex.tv, you might actually have a work-around.
But before you try that, please try this:
with a loggedin plex.tv session visit https://plex.tv/devices.xml
This is a larger xml, but it should also contain your server (provides="server"). If so, the <Device> node for your server, also contains child nodes named <Connection>. Mine looks like this:
What does yours look like (all connection children please).
I'd still need to come up with a solid fix for non-default ports, so if you could please run the test I provided three posts up I would be grateful!
But I guess you have to add a setting to manually adjust the local port PMS is listening on when it is not the default 32400.
Anyway let me know if you want me to test something. Right now it is good night.
But the bottom line is - plex.tv only returns the external port on the call I'm currently using. So that screws things up as if you have setup a custom port, it will use that on the local IP as well. I'd still like to be able to support external access as well so I will code up something that picks up the correct port from a different XML endpoint.
I will need to parse that one I guess..
Regarding 3, i enforce authentication on my local network. So it is logical that there is a 401 on my local adress. I do not want my daughter to watch a horror movie by accident (then i will not get any sleep)
Just to let you know, my chromecast 2 is working great now also.
Just received my Homey! WooHoo, so far loving it, had issues with the voice and all but all good now but for some reason I can establish the connection during the PIN process but the PMS server is not showing up!.
I am running Plex Server on QNAP NAS but it's saying "you need to register plex media server first go to settings page", just wondering what am i doing wrong? and if anyone else had this issue?
Thanks in Advance,
Regards,
from DownUnder!
I'd still like to be able to trigger on Player start / stop also, so I can use it to trigger my lights and blinds in a certain room, is this possible?