Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nest driver disconnecting and reconnecting
#21
No it only writes when released. the driver dumps out even if I directly change the temp setting in the field browser of the driver or whatever you call it now with the new interface.
Reply
#22
Does it happen if you change it on the Nest itself?
Dean Roddey
Software Geek Extraordinaire
Reply
#23
Yes and also if I use the Nest android app. again it recovers in about 10 to 15 seconds but it does dump off.
Reply
#24
If it just goes offline without you doing anything, that could only mean that it's happening while the driver is waiting for a notification. That means that it has to have sent some data, which makes the poll loop see that there's data available, but then it has to be too slow to get the rest of the data sent, making the poll loop timeout. There's no other way it could happen.

I've attached a tweaked version of the driver with longer timeouts on the notification reads. See if this helps. So import package, and do a reconfigure on the driver to pick up the changes.


Attached Files
.cqcdrvpack   Nest_LongerNotReadTimeout.CQCDrvPack (Size: 26.74 KB / Downloads: 2)
Dean Roddey
Software Geek Extraordinaire
Reply
#25
ok I downloaded the new driver and imported it. Same result. I did notice in the new driver package it still says version 1.6 did you change the version?
Reply
#26
I didn't change the version since these were just provisional changes. OK, let me put in some extra logging and I'll give you another to try.
Dean Roddey
Software Geek Extraordinaire
Reply
#27
Oh wait, can we get a look at the error? Is it the same as before, or perhaps a new one? If it's the same as before, I'm starting to think that maybe you are getting some garbage data or something.
Dean Roddey
Software Geek Extraordinaire
Reply
#28
I noticed during my test of changing the temp besides the driver dumping off line the weather widget v2 blinked as well as my volume/mute button that is related to my Denon ci4311 driver but those drivers didn't go off line the widgets just briefly blanked for a second or two.  






