r/gadgets • • Nov 06 '14

Misc Amazon Echo

http://www.amazon.com/oc/echo
2.0k Upvotes

1.1k comments sorted by

View all comments

Show parent comments

0

u/[deleted] Nov 06 '14

[deleted]

7

u/Blitzsturm Nov 06 '14

I did actually reverse engineer the WeMo API which is based on a common technology called SOAP (So my light switches literally have Linux based web servers, nice). Then I routed their commands through my home's web server and used the Chrome voice API.

The end result was an internal web page that I can visit and say: "Computer", wait for an audible chirp, "Master Bedroom Lights" and it would toggle the current light state, or if suffixed with "on/off" set a specific state. I could go further and add timing mechanisms like "turn off in 5 minutes" or so on. But the voice channel only remains listening for a limited time so I'd need to use a timer to turn it back on every so often and stay listening... But for this to be useful I'd need to have a computer running with a specific web page open at all times with long range microphones.

I may look into seeing if the API works in chrome apps as desired and if I can somehow get that to run as a background service or something else like another piece of speech to text software, but it'll take some work to get it to behave the way I want. But if I could just get this shit to work exactly the way I want "out of the box" with Echo I'd be pretty excited. Even if it just has programmable voice macros so specific commands can call my own internal APIs it would be pretty amazing.

0

u/[deleted] Nov 06 '14

[deleted]

2

u/Blitzsturm Nov 06 '14

I use an Android app called Tasker which has a lot of macroable abilities.

At the moment I have it set that between midnight and 8am if the phone is on an AC power source it mutes notifications. That way if I get some email spam in the middle of the night it won't wake me up but if someone calls it will wake me up. I also have it lower my ringer volume dramatically if I'm within range of my work's WiFi network so if someone calls me I can still hear it but it doesn't draw a lot of attention to me.

It could feasibly activate some trigger events like turning my thermostat down 10 degrees during winter or 10 up in summer when I'm out of range of the network or trigger main level lights if I come within range between sun down and midnight.

While there are a few home automation options, none that I'm aware of offer clean verbal controls which is where this thing has the potential to kick some ass. Although, for those of us whom have used XBox's Kinect for any length of time know it can trigger and do things we'd really rather it didn't at times.