A very simple Android app for listening for voice commands and sending them to your server. App can also display basic name/value properties returned by the server.
Push the mic button to speak (e.g "Lights on"), when done SpeechRecognizer will extract your command ("lights on") and POST it to specified endpoint.
Very basic PHP endpoint for proxying commands to Raspberry Pi for a simple home automation system (running Steven Hickson's PiAUISuite) is available in this Gist.
App can also display name/value property pairs returned from the server. JSON format of (successfully returned) properties is:
{
"success": "true",
"data": [
{"name": "Property 1", "value": "Value 1" },
{"name": "Property 2", "value": "Value 2" }
]
}
For accessing the settings screen, long press the mic button. On settings screen you can change endpoint for (voice) commands and endpoint for accessing name/value properties.