First off, whoever came up with this language was on crack.
Korey wrote:Nice! sounds like you are a busy fella! Congrats on the upcoming little one!
Thanks
The wife and I are very excited.
I guess if you could run apple scripts from within Plex then you could tell Indigo to do what you want based on the command from Plex?
It's easier than that. Check out
this page. Basically, I set up preferences for the server, server port, username, and password, and then it's just a matter of sending URLs based on which device I want to control. Should also be quicker than AppleScript.
I wonder if the Plex developers might be interested in creating these hooks in the new version 0.9 that is supposed to coming out.
They (Elan) have been pretty open to ideas, perhaps you could make a suggestion post over at the forms there, you are oviously more of a programmer than I (I dabble with applescript) and I am sure you could more eloquently word it
Might be worth a try. I think as Plex matures it'll become the media center app of choice for the Mac, and being able to get even very basic status updates from Plex would make it quite pimp, even for people who don't have home automation stuff. I mean, set your iChat status to whatever you're watching, or update Facebook. Who knows?
Actions based on feedback from Plex would be the key, once we have the info from Plex you could do whatever you want in Indigo.
Yeah. I hope there's already something in the system (although I doubt it) or a way of adding it. It shouldn't be a major problem for them to add, although I'm not sure of the best way to do it... I guess I should consider that before I ask them to implement such a thing.
Well, so far I have the preferences (the four items listed above) and the basics of the URL request, and a little thing to make sure that the settings for the server are valid. I still have to do some things to actually get the plugin to show up in Plex... I also need to make or appropriate an icon and background, although that's not very difficult.
Then I need to set it up so that the plugin requests the device statuses from Indigo (with appropriate icons), and make a couple things so that you can change the statuses. I'm not sure if I'll be able to do a slider for dimmers... that might be a little more than I know how to do... but you'd certainly be able to set them numerically (ie, press "play" while "Overhead Light" is selected and a little window asks you what you want to set the brightness to).
It's going about as well as I expected it to, which is to say that my head hurts, my feet stink, and the plugin isn't even showing up in Plex yet