www.homeseer.com    
 

Go Back   HomeSeer Message Board > 3rd Party Plug-Ins/Scripts > Plug-ins by Author > Click Here for List of Author Forums > Spud Plug-Ins > Nest Devices (3P)

Nest Devices (3P) Discussions related to the Nest devices plugin for HS3 developed by SPUD.

Reply
 
Thread Tools Display Modes
  #101  
Old October 22nd, 2014, 03:54 AM
Nettopp Nettopp is offline
Seer
 
Join Date: Sep 2014
Location: Oslo
Posts: 12
Quote:
Originally Posted by spud View Post
I noticed this problem once or twice but it's hard to replicate as it only seem to happen after a long time. I don't know what's causing it yet. but I'm investigating.

After how much time does it happen for you?

One workaround is to restart the plugin.
I will check the log the next time, but it usually runs fine a few days before disconnecting. I might try to set up a warning with a timer or something similar, as my thermostat scrip in its current form is depending on input from the Nest.
Reply With Quote
  #102  
Old October 23rd, 2014, 12:46 PM
wposner's Avatar
wposner wposner is offline
Seer Master
 
Join Date: Sep 2014
Location: NV
Posts: 547
Quote:
Originally Posted by spud View Post
ok, great, let me know how it goes. Thanks
Got it installed, but when trying to activate it the console shows "Object Reference Not Set to Instance of an Object". The console also shows that it's constantly trying to connect to something.
Reply With Quote
  #103  
Old October 23rd, 2014, 01:51 PM
Nettopp Nettopp is offline
Seer
 
Join Date: Sep 2014
Location: Oslo
Posts: 12
I had another disconnect today, not long before I reached my log limit. Coincidence?

okt-22 04:15:00 Log Info The log database is currently 49,99MB in size.
okt-22 02:27:17 Nest DEBUG Monitoring has stopped, restarting...
okt-22 02:26:56 Nest DEBUG data: null
okt-22 02:26:56 Nest DEBUG event: keep-alive
okt-22 02:26:26 Nest DEBUG data: null
okt-22 02:26:26 Nest DEBUG event: keep-alive
okt-22 02:25:56 Nest DEBUG data: null
okt-22 02:25:56 Nest DEBUG event: keep-alive
Reply With Quote
  #104  
Old October 25th, 2014, 11:17 AM
spud's Avatar
spud spud is offline
Moderator
 
Join Date: Jan 2012
Location: Canada
Posts: 5,154
Quote:
Originally Posted by Nettopp View Post
I had another disconnect today, not long before I reached my log limit. Coincidence?

okt-22 04:15:00 Log Info The log database is currently 49,99MB in size.
okt-22 02:27:17 Nest DEBUG Monitoring has stopped, restarting...
okt-22 02:26:56 Nest DEBUG data: null
okt-22 02:26:56 Nest DEBUG event: keep-alive
okt-22 02:26:26 Nest DEBUG data: null
okt-22 02:26:26 Nest DEBUG event: keep-alive
okt-22 02:25:56 Nest DEBUG data: null
okt-22 02:25:56 Nest DEBUG event: keep-alive
in version 3.0.0.8 available in first post of this thread I have fixed a reconnection problem after connection is dropped by the remote server. I have tested it for a few days, so far so good. Please test as well and let me know.

this version also adds support for Linux.
Reply With Quote
  #105  
Old November 5th, 2014, 07:20 AM
Nettopp Nettopp is offline
Seer
 
Join Date: Sep 2014
Location: Oslo
Posts: 12
I have run the 3.0.0.8 a few days now without disconnects, looks like you fixed it! Thanks!
Reply With Quote
  #106  
Old November 11th, 2014, 08:23 AM
spud's Avatar
spud spud is offline
Moderator
 
Join Date: Jan 2012
Location: Canada
Posts: 5,154
Good news, they have released version 1.1 of the Nest API, and the humidity% is now available, so I'm going to add a new device for this value.
Reply With Quote
  #107  
Old November 12th, 2014, 06:22 PM
KoryDoubleYou KoryDoubleYou is offline
Seer
 
Join Date: Sep 2014
Location: Edmonton, AB
Posts: 26
spud,
Could you also look at adding the nest protect "is_manual_test_active" and "last_manual_test_time" values into devices. These would be good for setting reminders to do manual tests on the devices.
Reply With Quote
  #108  
