by Teodor Iorgulescu
Voice activated home automation. The ugly sister of Alexa.
This is an example of voice driven XML integration with a Trend BeMS controller, it's mostly specific to my own Trend controller software so is really just an example and not anything that you can run without modification. Also has examples of xmlDecode, array requests and some back and forth speech dialogue.
I also ditched the OK Google activation for a shake gesture that doesn't cause Google Now to start searching on my voice triggers.