Hey Indigoers,
I am one of the cyborgs in training that has been testing Google Glass. I want to create a Glassware application that will allow for control of Indigo. To date, I've done a variety of experiments related to alternative control of Indigo, most recently using the SiriProxy Ruby app that has been contributed.
I am currently using Glass to send SMS messages to Indigo via the Google Voice plugin. That is an ok solution, but not as scalable as I want it to be as I have to rely on the plugin, and I have to manually create every trigger I want Indigo to respond to.
What I really want to do is to create a wrapper for the Indigo REST Api and be able to trigger that from Glass. I am considering taking a very similar approach to how the Siri plugin for Indigo works (Indigo Violet) - https://github.com/msreynolds/siriproxy-violet
The ideal solution would be a single card bundle that appears in Glass that I can "pin" to the Glass timeline. From this "card", I'd be able to tap it and issue a voice command such as "Turn On" (Device name), "Toggle" (Device Name), "Turn Thermostat" (Up/Down), Etc.
The SiriProxy Plugin handles all of this quite well and I'm considering just using that same code. Instead of getting the "command" text from Siri, it would instead be sent from Glass to the Mirror API, be turned into text, then passed to the "app" which would then parse the string and issue the appropriate REST call to my indigo server (which is accessible from the Internet).
There are a bunch of ways to implement this, but wanted to see if anyone had opinions or thoughts on what approach was best. I am currently leaning towards creating a web-based app that makes the REST calls remotely to the Indigo server once a command is received. But, knowing that Indigo can execute Python, it might make more sense to write the whole thing as an Indigo plugin and rely on the Indigo web server and plugin architecture to do this instead of making remote REST calls.
Just starting to think about this now, and thought I would throw it out there.
Any thoughts are more than appreciated.
Dave