Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nest driver disconnecting and reconnecting
#31
Code:
11/30 17:38:46-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3298, Status/App Status
    Driver 'Nest' is beginning initialization
}
11/30 17:38:46-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3445, Status/App Status
    Driver 'Nest' is trying to get its comm resource
}
11/30 17:38:46-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3484, Status/App Status
    Driver 'Nest' has its comm resource
}
11/30 17:38:46-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3502, Status/App Status
    Driver 'Nest' is trying to connect to its device
}
11/30 17:38:55-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3544, Status/App Status
    Driver 'Nest' has connected to its device
}
11/30 17:39:52-Office, CQCServer, CQCDrv_NestThread111
{
    CQCGenDrvS, MEng.System.CQC.Drivers.Nest.Cloud.DriverImpl.973, Status/App Status
    Poll failure. Error=Got an incomplete encrypted packet. Name=Secure Client Data Source
}
11/30 17:39:52-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.7255, Status/Lost Connection
    Driver 'Nest' has lost connection to it's device
}
11/30 17:39:52-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.7289, Status/Lost Connection
    Driver 'Nest' has lost its communcations resource
}
11/30 17:39:57-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3445, Status/App Status
    Driver 'Nest' is trying to get its comm resource
}
11/30 17:39:57-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3484, Status/App Status
    Driver 'Nest' has its comm resource
}
11/30 17:39:57-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3502, Status/App Status
    Driver 'Nest' is trying to connect to its device
}
11/30 17:40:06-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3544, Status/App Status
    Driver 'Nest' has connected to its device
}
11/30 17:40:31-Office, CQCServer, CQCDrv_NestThread111
{
    CQCGenDrvS, MEng.System.CQC.Drivers.Nest.Cloud.DriverImpl.973, Status/App Status
    Poll failure. Error=Got an incomplete encrypted packet. Name=Secure Client Data Source
}
11/30 17:40:31-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.7255, Status/Lost Connection
    Driver 'Nest' has lost connection to it's device
}
11/30 17:40:31-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.7289, Status/Lost Connection
    Driver 'Nest' has lost its communcations resource
}
11/30 17:40:36-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3445, Status/App Status
    Driver 'Nest' is trying to get its comm resource
}
11/30 17:40:36-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3484, Status/App Status
    Driver 'Nest' has its comm resource
}
11/30 17:40:36-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3502, Status/App Status
    Driver 'Nest' is trying to connect to its device
}
11/30 17:40:46-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3544, Status/App Status
    Driver 'Nest' has connected to its device
}
11/30 17:40:52-Office, CQCServer, CQCDrv_NestThread111
{
    CQCGenDrvS, MEng.System.CQC.Drivers.Nest.Cloud.DriverImpl.973, Status/App Status
    Poll failure. Error=Got an incomplete encrypted packet. Name=Secure Client Data Source
}
11/30 17:40:52-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.7255, Status/Lost Connection
    Driver 'Nest' has lost connection to it's device
}
11/30 17:40:52-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.7289, Status/Lost Connection
    Driver 'Nest' has lost its communcations resource
}
11/30 17:40:57-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3445, Status/App Status
    Driver 'Nest' is trying to get its comm resource
}
11/30 17:40:57-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3484, Status/App Status
    Driver 'Nest' has its comm resource
}
11/30 17:40:57-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3502, Status/App Status
    Driver 'Nest' is trying to connect to its device
}
11/30 17:41:06-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3544, Status/App Status
    Driver 'Nest' has connected to its device
}
11/30 17:41:19-Office, CQCServer, CQCDrv_NestThread111
{
    CQCGenDrvS, MEng.System.CQC.Drivers.Nest.Cloud.DriverImpl.973, Status/App Status
    Poll failure. Error=Got an incomplete encrypted packet. Name=Secure Client Data Source
}
11/30 17:41:19-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.7255, Status/Lost Connection
    Driver 'Nest' has lost connection to it's device
}
11/30 17:41:19-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.7289, Status/Lost Connection
    Driver 'Nest' has lost its communcations resource
}
11/30 17:41:24-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3445, Status/App Status
    Driver 'Nest' is trying to get its comm resource
}
11/30 17:41:24-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3484, Status/App Status
    Driver 'Nest' has its comm resource
}
11/30 17:41:24-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3502, Status/App Status
    Driver 'Nest' is trying to connect to its device
}
11/30 17:41:33-Office, CQCServer, CQCDrv_NestThread111
{
    CQCKit, CQCDriver_DriverBase.cpp.3544, Status/App Status
    Driver 'Nest' has connected to its device
}
Reply
#32
It fails but before the logging I put after reading the first line of the notification. So it was never able to complete the read of the data because decryption failed. The error seems to indicate it was OK up to then but we never got all the data. So, just to make sure, here is one that waits a stupid length of time for the notification data to show up. Let's test this one just to be safe. We really need to know if it is actually sending the data eventually. That's something that we might be able to recover from, though it will be hugely annoying to deal with.