{
   CQCKit, CQCDriver_DriverBase.cpp.3502, Status/App Status
   Driver 'Nest' is trying to connect to its device
}
11/30 16:30:39-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3544, Status/App Status
   Driver 'Nest' has connected to its device
}
11/30 16:31:19-Office, CQCServer, CQCDrv_NestThread111
{
   CQCGenDrvS, MEng.System.CQC.Drivers.Nest.Cloud.DriverImpl.964, Status/App Status
   Poll failure. Error=Got an incomplete encrypted packet. Name=Secure Client Data Source
}
11/30 16:31:19-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.7255, Status/Lost Connection
   Driver 'Nest' has lost connection to it's device
}
11/30 16:31:19-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.7289, Status/Lost Connection
   Driver 'Nest' has lost its communcations resource
}
11/30 16:31:24-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3445, Status/App Status
   Driver 'Nest' is trying to get its comm resource
}
11/30 16:31:24-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3484, Status/App Status
   Driver 'Nest' has its comm resource
}
11/30 16:31:24-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3502, Status/App Status
   Driver 'Nest' is trying to connect to its device
}
11/30 16:31:33-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3544, Status/App Status
   Driver 'Nest' has connected to its device
}
11/30 16:32:00-Office, CQCServer, CQCDrv_NestThread111
{
   CQCGenDrvS, MEng.System.CQC.Drivers.Nest.Cloud.DriverImpl.964, Status/App Status
   Poll failure. Error=Got an incomplete encrypted packet. Name=Secure Client Data Source
}
11/30 16:32:00-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.7255, Status/Lost Connection
   Driver 'Nest' has lost connection to it's device
}
11/30 16:32:00-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.7289, Status/Lost Connection
   Driver 'Nest' has lost its communcations resource
}
11/30 16:32:05-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3445, Status/App Status
   Driver 'Nest' is trying to get its comm resource
}
11/30 16:32:05-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3484, Status/App Status
   Driver 'Nest' has its comm resource
}
11/30 16:32:05-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3502, Status/App Status
   Driver 'Nest' is trying to connect to its device
}
11/30 16:32:14-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3544, Status/App Status
   Driver 'Nest' has connected to its device
}
11/30 16:32:54-Office, CQCServer, CQCDrv_NestThread111
{
   CQCGenDrvS, MEng.System.CQC.Drivers.Nest.Cloud.DriverImpl.964, Status/App Status
   Poll failure. Error=Got an incomplete encrypted packet. Name=Secure Client Data Source
}
11/30 16:32:54-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.7255, Status/Lost Connection
   Driver 'Nest' has lost connection to it's device
}
11/30 16:32:54-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.7289, Status/Lost Connection
   Driver 'Nest' has lost its communcations resource
}
11/30 16:32:59-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3445, Status/App Status
   Driver 'Nest' is trying to get its comm resource
}
11/30 16:32:59-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3484, Status/App Status
   Driver 'Nest' has its comm resource
}
11/30 16:32:59-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3502, Status/App Status
   Driver 'Nest' is trying to connect to its device
}
11/30 16:33:08-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3544, Status/App Status
   Driver 'Nest' has connected to its device
}
11/30 16:33:26-Office, CQCServer, CQCDrv_Denon4311CIThread8
{
   CQCKit, MEng.System.CQC.Runtime.CQCLogger.1612, Status/App Status
   GetResponse: Timeout (%1 of %2).
}
11/30 16:33:26-Office, CQCServer, CQCDrv_Denon4311CIThread8
{
   CQCKit, MEng.System.CQC.Runtime.CQCLogger.1612, Status/App Status
   GetResponse: Timeout (%1 of %2).
}
11/30 16:33:36-Office, CQCServer, CQCDrv_Denon4311CIThread8
{
   CQCKit, MEng.System.CQC.Runtime.CQCLogger.1612, Status/App Status
   GetResponse: Timeout (%1 of %2).
}
11/30 16:33:39-Office, CQCServer, CQCDrv_Denon4311CIThread8
{
   CQCKit, MEng.System.CQC.Runtime.CQCLogger.1612, Status/App Status
   GetResponse: Timeout (%1 of %2).
}
11/30 16:33:39-Office, CQCServer, CQCDrv_Denon4311CIThread8
{
   CQCKit, MEng.System.CQC.Runtime.CQCLogger.1612, Status/App Status
   GetResponse: Timeout (%1 of %2).
}
11/30 16:33:42-Office, CQCServer, CQCDrv_NestThread111
{
   CQCGenDrvS, MEng.System.CQC.Drivers.Nest.Cloud.DriverImpl.964, Status/App Status
   Poll failure. Error=Got an incomplete encrypted packet. Name=Secure Client Data Source
}
11/30 16:33:42-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.7255, Status/Lost Connection
   Driver 'Nest' has lost connection to it's device
}
11/30 16:33:42-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.7289, Status/Lost Connection
   Driver 'Nest' has lost its communcations resource
}
11/30 16:33:47-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3445, Status/App Status
   Driver 'Nest' is trying to get its comm resource
}
11/30 16:33:47-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3484, Status/App Status
   Driver 'Nest' has its comm resource
}
11/30 16:33:47-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3502, Status/App Status
   Driver 'Nest' is trying to connect to its device
}
11/30 16:33:49-Office, CQCServer, CQCDrv_Denon4311CIThread8
{
   CQCKit, MEng.System.CQC.Runtime.CQCLogger.1612, Status/App Status
   GetResponse: Timeout (%1 of %2).
}
11/30 16:33:49-Office, CQCServer, CQCDrv_Denon4311CIThread8
{
   CQCKit, MEng.System.CQC.Runtime.CQCLogger.1612, Status/App Status
   GetResponse: Timeout (%1 of %2).
}
11/30 16:33:49-Office, CQCServer, CQCDrv_Denon4311CIThread8
{
   CQCKit, MEng.System.CQC.Runtime.CQCLogger.1612, Status/App Status
   GetResponse: Timeout (%1 of %2).
}
11/30 16:33:50-Office, CQCServer, CQCDrv_Denon4311CIThread8
{
   CQCKit, MEng.System.CQC.Runtime.CQCLogger.1612, Status/App Status
   GetResponse: Timeout (%1 of %2).
}
11/30 16:33:56-Office, CQCServer, CQCDrv_Denon4311CIThread8
{
   CQCKit, MEng.System.CQC.Runtime.CQCLogger.1612, Status/App Status
   GetResponse: Timeout (%1 of %2).
}
11/30 16:33:56-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3544, Status/App Status
   Driver 'Nest' has connected to its device
}
11/30 16:33:57-Office, CQCServer, CQCDrv_Denon4311CIThread8
{
   CQCKit, MEng.System.CQC.Runtime.CQCLogger.1612, Status/App Status
   GetResponse: Timeout (%1 of %2).
}
11/30 16:33:58-Office, CQCServer, CQCDrv_Denon4311CIThread8
{
   CQCKit, MEng.System.CQC.Runtime.CQCLogger.1612, Status/App Status
   GetResponse: Timeout (%1 of %2).
}
11/30 16:34:01-Office, CQCServer, CQCDrv_Denon4311CIThread8
{
   CQCKit, MEng.System.CQC.Runtime.CQCLogger.1612, Status/App Status
   GetResponse: Timeout (%1 of %2).
}
11/30 16:34:01-Office, CQCServer, CQCDrv_Denon4311CIThread8
{
   CQCKit, MEng.System.CQC.Runtime.CQCLogger.1612, Status/App Status
   GetResponse: Timeout (%1 of %2).
}
11/30 16:34:01-Office, CQCServer, CQCDrv_Denon4311CIThread8
{
   CQCKit, MEng.System.CQC.Runtime.CQCLogger.1612, Status/App Status
   GetResponse: Timeout (%1 of %2).
}
11/30 16:34:02-Office, CQCServer, CQCDrv_Denon4311CIThread8
{
   CQCKit, MEng.System.CQC.Runtime.CQCLogger.1612, Status/App Status
   GetResponse: Timeout (%1 of %2).
}
11/30 16:34:02-Office, CQCServer, CQCDrv_Denon4311CIThread8
{
   CQCKit, MEng.System.CQC.Runtime.CQCLogger.1612, Status/App Status
   GetResponse: Timeout (%1 of %2).
}
11/30 16:34:06-Office, CQCServer, CQCDrv_Denon4311CIThread8
{
   CQCKit, MEng.System.CQC.Runtime.CQCLogger.1612, Status/App Status
   GetResponse: Timeout (%1 of %2).
Reply
#29
Yeh, they will blink if a driver cycles because the IV is re-syncing itself with the back end. And it's still the same error. I think it must be sending bogus data somehow. But I can give you one with some extra logging. If it times out on the very first attempt to read a line of notification data, then it's obviously just bogus data. If it gets one line but fails on the next one, maybe it's just being slow to send the information and we can bump the timeout a bit more or something.
Dean Roddey
Software Geek Extraordinaire
Reply
#30
OK, give this one a try. Flush the logs, put it into medium verbosity, and change the temp via some external means and let it get some failures, then you can turn off the logging and get me a dump.


Attached Files
.cqcdrvpack   Nest_ExtraNotificationLogging.CQCDrvPack (Size: 26.81 KB / Downloads: 1)
Dean Roddey
Software Geek Extraordinaire
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  SSL certificate for HTTP trigger driver RichardU 5 30 8 hours ago
Last Post: Dean Roddey
  Variables Driver jkmonroe 10 115 01-05-2018, 08:29 PM
Last Post: jkmonroe
  Does GC-100 Driver Support Tri-Port Cable? Jnetto 14 347 12-26-2017, 02:06 PM
Last Post: RichardU
  Russound V2 Driver - no install button bpaetzold 1 70 12-24-2017, 07:13 PM
Last Post: Dean Roddey
  Is there a driver out there for the Honeywell Wi-Fi Smart Thermostat? ghurty 18 3,281 12-21-2017, 06:29 PM
Last Post: Dean Roddey
  Venstar Thermostat keeps disconnecting then reconnecting adamalli 7 485 12-03-2017, 12:03 PM
Last Post: Dean Roddey
  Logitech Media Server/squeezebox driver freezes Admin interface lleo 7 692 10-21-2017, 11:11 AM
Last Post: Dean Roddey
  music & movie driver experiences and or suggestions zane 2 482 10-18-2017, 06:48 AM
Last Post: pjgregory
  Really simple CML driver questions znelbok 327 54,463 10-11-2017, 09:19 PM
Last Post: znelbok
  Kramer Protocol 2000 driver and VS-1616v Help Please! NightLight 6 654 09-12-2017, 05:08 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)