Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Nest Presence shows unavailable #635

Open
5 tasks done
RogerSelwyn opened this issue Feb 14, 2019 · 13 comments
Open
5 tasks done

Nest Presence shows unavailable #635

RogerSelwyn opened this issue Feb 14, 2019 · 13 comments

Comments

@RogerSelwyn
Copy link

RogerSelwyn commented Feb 14, 2019

Verify the following before opening an issue:

  • You followed the Nest Developer documentation here? Nest Developer Account Creation
  • That OAuth is Enabled for the SmartApp under the IDE.
  • The SmartApps and ALL (5) Devices Handlers are using the latest code available.
  • You have reviewed the NST Manager Wiki for potential fixes.
  • That ALL SmartApps and Device Handlers have been Published for You in the IDE.

About Your Setup:

  • How many Thermostats?: 0
  • How many Protects? 2
  • How many Cameras? 0
  • Using the Nest Presence Device? Yes
  • Using the Nest Weather Device? No
  • iOS or Android?: iOS
  • Mobile App Version: 5.5.9

Expected Behavior

Nest Presence should show nest home/away status in line with changes in Nest app

Current Behavior

Nest Presence after initial update shows as ‘Unavailable’. Events show as api status True, device is present nest Presence is home. No changes since first discovery.

Steps to Reproduce (for bugs)

  1. Install latest Nst Manager
  2. Use one location (I have three)
  3. Add 2 x protect
  4. Select iOS as device type, leave everything else as default
  5. Wait for Protect devices to populate. Everything fine at this stage
  6. Edit config and add Presence device
  7. Set to lite integration
  8. Wait for device to be installed
  9. After some time when the Presence device is installed, it shows as unavailable. It seems to function fine, but show Unavailable and doesn't show Present/Not Present on the things screen

Note _ don't have a thermostat at this location, not sure if that is relevant.

Context

I’m trying to access Nest Home/Away status in a webcore automation.

Please include a copy of your log under the IDE if possible

@RogerSelwyn
Copy link
Author

I would add, the Nest Protect devices function fine.

@RogerSelwyn
Copy link
Author

In actual fact the device does update to show current status after a while (probably a polling thing), but it still shows as unavailable.

Presence log is
6acda782-aef9-4528-b4e1-3c7263512f61 22:12:57: debug Nest Presence Device (v5.4.3) | UPDATED | Presence: present | Original State: not present | State Variable: false

Nst Manager log is
658575c4-84eb-4844-bd72-68641d2ebdbb 22:15:18: info ||| NST Manager (v5.5.9) | Updating Structure Data (Last Updated: 177 seconds ago) | Updating Device Data (Last Updated: 176 seconds ago) (async)
658575c4-84eb-4844-bd72-68641d2ebdbb 22:12:22: trace locationPresNotify(home)
658575c4-84eb-4844-bd72-68641d2ebdbb 22:12:22: info ||| NST Manager (v5.5.9) | API Structure Data HAS Changed (POLL(ASYNC))
658575c4-84eb-4844-bd72-68641d2ebdbb 22:12:21: info ||| NST Manager (v5.5.9) | Updating Structure Data (Last Updated: 178 seconds ago) | Updating Device Data (Last Updated: 178 seconds ago) (async)
658575c4-84eb-4844-bd72-68641d2ebdbb 22:09:23: info ||| NST Manager (v5.5.9) | API Device Data HAS Changed (POLL(ASYNC))
658575c4-84eb-4844-bd72-68641d2ebdbb 22:09:22: info ||| NST Manager (v5.5.9) | Updating Structure Data (Last Updated: 175 seconds ago) | Updating Device Data (Last Updated: 176 seconds ago) (async)

If it is worth me enabling other options on Long page, I'm happy to do so.

@imnotbob
Copy link
Collaborator

you might try turning off the presence device in nst manager, and done/save your way out.

wait 1-2 mins

then re-enable the presence device, again done/save your way out

It might be good to have the logging window open on another window.

