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.

Homey Plex application - main discussion thread

1121315171825

Comments

  • ImkoImko Member
    Just found out the update was approved, tryed it on my rasplex and works like a charm. Have to play some more with it but first impressions  B) 
  • Nice :-)

    let me know if you run into any issues.
  • mitchmitch Member
    Okay, I am obviously doing something wrong (trying to watch ironman)

    This is what Homey kicks back to me: 

    Sorry I do not have enough information to find what you want to watch
    Sorry I do not know what you mean with watch ironman
    Could not connect to player, trying to update player details (does this about 6x)
    Sorry is your player running?  (repeats about every 1-2 minutes or so)

    I can send a command and Homey will ask what movie I want to watch, from there it's all down hill  :'(

  • Weird. Did you reset settings after you installed the update? 
    On the settings screen, does it show your installed player? Did you reinstall your player?
    could you open a chrome console on the plex settings screen and see if you can find some more info?
  • mitchmitch Member
    1. Yes
    2. Yes
    3. I'll check and post back

    Thanks

  • mitchmitch Member
    MikeOne said:
    Weird. Did you reset settings after you installed the update? 
    On the settings screen, does it show your installed player? Did you reinstall your player?
    could you open a chrome console on the plex settings screen and see if you can find some more info?
    Did a complete re-install of the app and player.

    Also sent you log files via DM
  • oh... and BTW - take a small pause between "iron" and "man" as it seems to recognise "ironman" which isn't a voice trigger match probably. Are you able to play anything else? Also, IS your player actually running (and connected to plex.tv)?
  • capicucapicu Member
    Great app!

    Do you think it's somehow possible to process HDMI-CEC commands? E.g. when I'm casting from the plex app (on android) it's possible to pause/continue using my remote.

    I'm a developer as well but I have no idea if that somehow is possible. I could also investigate it if you need support


    Thanks a lot.
  • mitchmitch Member
    MikeOne said:
    oh... and BTW - take a small pause between "iron" and "man" as it seems to recognise "ironman" which isn't a voice trigger match probably. Are you able to play anything else? Also, IS your player actually running (and connected to plex.tv)?
    Now that you mention it, none of the movies I tried were single word movies. I'll try again when I get home.

    Do you mean my PHT or PMS is running? PMS - yes PHT - No
    Logged into plex.tv? Yes

    Again, I will try all of this when I get home
  • Yess!! You Rock @MikeOne !!
  • mitch said:
    MikeOne said:
    oh... and BTW - take a small pause between "iron" and "man" as it seems to recognise "ironman" which isn't a voice trigger match probably. Are you able to play anything else? Also, IS your player actually running (and connected to plex.tv)?
    Now that you mention it, none of the movies I tried were single word movies. I'll try again when I get home.

    Do you mean my PHT or PMS is running? PMS - yes PHT - No
    Logged into plex.tv? Yes

    Again, I will try all of this when I get home
    PHT needs to be running so it is not surprising that it says that it cannot connect to player.

    @Trustme2 - thanks :-) - and great avatar btw..


  • mitchmitch Member
    @MikeOne - silly me okay, part of my problem is that I was trying to watch movies on my Plex Server via Roku. I have tried starting movies via my PHT (vaio laptop). Still nothing. When asking to watch Alien (via the web speech-input console), Homey will ask me which version I want to watch, but that's it. 

    Still getting this: 


  • mitchmitch Member
    Oh and current log details here: 

    type": "info",
        "host": "app.plex.tv",
        "userAgent": "Mozilla/5.0 (X11; CrOS x86_64 7978.74.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.103 Safari/537.36",
        "browser": {
          "id": "chrome",
          "name": "Chrome",
          "version": "50.0",
          "webkit": true,
          "platformModifierKey": "ctrl",
          "platformID": "unknown",
          "platform": "Unknown Platform",
          "platformVersion": "0"
        },
        "version": "2.7.2",
        "primaryServerUrl": "https://<my ip>.5e5b28e8e4b14f21a6ea6a91cdd6a156.plex.direct:32400/",
        "primaryServerAuthToken": true,
        "username": "XXXX,
        "cloudUrl": [
          {
            "scheme": "https",
            "address": "plex.tv",
            "uri": "https://plex.tv",
            "testState": "connected",
            "isBundled": false,
            "isFallback": false,
            "isRelayed": false,
            "isPossiblyCrossNetworkProtected": false,
            "isUntested": false,
            "isPending": false,
            "isConnected": true,
            "isUnauthorized": false,
            "isUnavailable": false,
            "isFailed": false,
            "isAborted": false,
            "isLoopback": false,
            "isPrivate": false,
            "isHttps": true,
            "isSecure": true,
            "isPlexDirect": false,
            "currentTest": null,
            "sources": [
              {
                "id": "internal"
              }
            ]
          }
        ],
        "cloudAccessToken": true
      },
      {
        "type": "log:message",
        "level": 1,
        "message": "experience is not in PersistentWebStorage",
        "time": "2016-07-05T16:38:29.862Z"
      },
      {
        "type": "log:message",
        "level": 4,
        "message": "[UserManager] autoLogin false",
        "time": "2016-07-05T16:38:29.868Z"
      },
      {
        "type": "log:message",
        "level": 4,
        "message": "[Servers] Initializing...",
        "time": "2016-07-05T16:38:29.872Z"
      },
      {
        "type": "log:message",
        "level": 4,
        "message": "[Servers] Waiting for initial servers = plex.tv",
        "time": "2016-07-05T16:38:29.995Z"
      },
      {
        "type": "log:message",
        "level": 4,
        "message": "[Primary Server] Waiting to set the primary server",
        "time": "2016-07-05T16:38:29.998Z"
      },
      {
        "type": "log:message",
        "level": 4,
        "message": "[Primary Server] Waiting for the last primary server, ab2f60d2794ccdb814394d0ec13cdfd68604fbc0, to connect",
        "time": "2016-07-05T16:38:29.999Z"
      },
      {
        "type": "log:message",
        "level": 4,
        "message": "[Commands] Executing testServerConnection",
        "time": "2016-07-05T16:38:30.008Z"
      },
      {
        "type": "log:message",
        "level": 4,
        "message": "[Commands] Executing testServerConnection",
        "time": "2016-07-05T16:38:30.012Z"
      },
      {
        "type": "log:message",
        "level": 4,
        "message": "[Commands] Executing testServerConnection",
        "time": "2016-07-05T16:38:30.014Z"
      },
      {
        "type": "log:message",
        "level": 4,
        "message": "[Commands] Executing testServerConnection",
        "time": "2016-07-05T16:38:30.015Z"
      },
      {
        "type": "log:message",
        "level": 4,
        "message": "[Servers] Finished initialization",
        "time": "2016-07-05T16:38:30.016Z"
      },
      {
        "type": "navigation",
        "route": "settings",
        "args": [
          null
        ],
        "fragment": "#!/settings",
        "time": "2016-07-05T16:38:30.068Z"
      },
      {
        "type": "ajax",
        "url": "translations/en.json",
        "status": 200,
        "responseLength": 2,
        "time": "2016-07-05T16:38:30.071Z"

    Both PHT and plex.tv logged in and running
  • MikeOneMikeOne Member
    edited July 2016
    Hi Mitch,

    not sure what log that is, but it's not the the Homey plex app log. It is better if you post a screenshot of the Homey Plex settings page with the chrome console open! 
  • mitchmitch Member
    Sorry, that was the debug log file

    Here you go: 

  • hmm, this looks fine.. So that player that shows as installed is running?
    maybe try and reinstall it?
  • mitchmitch Member
    This was taken after the reinstall. 
  • Of the player?
  • mitchmitch Member
    Yes, of the player
  • DieterKoblenzDieterKoblenz Member
    edited July 2016
    Edit 1 Reboot did the trick

    Edit 2 - Do flow triggers Plex starts playing/stop playing only work when you use voice commands? When I use my remote to start a movie it doesn't trigger.



  • Edit 2 - Do flow triggers Plex starts playing/stop playing only work when you use voice commands? When I use my remote to start a movie it doesn't trigger.


    That is correct (at the moment). I have no reliable way to query PMS to find out if something is playing unfortunately. Maybe I'll have another look at this to see if I can reliably poll an endpoint that gives me this ability.
  • MikeOne said:

    Edit 2 - Do flow triggers Plex starts playing/stop playing only work when you use voice commands? When I use my remote to start a movie it doesn't trigger.


    That is correct (at the moment). I have no reliable way to query PMS to find out if something is playing unfortunately. Maybe I'll have another look at this to see if I can reliably poll an endpoint that gives me this ability.
    Can't you poll the player directly?
  • Potentially yes, at least with ChromeCast (I doubt PHT has something available). It would mean that I would have to poll all installed players at a pretty high interval rate to make it usable - which doesn't seem to be a great solution. 

    Maybe there are better solutions, I just need to spend some time on finding them :-)
  • capicu said:
    Great app!

    Do you think it's somehow possible to process HDMI-CEC commands? E.g. when I'm casting from the plex app (on android) it's possible to pause/continue using my remote.

    I'm a developer as well but I have no idea if that somehow is possible. I could also investigate it if you need support


    Thanks a lot.
    Sorry, this one slipped through.

    I'm surprised that it wouldn't work really. The HDMI-CEC commands really have not much to do with the Plex app or the Chrome driver as far as I can determine. it is your TV that process that (i.e. passes the signal on to the HDMI ports). All the Plex App is really doing is telling ChromeCast to start streaming a URL. From that point on it's 'hands-off' for Homey, until a new command is sent to the Chromecast. 

    You tried it and it doesn't work? While it does work from another source (i.e. plex web)?
  • capicucapicu Member
    MikeOne said:
    capicu said:
    Great app!

    Do you think it's somehow possible to process HDMI-CEC commands? E.g. when I'm casting from the plex app (on android) it's possible to pause/continue using my remote.

    I'm a developer as well but I have no idea if that somehow is possible. I could also investigate it if you need support


    Thanks a lot.
    Sorry, this one slipped through.

    I'm surprised that it wouldn't work really. The HDMI-CEC commands really have not much to do with the Plex app or the Chrome driver as far as I can determine. it is your TV that process that (i.e. passes the signal on to the HDMI ports). All the Plex App is really doing is telling ChromeCast to start streaming a URL. From that point on it's 'hands-off' for Homey, until a new command is sent to the Chromecast. 

    You tried it and it doesn't work? While it does work from another source (i.e. plex web)?
    Thanks for answering. Yes, it works when casting from the Plex Android app. I was also surprised when trying for the 1st time.
  • mitchmitch Member
    Multiple re-installs and reboots, etc.
    Spending way too much time on this with no success. I give up
    Never got anything working.
    Congrats to those who do have it working. 

  • mitch said:
    Multiple re-installs and reboots, etc.
    Spending way too much time on this with no success. I give up
    Never got anything working.
    Congrats to those who do have it working. 

    I'm sorry to hear that. No idea what could be wrong. The only option I see that might help you is to add me as a Homey user. Maybe I can then see what is going on..
  • mitchmitch Member
    MikeOne said:
    mitch said:
    Multiple re-installs and reboots, etc.
    Spending way too much time on this with no success. I give up
    Never got anything working.
    Congrats to those who do have it working. 

    I'm sorry to hear that. No idea what could be wrong. The only option I see that might help you is to add me as a Homey user. Maybe I can then see what is going on..
    Thanks MikeOne, I would appreciate that. I'm admittedly one of the least technical Homey owners here so it may be just something simple. DM me your email address and I'll add you as a user. 
  • MarkSwiftMarkSwift Member
    edited July 2016
    @MikeOne Can we now trigger flows from Plex events, ones that are not triggered by voice?

    i.e. I play a movie via my remote, and can have Homey dim my lights?

    Tried it on Rasplex but nothing seemed to happen...
  • MarkSwift said:
    @MikeOne Can we now trigger flows from Plex events, ones that are not triggered by voice?

    i.e. I play a movie via my remote, and can have Homey dim my lights?

    Tried it on Rasplex but nothing seemed to happen...
    I do not think so. This would be something I'd want as well.. When I cast a movie from plex on my phone to the Chromecast, that it will trigger the "Plex starts playing" card. But We can only hope :)

Sign In or Register to comment.