Hello-
I’m working on a development project to integrate Vera into a media center. I’m using XBMC as the media center and I’d like to create a new DCE device based on XBMC to fire events when XBMC is playing, stopped, or paused. I’d like to keep all of the code on Vera and not need to run another system. So I think I need a way to register XBMC with the DCE Router, Create a new DCE Device, poll XBMC for its status (available via an HTTP API) and then an appropriate status comes up, fire an event. Then I’ll use the fired event to pause a movie. This is my first time jumping into Vera’s development or the LinuxMCE mentality.
Am I on the right track here?
Are the steps I laid out above reasonable? Is this something that would be better accomplished with LUA. My gut says no, that LUA is a scripting language and I’m looking to do something different, but I’d like to make sure I’m on the right track.
Any nudges in the right direction on creating the device? Polling?
Will the code I write be useful to others. Is there a way for end users to easily install new devices?
Thanks for your help!
-Nick