If it never sends the rest of the data, that leaves us in a bind. It's a stream and an encrypted stream. Once it goes south it's gone. We'll likely never get back in sync. So I'll probably have to recycle.


Attached Files
.cqcdrvpack   Nest_LONGNotificationTimeout.CQCDrvPack (Size: 26.81 KB / Downloads: 1)
Dean Roddey
Software Geek Extraordinaire
Reply
#33
Here is the result


Code:
11/30 17:40:36-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3445, Status/App Status
   Driver 'Nest' is trying to get its comm resource
}
11/30 17:40:36-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3484, Status/App Status
   Driver 'Nest' has its comm resource
}
11/30 17:40:36-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3502, Status/App Status
   Driver 'Nest' is trying to connect to its device
}
11/30 17:40:46-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3544, Status/App Status
   Driver 'Nest' has connected to its device
}
11/30 17:40:52-Office, CQCServer, CQCDrv_NestThread111
{
   CQCGenDrvS, MEng.System.CQC.Drivers.Nest.Cloud.DriverImpl.973, Status/App Status
   Poll failure. Error=Got an incomplete encrypted packet. Name=Secure Client Data Source
}
11/30 17:40:52-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.7255, Status/Lost Connection
   Driver 'Nest' has lost connection to it's device
}
11/30 17:40:52-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.7289, Status/Lost Connection
   Driver 'Nest' has lost its communcations resource
}
11/30 17:40:57-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3445, Status/App Status
   Driver 'Nest' is trying to get its comm resource
}
11/30 17:40:57-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3484, Status/App Status
   Driver 'Nest' has its comm resource
}
11/30 17:40:57-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3502, Status/App Status
   Driver 'Nest' is trying to connect to its device
}
11/30 17:41:06-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3544, Status/App Status
   Driver 'Nest' has connected to its device
}
11/30 17:41:19-Office, CQCServer, CQCDrv_NestThread111
{
   CQCGenDrvS, MEng.System.CQC.Drivers.Nest.Cloud.DriverImpl.973, Status/App Status
   Poll failure. Error=Got an incomplete encrypted packet. Name=Secure Client Data Source
}
11/30 17:41:19-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.7255, Status/Lost Connection
   Driver 'Nest' has lost connection to it's device
}
11/30 17:41:19-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.7289, Status/Lost Connection
   Driver 'Nest' has lost its communcations resource
}
11/30 17:41:24-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3445, Status/App Status
   Driver 'Nest' is trying to get its comm resource
}
11/30 17:41:24-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3484, Status/App Status
   Driver 'Nest' has its comm resource
}
11/30 17:41:24-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3502, Status/App Status
   Driver 'Nest' is trying to connect to its device
}
11/30 17:41:33-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3544, Status/App Status
   Driver 'Nest' has connected to its device
}
11/30 18:52:21-Office, CQCServer, CIDOrbSrvWorkThread_4
{
   CQCServer, CQCServer_DriverCtrl.cpp.303, Status/App Status
   Reconfigure of driver Nest is completed
}
11/30 18:54:00-Office, CQCServer, CQCDrv_NestThread111
{
   CQCGenDrvS, MEng.System.CQC.Drivers.Nest.Cloud.DriverImpl.973, Status/App Status
   Poll failure. Error=Got an incomplete encrypted packet. Name=Secure Client Data Source
}
11/30 18:54:00-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.7255, Status/Lost Connection
   Driver 'Nest' has lost connection to it's device
}
11/30 18:54:00-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.7289, Status/Lost Connection
   Driver 'Nest' has lost its communcations resource
}
11/30 18:54:05-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3445, Status/App Status
   Driver 'Nest' is trying to get its comm resource
}
11/30 18:54:05-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3484, Status/App Status
   Driver 'Nest' has its comm resource
}
11/30 18:54:05-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3502, Status/App Status
   Driver 'Nest' is trying to connect to its device
}
11/30 18:54:14-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3544, Status/App Status
   Driver 'Nest' has connected to its device
}
11/30 18:55:04-Office, CQCServer, CQCDrv_NestThread111
{
   CQCGenDrvS, MEng.System.CQC.Drivers.Nest.Cloud.DriverImpl.973, Status/App Status
   Poll failure. Error=Got an incomplete encrypted packet. Name=Secure Client Data Source
}
11/30 18:55:04-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.7255, Status/Lost Connection
   Driver 'Nest' has lost connection to it's device
}
11/30 18:55:04-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.7289, Status/Lost Connection
   Driver 'Nest' has lost its communcations resource
}
11/30 18:55:09-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3445, Status/App Status
   Driver 'Nest' is trying to get its comm resource
}
11/30 18:55:09-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3484, Status/App Status
   Driver 'Nest' has its comm resource
}
11/30 18:55:09-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3502, Status/App Status
   Driver 'Nest' is trying to connect to its device
}
11/30 18:55:18-Office, CQCServer, CQCDrv_NestThread111
{
   CQCKit, CQCDriver_DriverBase.cpp.3544, Status/App Status
   Driver 'Nest' has connected to its device
}
Reply
#34
Their server has to be doing something wrong. I'm not sure what. It seems like it's just starting to send a notification to report the temperature change, then doesn't complete the process. I had it waiting 8 seconds after sensing that data was available, which is plenty of time for it to finish sending a couple lines of text after it started. I could understand it blurting out some bogus data by accident, but it seems like however much it does send is valid.