Old November 13th, 2014, 08:16 PM
joegrace13's Avatar
joegrace13 joegrace13 is offline
Seer Deluxe
 
Join Date: Oct 2007
Location: Austin
Posts: 183
Spud, how do I install 3.0.0.9?
Reply With Quote
  #109  
Old November 13th, 2014, 08:20 PM
spud's Avatar
spud spud is offline
Moderator
 
Join Date: Jan 2012
Location: Canada
Posts: 5,154
Files and installation instructions are in the first post of this thread
Reply With Quote
  #110  
Old November 14th, 2014, 03:10 AM
joegrace13's Avatar
joegrace13 joegrace13 is offline
Seer Deluxe
 
Join Date: Oct 2007
Location: Austin
Posts: 183
Thank you sir, getting the real time fan status was exactly what I needed.

Reply With Quote
  #111  
Old November 14th, 2014, 04:08 AM
joegrace13's Avatar
joegrace13 joegrace13 is offline
Seer Deluxe
 
Join Date: Oct 2007
Location: Austin
Posts: 183
And... I take that back.

The 'HVAC Status' will switch from heating or cooling to idle long before the fan is turned off. I still can't use this for what I need.

Maybe there is no way to do this other than the mechanical way I was with the ocelot.

I simply need to know when the fan is mechanically moving or stationary.
Reply With Quote
  #112  
Old November 14th, 2014, 08:24 AM
spud's Avatar
spud spud is offline
Moderator
 
Join Date: Jan 2012
Location: Canada
Posts: 5,154
Quote:
Originally Posted by joegrace13 View Post
And... I take that back.

The 'HVAC Status' will switch from heating or cooling to idle long before the fan is turned off. I still can't use this for what I need.

Maybe there is no way to do this other than the mechanical way I was with the ocelot.

I simply need to know when the fan is mechanically moving or stationary.
the HVAC status is not part yet of the official Nest API, so the best I can do for the moment is guess. As for the fan status, the device currently only report when the fan timer is activated, but if they add to the API the real status of the fan, I could add this to the plugin as well.

so, to maximize chances to see both features in a future version of the API, add your upvote and comment to this feature suggestion: https://community.nest.com/ideas/4101
Reply With Quote
  #113  
Old November 14th, 2014, 09:32 AM
cheeryfool's Avatar
cheeryfool cheeryfool is offline
Super Seer
 
Join Date: Apr 2008
Location: Jersey Shore
Posts: 1,746
Quote:
Originally Posted by joegrace13 View Post
And... I take that back.

The 'HVAC Status' will switch from heating or cooling to idle long before the fan is turned off. I still can't use this for what I need.

Maybe there is no way to do this other than the mechanical way I was with the ocelot.

I simply need to know when the fan is mechanically moving or stationary.
Also, I think that I recall reading that Nest actually has the fan run a little after the heat/cool cycle switches off, to ensure that you get full distribution of that heated/cooled air. So, it's possible that part of the issue with the virtual HVAC status is actually directly down to the behaviour of the Nest.
__________________
cheeryfool
Reply With Quote
  #114  
Old November 18th, 2014, 05:21 PM
joegrace13's Avatar
joegrace13 joegrace13 is offline
Seer Deluxe
 
Join Date: Oct 2007
Location: Austin
Posts: 183
Yup. I would have to know the Airwave status of the Nest as well.

Only then can I tell if the fan is running or not.
Reply With Quote
  #115  
Old November 20th, 2014, 02:24 AM
mulderonline mulderonline is offline
Seer
 
Join Date: Jun 2008
Location: France
Posts: 27
action not working with Errors

