Nest announces smart home API

General discussion about Open Source Automation
Message
Author
Automate
Posts: 1691
Joined: Sat Dec 11, 2010 1:44 pm
Location: US

Re: Nest announces smart home API

#21 Post by Automate » Tue Feb 03, 2015 8:18 am

I sent you another pm with the logs

fiveHellions
Posts: 86
Joined: Wed Feb 06, 2013 12:12 pm

Re: Nest announces smart home API

#22 Post by fiveHellions » Fri Feb 06, 2015 11:18 am

Thanks Automate. Looks like it isn't trying to add the object that already exists anymore.

But I still have the dates screwed up.

When I test it with a hardcoded date I don't get the same problem. I remember fixing something like that at some point. So maybe the plugin installer file I gave you guys last didn't have the most recent .dll in it? Either that or me hardcoding the value isn't the same as what Nest is passing.

Try this version. If it still has the same problem then I'm going to forget about converting the date to local time and just leave it in UTC time.
Attachments
Nest.osapp
(215.13 KiB) Downloaded 68 times

Automate
Posts: 1691
Joined: Sat Dec 11, 2010 1:44 pm
Location: US

Re: Nest announces smart home API

#23 Post by Automate » Mon Feb 09, 2015 12:28 pm

More logs send in PM.

fiveHellions
Posts: 86
Joined: Wed Feb 06, 2013 12:12 pm

Re: Nest announces smart home API

#24 Post by fiveHellions » Fri Feb 13, 2015 8:32 am

Thanks again Automate.

I think I finally figured it out. I was never able to test the streaming updates for last_connection. I think that is where it wasn't getting converted to local time correctly.

If this one works then I can upload it to the pluggins page and create a wiki for it. As well as get the code in the git repository.

The error at the end of the logs sounded like a connection error (either their servers down for a sec or a blip in your internet connection). I wouldn't worry about that unless you were seeing alot of them. First I thought you may be hitting a rate limit since the streaming was starting multiple instances. But the error code for that one is supposed to be different (although I've never seen it).
Attachments
Nest.osapp
(215.18 KiB) Downloaded 77 times

Automate
Posts: 1691
Joined: Sat Dec 11, 2010 1:44 pm
Location: US

Re: Nest announces smart home API

#25 Post by Automate » Sat Feb 14, 2015 5:30 am

@fiveHellions thanks for all your work on this plugin. Another PM sent with the logs.

User avatar
bwoodworth
Site Admin
Posts: 1563
Joined: Tue May 04, 2010 6:49 am
Location: California

Re: Nest announces smart home API

#26 Post by bwoodworth » Sun Apr 26, 2015 11:14 pm

Is the Nest plugin up to date for v044? If it is, do you want to upload it to the Plugins page?

Awesome work on it, BTW.
Brian

fiveHellions
Posts: 86
Joined: Wed Feb 06, 2013 12:12 pm

Re: Nest announces smart home API

#27 Post by fiveHellions » Mon Apr 27, 2015 12:20 pm

I don't think its updated for v044.

I'm going to install the new update in the next couple days then I will get the plugin updated and uploaded to the plugins page and to github.

Vaughn
Site Admin
Posts: 1432
Joined: Thu May 13, 2010 2:17 pm

Re: Nest announces smart home API

#28 Post by Vaughn » Mon Apr 27, 2015 1:51 pm

Hah! 0.4.5 will be out by then! =) No changes in 045 impact plugins though. I fixed a few things since the release already and will put out another update very soon, probably this weekend.

Vaughn

Automate
Posts: 1691
Joined: Sat Dec 11, 2010 1:44 pm
Location: US

Re: Nest announces smart home API

#29 Post by Automate » Fri May 29, 2015 2:43 pm

fiveHellions wrote:Unfortunately Nest doesn't provide information on whether the system is currently running. With some programming I could probably guess at this based on the mode and the target temps and the ambient temp. But it would just be a guess and not 100% accurate.
Good News! I got an email from Nest with the following

See heating and cooling activity
We got the message: you want to see HVAC states. So we’ve updated the thermostat API. Now you’ll be able to see when heating or cooling is running.
http://communications.nest.com/wf/click ... urHw-3D-3D

fiveHellions
Posts: 86
Joined: Wed Feb 06, 2013 12:12 pm

Re: Nest announces smart home API

#30 Post by fiveHellions » Tue Jun 02, 2015 6:24 am

Yeah I got that email too. That will be very helpful. I will try to add it in when I get a chance. Hopefully sometime in the next week.

Post Reply