Using the roku stick, I'm able to control it so far. Mainly using it with Plex but that doesn't really work with this either
Announcement
Collapse
No announcement yet.
MediaController plugin beta testing Forum
Collapse
X
-
Originally posted by kideon View PostUsing the roku stick, I'm able to control it so far. Mainly using it with Plex but that doesn't really work with this either
Wrt Plex, I noted the same that the PLEX app does use DLNA to discover and play but isn't controllable itself by DLNA. I suspect to keep a small (memory) footprint, they may have removed those functions. Did you find a way to control PLEX on Roku from some other app, a plex provided app perhaps or smartphone app?
What I see more and more, is that applications now talk directly to each other and not through standard protocols. Example DIAL allows the app on your phone or tablet to discover the (let's say Netflix) app on your Roku (or ChromeCast stick) and the only thing that Roku does is provide you with a direct pipe between your app on your smartphone and the app on the Roku (or TV, or Chromecast or ...) and now the 2 apps talk to each other directly and good luck to us HA geeks to turn that into something generic enough such as a PI. Sure if you snoop the connection, you could figure out the protocol and write a dedicated PI for it .... until the vendor changes the protocol again as they now control both sides of the pipe whereas DLNA is trying to do this in a standard way.
Dirk
Comment
-
Originally posted by kideon View Postbut maybe it's worth reaching out to the Plex team for advice
What is it that you want to do? Can you be very specific, maybe I can do it in another way. I believe I could poll whether a specific app is running or not, not sure whether I could then know whether the app itself is doing anything (think Plex app is running but not necessarily playing anything).
Dirk
Comment
-
Lol I wish the best luck to you also!
Right now I want to be able to set a scene if a video is playing past a certain time of the day and then set a scene if the video stops based on a certain time of the day. Essentially I have a dusk scene, a movie scene, and a midnight scene for lights. If a video is playing during the day then nothing should happen, if it is playing after dusk but before midnight switch to the movie scene and then back to dusk on stop if it is before midnight. If it is midnight or later switch on the midnight scene when it stops. I'm using a combination of Hue and Insteon lights run through Homeseer plugins.
Comment
-
I did some googling and the API has a way to query what is playing:
https://forums.plex.tv/index.php/top...documentation/
Definitely looks like remote control is pretty easy
Comment
-
Originally posted by kideon View PostDefinitely looks like remote control is pretty easy
Thanks for the info, I'll try to find some time to play with my Roku Stick some more. After I changed some IPv6 setting on my wireless AP, the wireless DLNA devices around my office now seem to all work properly, including the Stick .... bizarre
Dirk
Comment
-
Yeah I want to get into some more script development, that'll be this winter when things at work slow down. Used to code back in the day and can still read it but have been doing project management for so long my mind got structured a little differently these days..more business focused.. I can still read code though and am able to patch things together. Patience just isn't there to write things. Resource mgmt and logistics are more my thing now.
Comment
-
Originally posted by kideon View PostYeah I want to get into some more script development, that'll be this winter when things at work slow down. Used to code back in the day and can still read it but have been doing project management for so long my mind got structured a little differently these days..more business focused.. I can still read code though and am able to patch things together. Patience just isn't there to write things. Resource mgmt and logistics are more my thing now.
Dirk
Comment
-
Thanks for making this PI!
my initial test shows some issues with LG TV's, and every time the TV is turned on this pops up in the errorlog:
03.08.2014 21:04:27 ~!~MC Error~!~Error in RenderingControlStateChange for UPnPDevice = [TV]47LM processing XML with error = Conversion from string "" to type 'Boolean' is not valid.Startup Complete, 1 errors detected, check the log for more information.
aug-03 21:04:27 MC InitIO Called for Instance = ********-****-****-****-********** and running on OS = Win32NT
aug-03 21:04:27 MC CreateUPnPControllers created an instance of UPnPDeviceController for UPnPDevice = [TV]47LM
aug-03 21:04:27 MC AvTransportCallback added for device = [TV]47LM
let me know if you need some more info or troubleshooting.
Comment
-
Originally posted by Toby View PostThanks for making this PI!
my initial test shows some issues with LG TV's, and every time the TV is turned on this pops up in the errorlog:
03.08.2014 21:04:27 ~!~MC Error~!~Error in RenderingControlStateChange for UPnPDevice = [TV]47LM processing XML with error = Conversion from string "" to type 'Boolean' is not valid.Startup Complete, 1 errors detected, check the log for more information.
aug-03 21:04:27 MC InitIO Called for Instance = ********-****-****-****-********** and running on OS = Win32NT
aug-03 21:04:27 MC CreateUPnPControllers created an instance of UPnPDeviceController for UPnPDevice = [TV]47LM
aug-03 21:04:27 MC AvTransportCallback added for device = [TV]47LM
let me know if you need some more info or troubleshooting.
Thanks
Dirk
Comment
-
Originally posted by Toby View PostThanks for making this PI!
my initial test shows some issues with LG TV's, and every time the TV is turned on this pops up in the errorlog:
03.08.2014 21:04:27 ~!~MC Error~!~Error in RenderingControlStateChange for UPnPDevice = [TV]47LM processing XML with error = Conversion from string "" to type 'Boolean' is not valid.Startup Complete, 1 errors detected, check the log for more information.
aug-03 21:04:27 MC InitIO Called for Instance = ********-****-****-****-********** and running on OS = Win32NT
aug-03 21:04:27 MC CreateUPnPControllers created an instance of UPnPDeviceController for UPnPDevice = [TV]47LM
aug-03 21:04:27 MC AvTransportCallback added for device = [TV]47LM
let me know if you need some more info or troubleshooting.
received your email. At first glance, the parameter Loudness (being a boolean) is an empty string and is probably the culprit. I'll have a look at the code tonight and add some protective code, the result will be identical, just no error.
Dirk
Comment
Comment