Hey all,
So I have done a bit of reading, I know there was a thread out on an XBMC —> ST integration. I am actually more interested in having Plex control a set of dimmer switches, rather than having Smartthings control Plex (although I can see a few uses there as well). Think movie night. Push play, pause, or stop on the movie and each one of these actions has a different effect with the switches. My thought is, push play --> dim the lights, push pause or stop --> lights go to 100%.
This seems like one of those match made in heaven SmartThings apps. There is a HUGE Plex community. I have two Smart TVs that both have Plex installed as an app, Roku has it preinstalled as well. I know of a handful of people that would buy SmartThings just for this functionality alone (if they haven’t already)
So I currently have a very basic setup going right now using Plex and IFTTT. I setup PlexWatch (https://github.com/ljunkie/plexWatch)(https://forums.plex.tv/index.php/topic/72552-plexwatch-plex-notify-script-send-push-alerts-on-new-sessions-and-stopped/) on my PMS PC, which monitors,logs and notifies via Pushover, Prowlapp, Growl, Twitter, Boxcar and Email anytime anything is played via Plex,
I setup IFTTT to monitor any new emails coming in with Gmail, and once a search matches, it flips the switch. So it works…sort of. IFTTT doesn’t really work for applications like this because they have 15 minute polling. For this to be a functioning app, would need it to be near instant.
Most all of the core code is done at this point, I think. I’m not really a programmer, I just like to tinker. So at this point I just need some help.
The code is rather modular, see (https://github.com/ljunkie/plexWatch/blob/master/plexWatch.pl) Check out line 2203: sub NotifyPushOver() {
For instance, Using JSON, they are submitting the notifications to Pushover/Boxcar. Not sure how simple it would be to use this same type of setup with ST graph/API/REST.
Appreciate any help with this!
Mark