Is anyone else who is using the Nest driver seeing anything like this?
Dean Roddey
Software Geek Extraordinaire
Reply
#35
I'm not seeing any issues but my version level is 0.11 when I right mouse for info on the Nest driver instance. And the password is not something that contains "special" characters, I know that was an issue in the past.
Reply
#36
Is your driver pointing into the User area, i.e. are you using some off to the side version? Or, are you on an older version of CQC? The current version of the V2 driver is 1.6. Maybe you are using the original, non-V2 driver?
Dean Roddey
Software Geek Extraordinaire
Reply
#37
Oh, you are correct, this is the v1 driver, I never converted. It's pointing to the User area but I am on must current CQC and am running 5.2.1.

I just paused the v1 driver, added the v2 driver and it connected without issue. I'm running 1 gen 2 Nest Thermostat, no other Nest products at this time.

For funsies I resumed the v1 driver, both are co-habitating without issue. There are no log entries associated with either Nest driver.
Reply
#38
Have you tried changing the set point temp?
Dean Roddey
Software Geek Extraordinaire
Reply
#39
Just did through the Admin Interface. No errors logged no lost communication.

I did notice when re-verifying which gen Nest I had that the gen 3 Nest has new fields for boiler and some such.
Reply
#40
Weird. I dunno what to do about this. We really cannot afford to miss notifications, since it could be something important in any given system, and we don't want to get out of sync. That particular error, as far as I know, could only happen if some legitimate data arrived. I.e. it's not some spurious event that made the driver think that data was available when it is not. That's what makes it really weird. 

The only thing I can think about is maybe the notifications get ahead of us, and so some data got dropped due to lack of Win32 level buffer space. Maybe changing the temps is causing a lot of activity or something. I'm using a counter in the poll method to only do so many notifications per time through, so as to not risk getting stuck in a loop. 

So give this one a try, where I eat a good number more notifications per round. We at least insure that it's not that, if nothing else.


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


Possibly Related Threads...
Thread Author Replies Views Last Post
  CML Driver IDE [copy/paste] does not work lleo 2 103 11-25-2018, 10:01 AM
Last Post: lleo
  How to update the new zwave stick/driver? ghurty 5 156 11-22-2018, 06:56 PM
Last Post: Dean Roddey
  "Client Side Driver Directory Could Not be Cleaned Out" TurboSam 15 1,016 09-27-2018, 01:43 PM
Last Post: TurboSam
  CML Driver IDE docs - where? rbroders 1 297 09-18-2018, 05:41 PM
Last Post: Dean Roddey
  Timer Driver Question kblagron 5 474 09-14-2018, 02:43 AM
Last Post: znelbok
  reset driver statistics? rbroders 9 878 09-11-2018, 07:50 PM
Last Post: Dean Roddey
  Driver Configuration w/8 prompts rbroders 1 473 09-03-2018, 09:28 PM
Last Post: Dean Roddey
  Driver info/stats rbroders 6 769 09-02-2018, 08:34 PM
Last Post: Dean Roddey
  Sonos Driver zra 3 519 09-01-2018, 03:09 PM
Last Post: Dean Roddey
  HTTP Get driver not working znelbok 10 1,089 08-28-2018, 10:10 AM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)