Nest announces smart home API
Re: Nest announces smart home API
I sent you another pm with the logs
-
- Posts: 86
- Joined: Wed Feb 06, 2013 12:12 pm
Re: Nest announces smart home API
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.
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 79 times
Re: Nest announces smart home API
More logs send in PM.
-
- Posts: 86
- Joined: Wed Feb 06, 2013 12:12 pm
Re: Nest announces smart home API
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).
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 88 times
Re: Nest announces smart home API
@fiveHellions thanks for all your work on this plugin. Another PM sent with the logs.
- bwoodworth
- Site Admin
- Posts: 1563
- Joined: Tue May 04, 2010 6:49 am
- Location: California
Re: Nest announces smart home API
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.
Awesome work on it, BTW.
Brian
-
- Posts: 86
- Joined: Wed Feb 06, 2013 12:12 pm
Re: Nest announces smart home API
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.
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.
Re: Nest announces smart home API
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
Vaughn
Re: Nest announces smart home API
Good News! I got an email from Nest with the followingfiveHellions 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.
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
-
- Posts: 86
- Joined: Wed Feb 06, 2013 12:12 pm
Re: Nest announces smart home API
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.