@RogerSelwyn
Copy link
Author

I went through that process, and now it is showing as available, so maybe it got stuck somehow. I now need to check it is showing status properly. This may take a couple of days....

@RogerSelwyn
Copy link
Author

I've updated the steps above after completely uninstalling and re-installing. Everything updates fine, but the Presence devices doesn't show and status and is marked as unavailable. The problem is when trying to capture logs, that it seems to change to unavailable after a variable length of time, by which time the logs may have stopped capturing to the screen.

@RogerSelwyn
Copy link
Author

I've just gone through and configured up for a different location I have Nest at. This has a Thermostat. I've added the Thermostat, let that settle, then added the Presence device. After a short while the Presence device changed to unavailable. Logs are:

NST Manager
cdbba84f-94a3-49d9-ae4a-228068f3f60e 14:04:04: info ||| NST Manager (v5.5.9) | sendFirebaseData({"guid":"5b33d9d8-aef1-4709-b2e2-e1b160112b98","beta":false,"versions":{"apps":{"manager":"5.5.9","automation":"5.5.0","service":"Not Installed"},"devices":{"thermostat":"5.4.5","vthermostat":"Not Installed","protect":"5.4.3","camera":"Not Installed","presence":"5.4.3","weather":"Not Installed"}},"thermostats":1,"protects":0,"vthermostats":0,"cameras":0,"appErrorCnt":0,"devErrorCnt":0,"installDt":"Sat Feb 16 08:09:46 GMT 2019","updatedDt":"Sat Feb 16 08:35:02 GMT 2019","automations":{"disabled":0,"nestMode":0,"remDiag":0,"schMot":{"conWat":0,"extTmp":0,"fanCirc":0,"fanCtrl":0,"humCtrl":0,"leakWat":0,"remSen":0,"tSched":0},"storage":0,"watchDog":1},"timeZone":"Europe/London","apiCmdCnt":0,"apiStrReqCnt":108,"apiDevReqCnt":111,"apiMetaReqCnt":4,"appNotifSentCnt":1,"apiRestStrEvtCnt":0,"appUseMetCnt":{"appNotifPrefLoadCnt":0,"authLoadCnt":2,"autoGlobPrefLoadCnt":0,"autoLoadCnt":0,"camZoneFltLoadCnt":0,"chgLogLoadCnt":0,"custWeathLoadCnt":0,"devCustLoadCnt":3,"devCustNameLoadCnt":0,"devLocLoadCnt":10,"diagLoadCnt":0,"helpLoadCnt":0,"infoLoadCnt":0,"logPrefLoadCnt":0,"mainLoadCnt":45,"nestLoginLoadCnt":0,"notifPrefLoadCnt":1,"pollPrefLoadCnt":2,"prefLoadCnt":2,"protTestLoadCnt":0,"vRprtPrefLoadCnt":0,"viewAutoSchedLoadCnt":0,"viewAutoStatLoadCnt":0},"devUseMetCnt":{"presHtmlLoadCnt":0,"tstatVoiceRptCnt":0,"tstatManTmpChgCnt":0,"tstatProgTmpChgCnt":0,"tstatManModeChgCnt":0,"tstatProgModeChgCnt":0,"tstatManFanChgCnt":0,"tstatProgFanChgCnt":0,"tstatHtmlLoadCnt":2},"stateUsage":"14%","mobileClient":"ios","liteAppMode":false,"datetime":"Sat Feb 16 14:04:04 GMT 2019","optOut":false}, clients/5b33d9d8-aef1-4709-b2e2-e1b160112b98.json, null, heartbeat
cdbba84f-94a3-49d9-ae4a-228068f3f60e 14:02:19: info ||| NST Manager (v5.5.9) | No Device or Structure poll - Devices Last Updated: 75 seconds ago | Structures Last Updated 75 seconds ago
cdbba84f-94a3-49d9-ae4a-228068f3f60e 14:01:04: trace locationPresNotify(away)
cdbba84f-94a3-49d9-ae4a-228068f3f60e 14:01:04: info ||| NST Manager (v5.5.9) | API Structure Data HAS Changed (POLL(ASYNC))
cdbba84f-94a3-49d9-ae4a-228068f3f60e 14:01:04: info ||| NST Manager (v5.5.9) | API Device Data HAS Changed (POLL(ASYNC))
cdbba84f-94a3-49d9-ae4a-228068f3f60e 14:01:03: info ||| NST Manager (v5.5.9) | Updating Structure Data (Last Updated: 85 seconds ago) | Updating Device Data (Last Updated: 85 seconds ago) (async)
cdbba84f-94a3-49d9-ae4a-228068f3f60e 14:00:49: trace | NST Manager (v5.5.9) | workQueue │ Run Queue: 0 | (async)
cdbba84f-94a3-49d9-ae4a-228068f3f60e 14:00:37: info ||| NST Manager (v5.5.9) | schedNextWorkQ RUNIN │ queue: 0 │ schedTime: 4 │ recentSendCmd: 3 │ last seconds: 3601 │ cmdDelay: 4 | runInActive: true | command proc: false | Api Limited: null
cdbba84f-94a3-49d9-ae4a-228068f3f60e 14:00:37: info ||| NST Manager (v5.5.9) | Adding Cmd to Queue 0 (qsize: 1): g7eYQoeQJZGk5PdQXtUcdLXNogzUSHLEyPvr5WDvjZ4u6VsbF_Uzmg, poll, poll, 0, NestPres | g7eYQoeQJZGk5PdQXtUcdLXNogzUSHLEyPvr5WDvjZ4u6VsbF_Uzmg
cdbba84f-94a3-49d9-ae4a-228068f3f60e 14:00:12: info ||| NST Manager (v5.5.9) | No Device or Structure poll - Devices Last Updated: 34 seconds ago | Structures Last Updated 34 seconds ago
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:59:39: info ||| NST Manager (v5.5.9) | createSavedNest | Cameras(0): null
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:59:39: info ||| NST Manager (v5.5.9) | createSavedNest | Protects(0): null
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:59:39: info ||| NST Manager (v5.5.9) | createSavedNest | Thermostats(1): [dJFTjm5UYvi-V5cLN-giUcubR7ObWPeV]
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:59:37: info ||| NST Manager (v5.5.9) | POLL scheduled (18 2/3 * * * ?)
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:59:15: debug NST Manager (v5.5.9) | Created Devices; Current Devices: (1) Thermostat(s), (0) Virtual Thermostat(s), (0) Protect(s), (0) Cameras(s), 1 Presence Device and 0 Weather Device
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:59:15: debug NST Manager (v5.5.9) | Created: Nest Presence Device with (Id: NestPres | g7eYQoeQJZGk5PdQXtUcdLXNogzUSHLEyPvr5WDvjZ4u6VsbF_Uzmg)
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:59:15: debug NST Manager (v5.5.9) | Found: Nest Thermostat - Living Room (Ty’r Celyn) with (Id: dJFTjm5UYvi-V5cLN-giUcubR7ObWPeV) exists
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:59:14: trace | NST Manager (v5.5.9) | stateCleanup
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:58:53: debug NST Manager (v5.5.9) | NST Manager Updated...with settings: [mobileClientType:ios, optInAppAnalytics:true, optInSendExceptions:true, liteAppMode:false, useMilitaryTime:false, usePush:false, weatherDevice:false, tstatShowHistoryGraph:true, disAppIcons:false, restStreaming:false, tempChgWaitVal:4, pushoverEnabled:false, pollValue:180, thermostats:[dJFTjm5UYvi-V5cLN-giUcubR7ObWPeV], showProtActEvts:true, structures:g7eYQoeQJZGk5PdQXtUcdLXNogzUSHLEyPvr5WDvjZ4u6VsbF_Uzmg, presDevice:true, enRemDiagLogging:false, pollWaitVal:10, pollStrValue:180, devNameOverride:true]
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:58:38: debug NST Manager (v5.5.9) | NST Manager Updated...with settings: [mobileClientType:ios, optInAppAnalytics:true, optInSendExceptions:true, liteAppMode:false, useMilitaryTime:false, usePush:false, weatherDevice:false, tstatShowHistoryGraph:true, disAppIcons:false, restStreaming:false, tempChgWaitVal:4, pushoverEnabled:false, pollValue:180, thermostats:[dJFTjm5UYvi-V5cLN-giUcubR7ObWPeV], showProtActEvts:true, structures:g7eYQoeQJZGk5PdQXtUcdLXNogzUSHLEyPvr5WDvjZ4u6VsbF_Uzmg, presDevice:true, enRemDiagLogging:false, pollWaitVal:10, pollStrValue:180, devNameOverride:true]
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:58:30: info ||| NST Manager (v5.5.9) | devicePage | Cameras(0): []
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:58:30: info ||| NST Manager (v5.5.9) | devicePage | Protects(0): []
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:58:30: info ||| NST Manager (v5.5.9) | devicePage | Thermostats(1): [dJFTjm5UYvi-V5cLN-giUcubR7ObWPeV]
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:58:26: info ||| NST Manager (v5.5.9) | devicePage | Cameras(0): []
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:58:26: info ||| NST Manager (v5.5.9) | devicePage | Protects(0): []
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:58:26: info ||| NST Manager (v5.5.9) | devicePage | Thermostats(1): [dJFTjm5UYvi-V5cLN-giUcubR7ObWPeV]
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:57:13: info ||| NST Manager (v5.5.9) | API Device Data HAS Changed (POLL(ASYNC))
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:57:12: info ||| NST Manager (v5.5.9) | Updating Structure Data (Last Updated: 135 seconds ago) | Updating Device Data (Last Updated: 133 seconds ago) (async)
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:56:45: info ||| NST Manager (v5.5.9) | sendFirebaseData({"guid":"5b33d9d8-aef1-4709-b2e2-e1b160112b98","beta":false,"versions":{"apps":{"manager":"5.5.9","automation":"5.5.0","service":"Not Installed"},"devices":{"thermostat":"Not Installed","vthermostat":"Not Installed","protect":"5.4.3","camera":"Not Installed","presence":"5.4.3","weather":"Not Installed"}},"thermostats":1,"protects":0,"vthermostats":0,"cameras":0,"appErrorCnt":0,"devErrorCnt":0,"installDt":"Sat Feb 16 08:09:46 GMT 2019","updatedDt":"Sat Feb 16 08:35:02 GMT 2019","automations":{"disabled":0,"nestMode":0,"remDiag":0,"schMot":{"conWat":0,"extTmp":0,"fanCirc":0,"fanCtrl":0,"humCtrl":0,"leakWat":0,"remSen":0,"tSched":0},"storage":0,"watchDog":1},"timeZone":"Europe/London","apiCmdCnt":0,"apiStrReqCnt":105,"apiDevReqCnt":108,"apiMetaReqCnt":4,"appNotifSentCnt":1,"apiRestStrEvtCnt":0,"appUseMetCnt":{"appNotifPrefLoadCnt":0,"authLoadCnt":2,"autoGlobPrefLoadCnt":0,"autoLoadCnt":0,"camZoneFltLoadCnt":0,"chgLogLoadCnt":0,"custWeathLoadCnt":0,"devCustLoadCnt":3,"devCustNameLoadCnt":0,"devLocLoadCnt":8,"diagLoadCnt":0,"helpLoadCnt":0,"infoLoadCnt":0,"logPrefLoadCnt":0,"mainLoadCnt":38,"nestLoginLoadCnt":0,"notifPrefLoadCnt":1,"pollPrefLoadCnt":2,"prefLoadCnt":2,"protTestLoadCnt":0,"vRprtPrefLoadCnt":0,"viewAutoSchedLoadCnt":0,"viewAutoStatLoadCnt":0},"devUseMetCnt":{"tstatVoiceRptCnt":0,"tstatManTmpChgCnt":0,"tstatProgTmpChgCnt":0,"tstatManModeChgCnt":0,"tstatProgModeChgCnt":0,"tstatManFanChgCnt":0,"tstatProgFanChgCnt":0,"tstatHtmlLoadCnt":1},"stateUsage":"13%","mobileClient":"ios","liteAppMode":false,"datetime":"Sat Feb 16 13:56:45 GMT 2019","optOut":false}, clients/5b33d9d8-aef1-4709-b2e2-e1b160112b98.json, null, heartbeat
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:55:00: info ||| NST Manager (v5.5.9) | createSavedNest | Cameras(0): null
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:55:00: info ||| NST Manager (v5.5.9) | createSavedNest | Protects(0): null
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:54:59: info ||| NST Manager (v5.5.9) | createSavedNest | Thermostats(1): [dJFTjm5UYvi-V5cLN-giUcubR7ObWPeV]
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:54:58: info ||| NST Manager (v5.5.9) | schedNextWorkQ DIRECT CALL │ queue: null │ schedTime: 0 │ recentSendCmd: null │ last seconds: null │ cmdDelay: 4 | runInActive: false | command proc: false | Api Limited: null
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:54:57: info ||| NST Manager (v5.5.9) | Updating Meta Data (forcedPoll)
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:54:56: info ||| NST Manager (v5.5.9) | Updating Structure Data (forcedPoll)
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:54:55: info ||| NST Manager (v5.5.9) | Updating Device Data (forcedPoll)
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:54:55: info ||| NST Manager (v5.5.9) | Last Forced Update was 1000 seconds ago.
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:54:55: warn || NST Manager (v5.5.9) | forcedPoll(null) received
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:54:55: info ||| NST Manager (v5.5.9) | POLL scheduled (12 0/3 * * * ?)
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:54:49: info ||| NST Manager (v5.5.9) | Installing watchDog
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:54:34: debug NST Manager (v5.5.9) | Created Devices; Current Devices: (1) Thermostat(s), (0) Virtual Thermostat(s), (0) Protect(s), (0) Cameras(s), 0 Presence Device and 0 Weather Device
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:54:34: debug NST Manager (v5.5.9) | Created: Nest Thermostat - Living Room (Ty’r Celyn) with (Id: dJFTjm5UYvi-V5cLN-giUcubR7ObWPeV)
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:54:23: trace | NST Manager (v5.5.9) | stateCleanup
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:54:01: debug NST Manager (v5.5.9) | NST Manager Updated...with settings: [mobileClientType:ios, optInAppAnalytics:true, optInSendExceptions:true, liteAppMode:false, useMilitaryTime:false, usePush:false, weatherDevice:false, tstatShowHistoryGraph:true, disAppIcons:false, restStreaming:false, tempChgWaitVal:4, pushoverEnabled:false, pollValue:180, thermostats:[dJFTjm5UYvi-V5cLN-giUcubR7ObWPeV], showProtActEvts:true, structures:g7eYQoeQJZGk5PdQXtUcdLXNogzUSHLEyPvr5WDvjZ4u6VsbF_Uzmg, presDevice:false, enRemDiagLogging:false, pollWaitVal:10, pollStrValue:180, devNameOverride:true]
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:53:28: info ||| NST Manager (v5.5.9) | devicePage | Cameras(0): []
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:53:28: info ||| NST Manager (v5.5.9) | devicePage | Protects(0): []
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:53:28: info ||| NST Manager (v5.5.9) | devicePage | Thermostats(1): [dJFTjm5UYvi-V5cLN-giUcubR7ObWPeV]
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:53:22: info ||| NST Manager (v5.5.9) | devicePage | Cameras(0): []
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:53:22: info ||| NST Manager (v5.5.9) | devicePage | Protects(0): []
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:53:22: info ||| NST Manager (v5.5.9) | devicePage | Thermostats(1): [dJFTjm5UYvi-V5cLN-giUcubR7ObWPeV]
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:53:16: info ||| NST Manager (v5.5.9) | devicePage | Cameras(0): []
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:53:16: info ||| NST Manager (v5.5.9) | devicePage | Protects(0): []
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:53:16: info ||| NST Manager (v5.5.9) | devicePage | Thermostats(0): []
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:53:12: info ||| NST Manager (v5.5.9) | devicePage | Cameras(0): []
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:53:12: info ||| NST Manager (v5.5.9) | devicePage | Protects(0): []
cdbba84f-94a3-49d9-ae4a-228068f3f60e 13:53:12: info ||| NST Manager (v5.5.9) | devicePage | Thermostats(0): []

Thermostat
3995bcf5-b885-422e-b3e3-c040adee5008 14:01:28: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | ST | Nest Presence: Not present | Original State: Present | State Variable: true
3995bcf5-b885-422e-b3e3-c040adee5008 13:56:40: info ||| Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | getWebData: changelog data
3995bcf5-b885-422e-b3e3-c040adee5008 13:56:16: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | dayNum: 6 currentDay 6 | monthNum: 2 currentMonth 2 | yearNum: 2019 currentYear: 2019
3995bcf5-b885-422e-b3e3-c040adee5008 13:56:16: trace || Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | updateOperatingHistory(Sat Feb 16 13:56:16 UTC 2019)...
3995bcf5-b885-422e-b3e3-c040adee5008 13:56:16: trace || Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | initHistoryStore()...
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:10: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | Temperature Lock Maximum is (26.0) | Original Temp: (null)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:10: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | Temperature Lock Minimum is (9.0) | Original Temp: (null)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:10: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | Comfort Dewpoint Maximum is (0.0) | Original Dewpoint: (null)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:10: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | Comfort Humidity Maximum is (80%) | Original Humidity: (null%)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:10: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | Safety Temperature Exceeded is (false) | Current Temp: (nullC) | Min: (0.0C) | Max: (0.0C)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:10: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | Safety Temperature Minimum is (0C) | Original Temp: (nullC)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:10: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | Firmware Version: (5.9.3-6) | Original State: (null)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:10: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | Time to Target: (System is Idle) | Original State: (Null)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:10: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | SunLight Correction Active: (false) | Original State: (Null)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:10: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | SunLight Correction Enabled: (true) | Original State: (Null)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:10: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | Online Status is: (online) | Original State: (null)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:10: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | Fan Mode: (Disabled) | Original State: (Null)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:09: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | Hvac Previous Mode is () | Original State: (Null)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:09: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | whoSetEcoMode is (Not in Eco Mode) | Original State: (null)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:09: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | Hvac Mode is (Heat) | Original State: (Null)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:09: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | NEST Hvac Mode is (Heat) | Original State: (Null)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:09: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | ST | Nest Presence: Present | Original State: Present | State Variable: null
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:09: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | Temperature Lock is set to (true) | Original State: (null)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:09: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | Temperature Unit: (C) | Original State: (null)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:09: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | repairHealthStatus(null)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:09: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | Updating the device's 'isVirtual' data value to (false)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:09: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | initialized...
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:09: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | repairHealthStatus(null)
3995bcf5-b885-422e-b3e3-c040adee5008 13:55:09: debug Nest Thermostat - Living Room (Ty’r Celyn) (v5.4.5) | UPDATED | Device Debug Logging is: (Off) | Original State: (Null)
3995bcf5-b885-422e-b3e3-c040adee5008 13:54:42: debug repairHealthStatus([flag:true])
3995bcf5-b885-422e-b3e3-c040adee5008 13:54:35: debug repairHealthStatus(null)
3995bcf5-b885-422e-b3e3-c040adee5008 13:54:35: debug Setting virtual to FALSE
3995bcf5-b885-422e-b3e3-c040adee5008 13:54:35: debug initialized...
3995bcf5-b885-422e-b3e3-c040adee5008 13:54:30: debug installed...

Presence
12e7b52d-e8c8-4065-8ab5-c39fffdeec90 14:01:22: debug Nest Presence Device (v5.4.3) | UPDATED | Presence: not present | Original State: present | State Variable: true
12e7b52d-e8c8-4065-8ab5-c39fffdeec90 14:01:01: debug Nest Presence Device (v5.4.3) | repairHealthStatus([flag:true])
12e7b52d-e8c8-4065-8ab5-c39fffdeec90 14:00:45: debug Nest Presence Device (v5.4.3) | UPDATED | Device Type Version is: (5.4.3) | Original State: (null)
12e7b52d-e8c8-4065-8ab5-c39fffdeec90 14:00:45: debug Nest Presence Device (v5.4.3) | UPDATED | API Status is: (true) | Original State: (null)
12e7b52d-e8c8-4065-8ab5-c39fffdeec90 14:00:45: debug Nest Presence Device (v5.4.3) | UPDATED | Presence: present | Original State: null | State Variable: null
12e7b52d-e8c8-4065-8ab5-c39fffdeec90 14:00:45: debug UPDATED | Device Debug Logging is: (Off) | Original State: (null)
12e7b52d-e8c8-4065-8ab5-c39fffdeec90 14:00:45: debug Nest Presence Device (v5.4.3) | repairHealthStatus(null)
12e7b52d-e8c8-4065-8ab5-c39fffdeec90 14:00:45: debug repairHealthStatus(null)
12e7b52d-e8c8-4065-8ab5-c39fffdeec90 14:00:37: debug Polling parent...
12e7b52d-e8c8-4065-8ab5-c39fffdeec90 13:59:27: debug repairHealthStatus([flag:true])
12e7b52d-e8c8-4065-8ab5-c39fffdeec90 13:59:20: debug repairHealthStatus(null)
12e7b52d-e8c8-4065-8ab5-c39fffdeec90 13:59:15: debug installed...

Watchdog
a72034e6-580a-4c8a-9448-e9acb41ac6db 14:02:10: warn || Nest Location Home Watchdog | watchDogCheck: | Thermostat: Nest Thermostat - Living Room (Ty’r Celyn) is Away and Mode Is Not in ECO | CurMode: (heat) | CurrentPresence: (not present)
a72034e6-580a-4c8a-9448-e9acb41ac6db 14:01:28: trace | Nest Location Home Watchdog | PRESENCE Event | Device: Nest Thermostat - Living Room (Ty’r Celyn) | Value: (Not present) with a delay of 40ms
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:59:45: info ||| Nest Location Home Watchdog | Automation Label: Nest Location Home Watchdog
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:59:45: info ||| Nest Location Home Watchdog | watchDog scheduled (53 1/30 * * * ?)
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:59:39: debug Nest Location Home Watchdog | Nest Location Home Watchdog Updated...with settings: [watchDogFlag:true]
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:59:36: info ||| Nest Location Home Watchdog | Automation Label: Nest Location Home Watchdog
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:59:36: info ||| Nest Location Home Watchdog | watchDog scheduled (2 4/30 * * * ?)
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:59:30: debug Nest Location Home Watchdog | Nest Location Home Watchdog Updated...with settings: [watchDogFlag:true]
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:59:04: info ||| Nest Location Home Watchdog | Automation Label: Nest Location Home Watchdog
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:59:04: info ||| Nest Location Home Watchdog | watchDog scheduled (54 3/30 * * * ?)
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:58:58: debug Nest Location Home Watchdog | Nest Location Home Watchdog Updated...with settings: [watchDogFlag:true]
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:58:49: info ||| Nest Location Home Watchdog | Automation Label: Nest Location Home Watchdog
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:58:49: info ||| Nest Location Home Watchdog | watchDog scheduled (58 2/30 * * * ?)
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:58:43: debug Nest Location Home Watchdog | Nest Location Home Watchdog Updated...with settings: [watchDogFlag:true]
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:55:14: trace | Nest Location Home Watchdog | Event | Thermostat Safety Temp Exceeded: 'Nest Thermostat - Living Room (Ty’r Celyn)' (false) with a delay of 1506ms
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:55:13: debug Nest Location Home Watchdog | scheduleAutomationEval: Skipping Schedule Change: (37sec) because (40sec) Left
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:55:13: trace | Nest Location Home Watchdog | NESTTHERMOSTATMODE Event | Device: Nest Thermostat - Living Room (Ty’r Celyn) | Value: (Heat) with a delay of 1484ms
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:55:13: debug Nest Location Home Watchdog | scheduleAutomationEval: Skipping Schedule Change: (36sec) because (40sec) Left
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:55:13: trace | Nest Location Home Watchdog | THERMOSTATMODE Event | Device: Nest Thermostat - Living Room (Ty’r Celyn) | Value: (Heat) with a delay of 40ms
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:55:13: trace | Nest Location Home Watchdog | TEMPERATURE Event | Device: Nest Thermostat - Living Room (Ty’r Celyn) | Value: (17.0) with a delay of 43ms
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:55:13: trace | Nest Location Home Watchdog | PRESENCE Event | Device: Nest Thermostat - Living Room (Ty’r Celyn) | Value: (Present) with a delay of 43ms
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:55:08: debug Nest Location Home Watchdog | scheduleAutomationEval: Skipping Schedule Change: (30sec) because (21sec) Left
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:55:08: info ||| Nest Location Home Watchdog | Automation Label: Nest Location Home Watchdog
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:55:08: info ||| Nest Location Home Watchdog | watchDog scheduled (40 8/30 * * * ?)
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:55:01: debug Nest Location Home Watchdog | Nest Location Home Watchdog Updated...with settings: [watchDogFlag:true]
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:54:59: info ||| Nest Location Home Watchdog | Automation Label: Nest Location Home Watchdog
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:54:59: info ||| Nest Location Home Watchdog | watchDog scheduled (48 5/30 * * * ?)
a72034e6-580a-4c8a-9448-e9acb41ac6db 13:54:53: debug Nest Location Home Watchdog Installed with settings: [watchDogFlag:true]

@RogerSelwyn
Copy link
Author

I notice there is no Watchdog when you have a Nest Protect only location (or at least I didn't notice before). You will notice in the logs that I changed the location from Home to Away via the native Nest app, so the device is being updated in Smartthings fine, but the Presence device shows as unavailable.

@imnotbob
Copy link
Collaborator

watchdog I think on ST installs for a thermostat. I can check the code if we should do it for all devices.

Likely need you for the location having trouble to enable remote diagnostics (this URL should be shared in a private message in the forums).

I don't see any obvious error so far.

@RogerSelwyn
Copy link
Author

@imnotbob thanks for advice. I've got to admit, I can't see how to send a private message. I can see advice from years ago on how to find out someones email address, but not sure if that is the right way to go about it. Used plenty of forums in my day, but this is the first time I've wanted to PM on GitHub.

@RogerSelwyn
Copy link
Author

RogerSelwyn commented Feb 16, 2019

Screenshot show unavailable. I've sent you a message, how you have it.
img_2034

@RogerSelwyn
Copy link
Author

I made a couple of code changes to try and identify the issue to add more logging, so there will be some 'new' items in the Presence log. Seems to come down to 'def res = device?.getStatus()' returning OFFLINE. I'm afraid I don't know where device status gets set, I think by Nest, but not sure.

@RogerSelwyn
Copy link
Author

Found the bug.

Presence DH refers to 'lastStrucDataUpd' but NST Manager is sending 'lastStrDataUpd', so it never does the routine to set the status as Online. Lines 219 and 220 in the DH.

Fixed it in my local copy, and all working fine.

@imnotbob
Copy link
Collaborator

thx for finding this, pushing a fix now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants