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
Update: Worked fine, just my luck. Perhaps there's a way to disable adding media items? I never use the voice activation... I just wanted players in the flows to control lights, blinds etc.
I've been thinking about what you need, I guess your requirements are the following:
1) Have flow trigger cards for every player you have
2) Be able to setup flows per player
3) Flows should also work if you watch from a shared server (a friends PMS)
4) Events (triggers) from external players (i.e. friends watching stuff from your PMS) should be ignored.
If that sounds about right, my conclusion is that it is not going to be feasible to incorporate that into the current Plex app, it would just be too complicated and the app-bloat would be horrendous..Basically, for me to be able to comply to point 3, would mean that I would also have to open up websockets to those servers, which in my current data model would clash with the principle that you can only connect to one server at the time (this to prevent a whole slew of other complications, one being the even larger media size I would have to index).
So my conclusion is; this needs a separate app. For your use-case (just acting on PMS events basically), I would be silly to install an app of which you only ever use about 5% of the code base.
I would think a "Plex Notifier App" would be fairly simple to build and also pretty lightweight (compared to the Plex App). I could re-use the PIN procedure, slightly change the settings screen so you can select multiple servers (of which you like notifications from) instead of just one and I can almost completely re-use all the driver logic I already have. I would then simply remove the flow triggers and actions from the main app (for the guys who just want to use the speech logic and have no use for flows). If you want to install both apps, you would still have to install all players twice, but al least you would only see the 'Notification App' players as triggers then. I think this is acceptable.
Now for the bad news.. Starting from next week, I have a few (paid:-)) projects starting again. This means I simply do not have the time to build this app in a short term. If someone else wants to have a stab at it, let me know. Otherwise you'll need to have some patience.
And for others reading this: The current (github) version will suffice if you only ever use one player at the time. I will still release this version (probably over the next few days).
Love this addition to the app already .
Version 1.2.0 of the app (with the current flow card triggers and continuation support) is still pending in the app store, I hope @Athom can approve it soon.
this is the first I have heard of this..
The Plex app doesn't want to start - and the error it gives is pretty much bizarre and no help at all.
This is the stacktrace:
So something in the PHT driver is causing this, line 12 char 24. 'api' undefined. Right. this is line in the code:
It is basically a reference to the actual Plex application from within the driver. This is SUCH BASIC FUNCTIONALITY, I seriously have no idea where to start in order to fix this. From my development startup log, it seems that they might have changed around the way the elements load (i.e. app versus drivers), as in dev, I don't even see any console messages from the actual app starting up.
So I'm very sorry guys, but this is not going to be fixed without Athom letting me know what the hell they did.
And please next time @Emile don't push out such an update on a Friday will you... And please give me an option to switch off crash notification emails because my inbox is getting flooded.
I share my plex with a few family members.. when someone other then me starts plex Homey is telling me that plex has started..
which in essence is absolutely true.. and if I read the small print in the app page it's unavoidable (as I'm the one sharing my server).
However.. is it possible for homey to not tell me plex has started, but for me to assign a light action?
Because I thought I removed all voice confirmations.. Or am I misunderstanding you?
I did find the "turn notifications off" button in the plex app on the homey.
But then I can't re-assign it to show a light as notification are off, right?
Except some triggers: https://athomcommunity.slack.com/archives/general/p1475158416005679
it shows nice what it is playing though
Starting playback via voice is also not possible: "I want to watch southpark"