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
  RCS V2 Driver kblagron 2 62 06-10-2018, 04:35 PM
Last Post: Dean Roddey
  New Z-Wave driver preview Dean Roddey 13 1,024 05-17-2018, 01:02 PM
Last Post: Dean Roddey
  Redid server, issues with Nest and Elk ghurty 6 180 05-16-2018, 05:15 PM
Last Post: Dean Roddey
  Sonos Driver with Sonos Connect Amp zra 5 277 05-05-2018, 09:43 AM
Last Post: Dean Roddey
  Radio RA driver issue dogman 7 374 04-22-2018, 08:33 AM
Last Post: Dean Roddey
  Helios vs Nest Hello ewiz 3 340 04-01-2018, 02:07 PM
Last Post: Dean Roddey
  Elk Driver fails Ron Haley 11 696 03-08-2018, 07:28 PM
Last Post: Ron Haley
  Aeotec USB stick, existing zWave (v3) driver? IVB 3 310 03-05-2018, 08:57 PM
Last Post: znelbok
  Problem with Jetstream Driver RichardU 16 1,066 02-27-2018, 03:05 PM
Last Post: batwater
  Problem with fooBarV2 driver pjgregory 2 363 02-21-2018, 01:01 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)