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
That being said, the PMS web api has a status endpoint: /status/sessions
It does not show if it is actually playing or paused but if this is the best available I could live with it.
Version: v1.1.0
Only problem for me is casting to chromecast in general. It is really slow for me but I have this problem also when casting a plex movie from my pc. I guess my laptop is not fast enough in transcoding.
Can you advice a specific movie format that wouldn't need any transcoding? Or do you have experience with pretranscoding movies/series in plex?
I'm considering buying a new raspberry pi and configuring it as "media server". Anyone here good experiences with that? (so plex server, not player, on a rbp).
Anyhow good job on the app @MikeOne !
if you open the javascript console in chrome, while having the settings page open, you might find out why it's crashing (CPU Warnings probably)..
So the question is will we be able to play a song via the plex app to our Sonos speakers?
1976 movies, 3153 episodes.
still cant add plex in a then flow. and cant add chromecasts trough plex app.
i will wait till you are back from youre holliday
But i cant add any players. Started my PHT but the app wont find it.
The devices.xml is also empty on the server not sure if this is because of Plex server 1.0.3.2461
this solves the invalid_capability error. running fine here now
1) App crashes. My guess is that this is a ChromeCast only issue. I'm seeing some crash reports coming in that indicate that the ChromeCast module (an external module I'm using) has some deep-rooted problem whereby it looses a reference to the cast device resulting in an 'addMembership ENODEV' error, which is causing a hard crash. This one is pretty hard to troubleshoot as it is occurring on some submodule (dgram/multicast) and I'm also not sure what the root cause is. I've never encountered the issue on my local setup so I'm unsure how to proceed if I cannot reproduce.
2) Flow triggers for external Plex starts/stops. People are requesting a possibility to trigger a flow when plex is started outside of homey. At the moment, flow triggers already work when you start or stop plex using Homey (either by speech or by flows). However, IF I understand correctly (@MarkSwift ?) - you guys would also like to be able to trigger flows when Plex starts externally (i.e. remote control etc), so outside of Homey .
This is an interesting one. Or at least a challenging one for multiple reasons:
a) I can't find an event I could subscribe to in PMS which means I will have to poll PMS at a fairly high right (poll its /status/sessions/ endpoint). This is pretty intensive as to make it usable, i'd have to poll at a minimum of once every 4 or 5 seconds I guess. This polling will have to happen continuously, 24 hours a day.
b) I need to build in an exception for chromecast sessions started with Homey - as for some vague reason they do not show up in PMS.
c) I need to find a way to handle multiple installed players (multiple zones) as I guess you'd want to know which player has been started or stopped.
d) The /status/sessions/ endpoint also shows external sessions (if you have shared your server with a friend), those need to be excluded from doing anything.
Th real challenge lies in matching up the correct player with an active session. The reason this is difficult is because of the multiple driver setup we have (chromecast and PHT) and the fact that chromecast players do not exactly have a unique identifier. On top of that, the drivers processes are separated from the PMS processes (on purpose, separation of concern to make driver development easier) - however, this has a side-effect that the matching (of PMS sessions) with current drivers are more complicated. I guess its Plex once again (due to its very limited API) that is causing my headaches :-)
I have to think a bit more about this.. Maybe it is more logical to create a separate 'Plex Notifier' app for Homey that deals with this.
My current short-term roadmap: 1) Support for 'continue' (would you like to continue movie/episode where you finished last time?) and 2) Music support (this will be a time consuming one).
Any other feature requests? Please do a single post per request so others can upvote your post.
P.S. Great work @MikeOne