Disappearing and re-appearing thermostats

vtmikel
Posts: 717
Joined: Fri Aug 31, 2012 12:45 pm
Location: Boston, MA
Contact:

Disappearing and re-appearing thermostats

Post by vtmikel »

Yesterday, my NEST thermostats were deleted by the NEST plugin and re-added. This is the second time this has happened, the last time was ~1 month ago.

The occurrence of this is hard to detect because the devices look the exact same, but they are clearly a different Device ID as I had my thermostat ID's in several scripts that I hardcoded.

When it happens, HomeKit Bridge burps out the device, and several of my triggers need to be re-assigned. I discussed with @C4W and it's not something to do with HomeKit Bridge.

I think I'm giving up on having my thermostats in HomeKit Bridge. I don't use them via the Home app anyway. My household is used to going to the NEST app to control the thermostats. Old habits die hard. This will limit my re-work when this happens.

I saw a post from @dduf617 that indicated that I may not be the only one with this happening. Is the plugin still in active development? I wish there was a config option to turn off the automatic device removal/addition. This only needs to be there during initial setup and if someone adds a new NEST device to their household.
User avatar
Colorado4Wheeler
Posts: 2794
Joined: Mon Jul 20, 2009 10:48 am
Location: Colorado

Re: Disappearing and re-appearing thermostats

Post by Colorado4Wheeler »

Chameleon has been dealing with some health issue I believe, but he chimed in recently to let us all know he is OK. It's not HKB, we know that from your last post and the logs from then. I have Nests myself and have never had this happen. What generation are your thermostats?
My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here
vtmikel
Posts: 717
Joined: Fri Aug 31, 2012 12:45 pm
Location: Boston, MA
Contact:

Re: Disappearing and re-appearing thermostats

Post by vtmikel »

Here's a bit of info.

I have two 3rd generation thermostats, and 8 Protects (two second generation, six first generation, 7 are wired, 1 is battery).

Looking back at the logs, the devices disappeared right as I disconnected from a remote Indigo client to my Indigo server (.82 is a Mac client). It also appears that several plugins momentarily had problems connecting to their cloud services when this happened.

Code: Select all

2018-06-07 22:48:23.610	Application	Indigo Cocoa client disconnected (10.66.0.82)
2018-06-07 22:48:23.616	Rachio Sprinklers Error	Unknown error:
Traceback (most recent call last):
  File "plugin.py", line 381, in _update_from_rachio
    dev.replacePluginPropsOnServer(props)
StandardError: ServerCommunicationError -- timeout waiting for response

2018-06-07 22:48:23.618	HomeKit Bridge Error	Exception in plugin.onAfter_nonpluginDeviceUpdated line 637: ServerCommunicationError -- timeout waiting for response
							 CODE: if serverId not in indigo.devices:

2018-06-07 22:48:23.618	Sonos Error	Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 47, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos-2.indigoPlugin/Contents/Server Plugin/Sonos.py", line 379, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos-2.indigoPlugin/Contents/Server Plugin/Sonos.py", line 615, in updateRelTime
StandardError: ServerCommunicationError -- timeout waiting for response

2018-06-07 22:48:23.618	Sonos Error	plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2018-06-07 22:48:23.619	Z-Wave	received "Mudroom Luminance" sensor update to 1 lux
2018-06-07 22:48:23.621	Z-Wave	received "Mudroom Humidity" sensor update to 52%
2018-06-07 22:48:23.622	Z-Wave	received "Mudroom Temperature" sensor update to 68.0 °F
2018-06-07 22:48:23.972	HomeKit Bridge Warning	Indigo device Downstairs Thermostat was removed and is linked to HomeKit, removing from any impacted servers
2018-06-07 22:48:24.081	HomeKit Bridge	Caching all HomeKit Bridge devices...
2018-06-07 22:48:25.835	HomeKit Bridge Error	Exception in homekit.special_nestHvacMode line 1805: 'key id 1449718684 not found in database'
							 CODE: obj = indigo.devices[self.objId]

For object id 1449718684 alias 'Upstairs Thermostat'
2018-06-07 22:48:25.836	HomeKit Bridge Error	Exception in homekit.special_thermTemperatureSetPoint line 1921: 'key id 1449718684 not found in database'
							 CODE: obj = indigo.devices[self.objId]

