[ZPriddy] was looking for a way to control his Nest thermostats with Amazon Echo. He didn’t want to settle for using AWS or some other hosted service. [ZPriddy] wanted something that he could host and manage completely on his own. The end result is what he calls EchoNestPy.
[ZPriddy] started by learning how to use the Alexa Skills Kit (ASK). ASK is the official SDK that allows enthusiasts to add functionality to their Amazon Echo. Unfortunately for [ZPriddy], most of the example code he found was designed to be used on Amazon Lambda, but that didn’t stop him. After finding a few examples of Amazon Echo requests and responses, he was on his way.
[ZPriddy] chose to implement a simple web server using Flask. The web server listens for the Amazon requests and responds appropriately. It also Oauth2 authentication to ensure some level of security. The server is capable of synchronizing the temperature of multiple Nest devices in the same home, but it can also increment or increment the temperature across the board. This is accomplished with some simple voice commands such as “Tell Nest that I’m a little bit chilly”. If you like Amazon Echo hacks, be sure to check out this other one for controlling WeMo devices.
“Tell Nest that I’m a little bit chilly”
i guess its a good thing that
“it can also increment or increment the temperature across the board.”
Yeah… that seems to be a problem… I am hoping to have it worked out later today ..
This is very impressive. Very great Job Indeed. I am a Novice on this programming. How do i get my echo to talk to my NEST Thermostat ?
Thanks
You have to get a Wink Hub and then you can have Alexa control your nest through that. You can also add lights and door locks too. There is quick setup ins tructions at http://www.winkeasy.com
It’s sort of funny, to combine the google spying with amazon spying, to get a more comprehensive spied-on experience, now to combine the whole thing with windows10/cortana somehow..
It’s like having a direct line to big brother. What fun!
“Alexa, tell Nest that I’m a Muslim extremist who is a little bit chilly.”
As if muslim extremist is the worst, how about being a member of ACLU! :o
It’s sorta funny that we’ve gone from simple cheap electronic devices that cost 10 to 20 dollars to program and control the temp to needing the internet, servers, phones, and hacking…..to do the same thing, while not focusing on the very device that creates the temperature.
For those whom want a Ruby alternative, a friend of mine has been working on the alexa-rubykit:
https://github.com/damianFC/alexa-rubykit
He has some simple examples on youtube which are linked in the README.md.
For anyone who is interested I finally have a service ruinning for this on my website: https://alexa.zpriddy.com
Tried to set this up, when I put in the Alexa ID and email it goes to an internal server error message.
I am getting the same error, Were you able to figure it out?
Thanks for the work your putting in man. I do have a question for you though. I have two nest thermostats controlling separate AC units. Is there a way to get both Nest to comply to the temperature request?
You are the man! Donation made, great job!