nov.-20 07:44:28 Nest DEBUG event: put
nov.-20 07:44:13 Nest DEBUG data: null
nov.-20 07:44:13 Nest DEBUG event: keep-alive
nov.-20 07:44:08 Nest DEBUG System.AggregateException: Une ou plusieurs erreurs se sont produites. ---{0x3E} System.Net.Http.HttpRequestException: An error occurred while sending the request. ---{0x3E} System.Net.WebException: La connexion sous-jacente a été fermée : Une erreur inattendue s'est produite lors de l'envoi. ---{0x3E} System.InvalidOperationException: Impossible d'effectuer cette opération sur un objet résultat asynchrone terminé. à System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar) --- Fin de la trace de la pile d'exception interne --- à System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) à System.Net.Http.HttpClientHandler.GetResponseCallback(IAsync Result ar) --- Fin de la trace de la pile d'exception interne --- à Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSu ccess(Task task) à Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSucc ess(Task task) à FirebaseSharp.Firebase.{0x3C}PutAsync{0x3E}d__3.MoveNext() --- Fin de la trace de la pile d'exception interne --- à System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) à System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) à System.Threading.Tasks.Task`1.get_Result() à NestSharp.NestClient.SetAwayMode(String structureId, Boolean away) à HSPI_Nest.NestApp.ButtonPress(String buttonName, Double value, Int32 dvref)---{0x3E} (Exception interne #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---{0x3E} System.Net.WebException: La connexion sous-jacente a été fermée : Une erreur inattendue s'est produite lors de l'envoi. ---{0x3E} System.InvalidOperationException: Impossible d'effectuer cette opération sur un objet résultat asynchrone terminé. à System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar) --- Fin de la trace de la pile d'exception interne --- à System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) à System.Net.Http.HttpClientHandler.GetResponseCallback(IAsync Result ar) --- Fin de la trace de la pile d'exception interne --- à Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSu ccess(Task task) à Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSucc ess(Task task) à FirebaseSharp.Firebase.{0x3C}PutAsync{0x3E}d__3.MoveNext(){0 x3C}---
nov.-20 07:44:08 Nest ERROR Une ou plusieurs erreurs se sont produites.
nov.-20 07:44:05 Nest DEBUG PUT: path=structures/77rZKEiwAs726NCusT96LQbK5RrRwN6FVFwxxxxxJS_5-OWT3zEDA payload={"away":"away"}
Reply With Quote
  #116  
Old November 20th, 2014, 07:46 AM
spud's Avatar
spud spud is offline
Moderator
 
Join Date: Jan 2012
Location: Canada
Posts: 5,154
Quote:
Originally Posted by mulderonline View Post
nov.-20 07:44:28 Nest DEBUG event: put
nov.-20 07:44:13 Nest DEBUG data: null
nov.-20 07:44:13 Nest DEBUG event: keep-alive
nov.-20 07:44:08 Nest DEBUG System.AggregateException: Une ou plusieurs erreurs se sont produites. ---{0x3E} System.Net.Http.HttpRequestException: An error occurred while sending the request. ---{0x3E} System.Net.WebException: La connexion sous-jacente a été fermée : Une erreur inattendue s'est produite lors de l'envoi. ---{0x3E} System.InvalidOperationException: Impossible d'effectuer cette opération sur un objet résultat asynchrone terminé. à System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar) --- Fin de la trace de la pile d'exception interne --- à System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) à System.Net.Http.HttpClientHandler.GetResponseCallback(IAsync Result ar) --- Fin de la trace de la pile d'exception interne --- à Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSu ccess(Task task) à Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSucc ess(Task task) à FirebaseSharp.Firebase.{0x3C}PutAsync{0x3E}d__3.MoveNext() --- Fin de la trace de la pile d'exception interne --- à System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) à System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) à System.Threading.Tasks.Task`1.get_Result() à NestSharp.NestClient.SetAwayMode(String structureId, Boolean away) à HSPI_Nest.NestApp.ButtonPress(String buttonName, Double value, Int32 dvref)---{0x3E} (Exception interne #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---{0x3E} System.Net.WebException: La connexion sous-jacente a été fermée : Une erreur inattendue s'est produite lors de l'envoi. ---{0x3E} System.InvalidOperationException: Impossible d'effectuer cette opération sur un objet résultat asynchrone terminé. à System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar) --- Fin de la trace de la pile d'exception interne --- à System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) à System.Net.Http.HttpClientHandler.GetResponseCallback(IAsync Result ar) --- Fin de la trace de la pile d'exception interne --- à Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSu ccess(Task task) à Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSucc ess(Task task) à FirebaseSharp.Firebase.{0x3C}PutAsync{0x3E}d__3.MoveNext(){0 x3C}---
nov.-20 07:44:08 Nest ERROR Une ou plusieurs erreurs se sont produites.
nov.-20 07:44:05 Nest DEBUG PUT: path=structures/77rZKEiwAs726NCusT96LQbK5RrRwN6FVFwxxxxxJS_5-OWT3zEDA payload={"away":"away"}

what OS and version of .NET are you running?
try to update to .NET 4.5
Reply With Quote
  #117  
Old November 21st, 2014, 07:27 AM
mulderonline mulderonline is offline
Seer
 
Join Date: Jun 2008
Location: France
Posts: 27
Hi,
I m under windows 7 32b
Framework 4.50709
Reply With Quote
  #118  
Old November 21st, 2014, 09:21 AM
spud's Avatar
spud spud is offline
Moderator
 
Join Date: Jan 2012
Location: Canada
Posts: 5,154
Quote:
Originally Posted by mulderonline View Post
Hi,
I m under windows 7 32b
Framework 4.50709
how did you find "Framework 4.50709". That seems like a strange version number for .NET framework.

anyway, could you try to install or re-install .NET 4.5: http://www.microsoft.com/fr-ca/downl....aspx?id=40779
Reply With Quote
  #119  
Old November 25th, 2014, 02:16 AM
mulderonline mulderonline is offline
Seer
 
Join Date: Jun 2008
Location: France
Posts: 27
I have try this:

nov.-25 07:40:11 Version: 4.0.30319.18408
nov.-25 07:40:02 Event Running script in background: C:/Program Files/HomeSeer HS3/scripts/Version_Framework.vb
but version is same befor and after deinstall/reinstall
Thx for your help.
Reply With Quote
  #120  
Old November 25th, 2014, 06:14 PM
jscottneal
Guest
 
Posts: n/a
Plugin Nothing Happens When Hitting Done

I have the latest beta of the Nest plug in and I am using the Linux beta of HS3. When I try to configure and link the plug in to the Nest, I go to the Nest page, get the activation pin, input into the form on the plug in configuration. When I hit done, nothing happens and it just hangs. Have tried multiple times and have deleted the Works With Nest entries for this and tried again. I saw someone else with this problem and they alluded to the fact that it was a firewall issue, but nothing else.

I have this as a log entry and any help is appreciated.

Thanks,
Scott

DEBUG System.TypeInitializationException: An exception was thrown by the type initializer for Newtonsoft.Json.Utilities.ConvertUtils ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. File name: 'System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.DefaultContractResolver.IsJson PrimitiveType (System.Type t) [0x00000] in :0 at Newtonsoft.Json.Serialization.DefaultContractResolver.Create Contract (System.Type objectType) [0x00000] in :0 at Newtonsoft.Json.Serialization.DefaultContractResolver.Resolv eContract (System.Type type) [0x00000] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.G etContractSafe (System.Type type) [0x00000] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.D eserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00000] in :0 at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in :0 at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in :0 at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in :0 at Newtonsoft.Json.JsonConvert.DeserializeObject[AccessTokenResponse] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in :0 at Newtonsoft.Json.JsonConvert.DeserializeObject[AccessTokenResponse] (System.String value) [0x00000] in :0 at NestSharp.NestClient.GetAccessToken (System.String pin) [0x00000] in :0 at HSPI_Nest.WebConfig.postBackProc (System.String page, System.String data, System.String user, Int32 userRights) [0x00000] in :0
Reply With Quote
Reply

Bookmarks

Tags
beta testing, nest, nest protect, thermostat

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
UPB Plug-in - Beta Testing spud UPB plugin by Spud (3P) 102 December 30th, 2017 11:57 PM
IFTTT Plug-in - Beta Testing spud IFTTT (3P) 48 March 15th, 2017 07:23 PM
EnvisaLink DSC Plug-in - HS2 Beta Testing spud Envisalink DSC Plugin (3P) 102 October 31st, 2013 07:48 PM
DirecTV Plug-in - Beta Testing spud DirecTV for HS3 (3P) 0 October 1st, 2013 07:23 AM
Plug-in is ready for beta testing rjh HAI/OnQ Panel (HS2) 8 September 6th, 2002 06:44 AM


All times are GMT -4. The time now is 04:06 AM.


Copyright HomeSeer Technologies, LLC