For object id 1449718684 alias 'Upstairs Thermostat'
2018-06-07 22:48:25.839	HomeKit Bridge Error	Exception in homekit.detCharacteristicValues line 1003: 'key id 1449718684 not found in database'
							 CODE: obj = indigo.devices[self.objId]

For object id 1449718684 alias 'Upstairs Thermostat'
2018-06-07 22:48:25.840	HomeKit Bridge Error	Exception in homekit.detCharacteristicValues line 1000: 'key id 1449718684 not found in database'
							 CODE: if getter.replace("attr_", "") in dir(indigo.devices[self.objId]): hasvalue = True

For object id 1449718684 alias 'Upstairs Thermostat'
2018-06-07 22:48:25.843	HomeKit Bridge Warning	Indigo device Upstairs Thermostat was removed and is linked to HomeKit, removing from any impacted servers
2018-06-07 22:48:25.867	HomeKit Bridge	Caching all HomeKit Bridge devices...
2018-06-07 22:48:27.328	HomeKit Bridge	Caching all HomeKit Bridge devices...
2018-06-07 22:48:29.157	HomeKit Bridge	Attempting to stop 'HomeKit Bridge'
2018-06-07 22:48:30.435	Sonos	SoCo Reactor Ignition...
2018-06-07 22:48:34.178	HomeKit Bridge	HomeKit server 'HomeKit Bridge' has been stopped
2018-06-07 22:48:34.204	HomeKit Bridge Warning	Device ID 1449718684 (Upstairs Thermostat) is linked to server 'HomeKit Bridge' but that device ID no longer exists in Indigo and will be removed from the configuration
2018-06-07 22:48:34.215	HomeKit Bridge	Caching all HomeKit Bridge devices...
2018-06-07 22:48:36.005	HomeKit Bridge	Attempting to start 'HomeKit Bridge'
2018-06-07 22:48:40.648	HomeKit Bridge	Server 'HomeKit Bridge' has successfully started, you can use your HomeKit apps or Siri for this accessory
2018-06-07 22:48:41.038	HomeKit Bridge	Caching all HomeKit Bridge devices...
2018-06-07 22:48:42.867	HomeKit Bridge	Attempting to stop 'HomeKit Bridge'
2018-06-07 22:48:47.889	HomeKit Bridge	HomeKit server 'HomeKit Bridge' has been stopped
2018-06-07 22:48:48.331	HomeKit Bridge	Attempting to start 'HomeKit Bridge'
2018-06-07 22:48:50.723	HomeKit Bridge	Server 'HomeKit Bridge' has successfully started, you can use your HomeKit apps or Siri for this accessory
2018-06-07 22:49:11.543	Z-Wave	received "Stairwell Temperature" sensor update to 72.0 °F
2018-06-07 22:49:12.408	Z-Wave	received "Stairwell Humidity" sensor update to 55%
2018-06-07 22:49:17.898	Z-Wave	received "Stairwell Luminance" sensor update to 0 lux
2018-06-07 22:49:18.132	Z-Wave	received "Stairwell Ultraviolet" sensor update to 0
2018-06-07 22:49:19.977	Z-Wave	received "036 - Stairwell Motion Sensor" status update battery level 100%
2018-06-07 22:49:25.282	Error	device "Downstairs Thermostat" state key humidityInput1 not defined (ignoring update request)
2018-06-07 22:49:25.285	Error	device "Downstairs Thermostat" state key humidityInputsAll not defined (ignoring update request)
2018-06-07 22:49:25.286	Error	device "Downstairs Thermostat" state key humidityInput1 not defined (ignoring update request)
2018-06-07 22:49:25.886	Error	device "Upstairs Thermostat" state key humidityInput1 not defined (ignoring update request)
2018-06-07 22:49:25.886	Error	device "Upstairs Thermostat" state key humidityInputsAll not defined (ignoring update request)
2018-06-07 22:49:25.887	Error	device "Upstairs Thermostat" state key humidityInput1 not defined (ignoring update request)
The plugin log in the "com.corporatechameleon.nestplugBeta" folder has no interesting log items.

I've been working with Matt about a server crash that I experience occasionally, though this does not coincide with one of those crashes.
Post Reply

Return to “NEST Home”