Announcement

Collapse
No announcement yet.

Unable to control nest thermostat

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unable to control nest thermostat

    I purchased the plugin and now I get the following error when i try to control the device.

    DEBUG PUT: path=devices/thermostats/gi6tL1If6GhL_fmpHNDwmQ_VumSUMP-v payload={"target_temperature_c":12}


    Mar-24 2:05:11 PM Nest ERROR One or more errors occurred.
    Mar-24 2:05:11 PM Nest DEBUG System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.InvalidOperationException: This operation cannot be performed on a completed asynchronous result object. at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsync Result ar) --- End of inner exception stack trace --- at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSu ccess(Task task) at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSucc ess(Task task) at FirebaseSharp.Firebase.d__3.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task`1.get_Result() at NestSharp.NestClient.SetTargetTemperature(String thermostatId, Double target, String scale) at HSPI_Nest.NestApp.ButtonPress(String buttonName, Double value, Int32 dvref) ---> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.InvalidOperationException: This operation cannot be performed on a completed asynchronous result object. at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsync Result ar) --- End of inner exception stack trace --- at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSu ccess(Task task) at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSucc ess(Task task) at FirebaseSharp.Firebase.d__3.MoveNext()<---
    Can you help?

    #2
    what version of .NET do you run?

    one other user had this same problem with .NET 4 and updating to NET 4.5.1 fixed it: http://forums.homeseer.com/showthread.php?t=171113

    Comment

    Working...
    X