New NEST Plugin ready for general use
Re: New NEST Plugin ready for general use
Hi Dave,
That definitely should not happen. If you want to send me the logs, I'd be happy to take a look. Did you see a entry in the log that states that the temperature set point was being changed from the plugin? Upon reset, the plugin uses the values from NEST.com as the master, not the stored state from Indigo.
EDIT: to clarify, the plugin and the value on NEST.com should always be in sync. Restarting the plugin should have no effect on the set points since the state was already in sync. At midnight, the plugin "reset the temperature to 72", which I assume was the value that NEST.com had. Perhaps the setting of 75 at 10pm didn't go through?
EDIT 2: You also shouldn't have to restart the plugin. I had this previously as well, when the prior plugin crashed frequently. The new plugin has a health monitor to ensure it's staying connected to NEST.com. If you want to still have a manual check, I would recommend initiating a "Send Status Request" rather than restarting the plugin. This will allow the plugin to self manage the plugin, but will also force a manual check to ensure the states are in sync.
That definitely should not happen. If you want to send me the logs, I'd be happy to take a look. Did you see a entry in the log that states that the temperature set point was being changed from the plugin? Upon reset, the plugin uses the values from NEST.com as the master, not the stored state from Indigo.
EDIT: to clarify, the plugin and the value on NEST.com should always be in sync. Restarting the plugin should have no effect on the set points since the state was already in sync. At midnight, the plugin "reset the temperature to 72", which I assume was the value that NEST.com had. Perhaps the setting of 75 at 10pm didn't go through?
EDIT 2: You also shouldn't have to restart the plugin. I had this previously as well, when the prior plugin crashed frequently. The new plugin has a health monitor to ensure it's staying connected to NEST.com. If you want to still have a manual check, I would recommend initiating a "Send Status Request" rather than restarting the plugin. This will allow the plugin to self manage the plugin, but will also force a manual check to ensure the states are in sync.
Re: New NEST Plugin ready for general use
Hi Mike - I just sent you my logs via email. Let me know what you think.
I'll get rid of the reload as you suggested.
Dave
I'll get rid of the reload as you suggested.
Dave
I came here to drink milk and kick ass....and I've just finished my milk.
My Plugins and Scripts
My Plugins and Scripts
Re: New NEST Plugin ready for general use
First off, I am extremely pleased to have this new Nest plugin available. Thanks a million!
I am running into a problem with 1.1.2, where after some amount of time, the Nest plugin goes to ~100% CPU and stays there.
Any suggestions on what I can do to help track things down? I do see messages like this in the Events log:
I am happy to help troubleshoot.
Many thanks in advance,
Eric
I am running into a problem with 1.1.2, where after some amount of time, the Nest plugin goes to ~100% CPU and stays there.
Any suggestions on what I can do to help track things down? I do see messages like this in the Events log:
Code: Select all
2014-06-09 16:00:00.329 Schedule Check Local Weather
2014-06-09 16:00:00.332 Schedule Set Nest_Temp Variable
2014-06-09 16:09:27.178 Received INSTEON "Kitchen Counter" off
2014-06-09 16:10:00.308 Schedule Check Local Weather
2014-06-09 16:10:00.311 Schedule Set Nest_Temp Variable
2014-06-09 16:13:13.452 Yet Another Nest Thermostat Plugin Invalid message:
2014-06-09 16:13:13.453 Yet Another Nest Thermostat Plugin Invalid message: events.js:72
2014-06-09 16:13:13.454 Yet Another Nest Thermostat Plugin Invalid message: throw er; // Unhandled 'error' event
2014-06-09 16:13:13.454 Yet Another Nest Thermostat Plugin Invalid message: ^
2014-06-09 16:13:13.454 Yet Another Nest Thermostat Plugin Invalid message: Error: socket hang up
2014-06-09 16:13:13.455 Yet Another Nest Thermostat Plugin Invalid message: at SecurePair.error (tls.js:1013:23)
2014-06-09 16:13:13.455 Yet Another Nest Thermostat Plugin Invalid message: at EncryptedStream.CryptoStream._done (tls.js:705:22)
2014-06-09 16:13:13.455 Yet Another Nest Thermostat Plugin Invalid message: at CleartextStream.read [as _read] (tls.js:496:24)
2014-06-09 16:13:13.455 Yet Another Nest Thermostat Plugin Invalid message: at CleartextStream.Readable.read (_stream_readable.js:320:10)
2014-06-09 16:13:13.455 Yet Another Nest Thermostat Plugin Invalid message: at EncryptedStream.onCryptoStreamFinish (tls.js:301:47)
2014-06-09 16:13:13.455 Yet Another Nest Thermostat Plugin Invalid message: at EncryptedStream.g (events.js:180:16)
2014-06-09 16:13:13.455 Yet Another Nest Thermostat Plugin Invalid message: at EncryptedStream.EventEmitter.emit (events.js:117:20)
2014-06-09 16:13:13.455 Yet Another Nest Thermostat Plugin Invalid message: at finishMaybe (_stream_writable.js:360:12)
2014-06-09 16:13:13.456 Yet Another Nest Thermostat Plugin Invalid message: at endWritable (_stream_writable.js:367:3)
2014-06-09 16:13:13.456 Yet Another Nest Thermostat Plugin Invalid message: at EncryptedStream.Writable.end (_stream_writable.js:345:5)
2014-06-09 16:20:00.286 Schedule Check Local Weather
2014-06-09 16:20:00.289 Schedule Set Nest_Temp Variable
Many thanks in advance,
Eric
Re: New NEST Plugin ready for general use
I too am getting this:
EDIT: just tried to send a change in cool set point, and got this:
Code: Select all
2014-06-09 13:19:14.598 Yet Another Nest Thermostat Plugin Invalid message:
2014-06-09 13:19:14.599 Yet Another Nest Thermostat Plugin Invalid message: events.js:72
2014-06-09 13:19:14.599 Yet Another Nest Thermostat Plugin Invalid message: throw er; // Unhandled 'error' event
2014-06-09 13:19:14.600 Yet Another Nest Thermostat Plugin Invalid message: ^
2014-06-09 13:19:14.600 Yet Another Nest Thermostat Plugin Invalid message: Error: socket hang up
2014-06-09 13:19:14.600 Yet Another Nest Thermostat Plugin Invalid message: at SecurePair.error (tls.js:1013:23)
2014-06-09 13:19:14.600 Yet Another Nest Thermostat Plugin Invalid message: at EncryptedStream.CryptoStream._done (tls.js:705:22)
2014-06-09 13:19:14.600 Yet Another Nest Thermostat Plugin Invalid message: at CleartextStream.read [as _read] (tls.js:496:24)
2014-06-09 13:19:14.600 Yet Another Nest Thermostat Plugin Invalid message: at CleartextStream.Readable.read (_stream_readable.js:320:10)
2014-06-09 13:19:14.600 Yet Another Nest Thermostat Plugin Invalid message: at EncryptedStream.onCryptoStreamFinish (tls.js:301:47)
2014-06-09 13:19:14.601 Yet Another Nest Thermostat Plugin Invalid message: at EncryptedStream.g (events.js:180:16)
2014-06-09 13:19:14.601 Yet Another Nest Thermostat Plugin Invalid message: at EncryptedStream.EventEmitter.emit (events.js:117:20)
2014-06-09 13:19:14.601 Yet Another Nest Thermostat Plugin Invalid message: at finishMaybe (_stream_writable.js:360:12)
2014-06-09 13:19:14.601 Yet Another Nest Thermostat Plugin Invalid message: at endWritable (_stream_writable.js:367:3)
2014-06-09 13:19:14.601 Yet Another Nest Thermostat Plugin Invalid message: at EncryptedStream.Writable.end (_stream_writable.js:345:5)
Code: Select all
Yet Another Nest Thermostat Plugin Error Trouble connecting to the NEST proxy, restarting it.
Yet Another Nest Thermostat Plugin stopping NEST listener thread...
Yet Another Nest Thermostat Plugin launching NEST listener thread and Nest.com proxy...
Yet Another Nest Thermostat Plugin sent "Thermostat - Downstairs" increase cool setpoint to 74.0
Yet Another Nest Thermostat Plugin Invalid message: or_lockout_enabled":false,"hvac_alt_heat_state":false,"target_temperature_type":"cool","hvac_heater_eat_state":false,"can_heaeout":0,"hvac_cool_x2_state":faaux_heater_state":false,"hvac_heat_x2_s_state":false,"target_temperature":23.3333333333ame":"Downstairs","current_temperature":21.37,"hvac_alt_heat96460013","serial":"SERIAL_NUMBER"}
Yet Another Nest Thermostat Plugin Invalid message: mpressor_lockout_enabled":false,"hvac_alt_heat_state":false,"target_temperature_type":"cool","hvac_hlse,"target_temperature_h3333332,"hvac_fan_state":false,:"SERIAL_NUMBER"}
Yet Another Nest Thermostat Plugin Invalid message: {"touched_by":{},"auto_away":-1,"auto_away_learning":"training","hvac_heat_x3_state":false,"compressstate":false,"hvac_emer_ht":true,"compressor_lockout_timlse,"target_temperature_high":24,"hvac_tate":false,"target_temperature_low":20,"hvac_ac33332,"hvac_fan_state":false,"target_change_pending":true,"n_x2_state":false,"can_cool":true,"$version":"342263043","$timestamp":"14023{"touched_by":{},"auto_away":-1,"auto_away_learning":"training","hvac_heat_x3_state":false,"coeater_state":false,"hvac_emer_heat_state":false,"can_heat":true,"compressor_lockout_timeout":0,"hvac_cool_x2_state":faigh":24,"hvac_aux_heater_state":false,"hvac_heat_x2_state":false,"target_temperature_low":20,"hvac_ac_state":false,"target_temperature":23.33333333"target_change_pending":true,"name":"Downstairs","current_temperature":21.37,"hvac_alt_heat_x2_state":false,"can_cool":true,"$version":"342263043","$timestamp":"1402396460013","serial"{"touched_by":{},"auto_away":-1,"auto_away_learning":"training","hvac_heat_x3_state":false,"compressor_lockout_enabled":false,"hvac_alt_heat_state":false,"target_temperature_type":"cool","hvac_heater_state":false,"hvac_emer_heat_sature_high":24,"hvac_aux_heater_state":false,"hvac_heat_x2_state":false,"target_temperature_low":20,"target_temperature":23.333333333333332,"hvac_ac_state":false,"hvac_fan_state":false,"target_change_pending":false,"name":"Downstairs","current_temperature":21.37,"hvac_alt_heat_x2_state"version":"-1143978921","$timestamp":"1402396462719","serial":"02AASERIAL_NUMBER"}I came here to drink milk and kick ass....and I've just finished my milk.
My Plugins and Scripts
My Plugins and Scripts
Re: New NEST Plugin ready for general use
I am getting this..
un 11, 2014, 7:11:56 PM
Yet Another Nest Thermostat Plugin Obtaining the latest values from NEST.com
Yet Another Nest Thermostat Plugin Error Trouble connecting to the NEST proxy, restarting it.
Yet Another Nest Thermostat Plugin launching NEST listener thread and Nest.com proxy...
Yet Another Nest Thermostat Plugin Invalid message:
Yet Another Nest Thermostat Plugin Invalid message: /Library/Application Support/Perceptive Automation/Indigo 6/Plugins/IndigoNestPlugin.indigoPlugin/Contents/Server Plugin/nest_api.js:185
Yet Another Nest Thermostat Plugin Invalid message: host:nestSession.urls.transport_url.hostname,
Yet Another Nest Thermostat Plugin Invalid message: ^
Yet Another Nest Thermostat Plugin Invalid message: TypeError: Cannot read property 'transport_url' of undefined
Yet Another Nest Thermostat Plugin Invalid message: at nestGet (/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/IndigoNestPlugin.indigoPlugin/Contents/Server Plugin/nest_api.js:185:34)
Yet Another Nest Thermostat Plugin Invalid message: at Object.fetchCurrentStatus [as fetchStatus] (/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/IndigoNestPlugin.indigoPlugin/Contents/Server Plugin/nest_api.js:223:9)
Yet Another Nest Thermostat Plugin Invalid message: at Server.processIndigoRequest (/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/IndigoNestPlugin.indigoPlugin/Contents/Server Plugin/nest_monitor.js:86:7)
Yet Another Nest Thermostat Plugin Invalid message: at Server.EventEmitter.emit (events.js:98:17)
Yet Another Nest Thermostat Plugin Invalid message: at HTTPParser.parser.onIncoming (http.js
12)
Yet Another Nest Thermostat Plugin Invalid message: at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:121:23)
Yet Another Nest Thermostat Plugin Invalid message: at Socket.socket.ondata (http.js
22)
Yet Another Nest Thermostat Plugin Invalid message: at TCP.onread (net.js:527:27)
Indigo Cocoa client authenticated (192.168.0.4)
un 11, 2014, 7:11:56 PM
Yet Another Nest Thermostat Plugin Obtaining the latest values from NEST.com
Yet Another Nest Thermostat Plugin Error Trouble connecting to the NEST proxy, restarting it.
Yet Another Nest Thermostat Plugin launching NEST listener thread and Nest.com proxy...
Yet Another Nest Thermostat Plugin Invalid message:
Yet Another Nest Thermostat Plugin Invalid message: /Library/Application Support/Perceptive Automation/Indigo 6/Plugins/IndigoNestPlugin.indigoPlugin/Contents/Server Plugin/nest_api.js:185
Yet Another Nest Thermostat Plugin Invalid message: host:nestSession.urls.transport_url.hostname,
Yet Another Nest Thermostat Plugin Invalid message: ^
Yet Another Nest Thermostat Plugin Invalid message: TypeError: Cannot read property 'transport_url' of undefined
Yet Another Nest Thermostat Plugin Invalid message: at nestGet (/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/IndigoNestPlugin.indigoPlugin/Contents/Server Plugin/nest_api.js:185:34)
Yet Another Nest Thermostat Plugin Invalid message: at Object.fetchCurrentStatus [as fetchStatus] (/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/IndigoNestPlugin.indigoPlugin/Contents/Server Plugin/nest_api.js:223:9)
Yet Another Nest Thermostat Plugin Invalid message: at Server.processIndigoRequest (/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/IndigoNestPlugin.indigoPlugin/Contents/Server Plugin/nest_monitor.js:86:7)
Yet Another Nest Thermostat Plugin Invalid message: at Server.EventEmitter.emit (events.js:98:17)
Yet Another Nest Thermostat Plugin Invalid message: at HTTPParser.parser.onIncoming (http.js
Yet Another Nest Thermostat Plugin Invalid message: at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:121:23)
Yet Another Nest Thermostat Plugin Invalid message: at Socket.socket.ondata (http.js
Yet Another Nest Thermostat Plugin Invalid message: at TCP.onread (net.js:527:27)
Indigo Cocoa client authenticated (192.168.0.4)
Re: New NEST Plugin ready for general use
My Nest plugin appears to be back online. I rebooted my server yesterday to install some updates from Apple and since then, it seems to be running okay. It could be coincidence, it could be the reboot, and it could be one of the Apple updates. Beats me.
Dave
Dave
I came here to drink milk and kick ass....and I've just finished my milk.
My Plugins and Scripts
My Plugins and Scripts
Re: New NEST Plugin ready for general use
I have an update. My Nest plugin hasn't been stuck at 100% CPU for several days, with one exception: when my Internet connection was down. In that case, the Nest plugin would get hung up during launch and the Indigo client (UI) couldn't complete its connection to the server. Force quitting the Nest plugin and relaunching the client allowed it to connect, but as soon as the Nest plugin loaded again, it would hang up at max CPU.
I don't see anything unusual in the log, though, so I don't really have anything more helpful to share.
Thanks.
I don't see anything unusual in the log, though, so I don't really have anything more helpful to share.
Thanks.
Re: New NEST Plugin ready for general use
I see today that Nest has updated it's iPhone app to be compatible with the "Works with Nest" program. Not really sure what that means, but I hope that it means that there is an official API in the near future. There's a couple recent articles in the news about Nest too, but they're not really that far in the weeds.
Dave
Dave
I came here to drink milk and kick ass....and I've just finished my milk.
My Plugins and Scripts
My Plugins and Scripts
Re: New NEST Plugin ready for general use
It is likely that something is causing the CPU run at 100% with my monitoring thread, which kicks in when the connection to NEST drops. I'll look into it, but it's been very stable for me for months now.
Re: New NEST Plugin ready for general use
I just got an email message from Nest that the API is open for business. I don't have time to take a look to see what's involved with it until after work, but this is at least promising!
Mike - maybe there's finally something we can do with Target Humidity...
Dave
Mike - maybe there's finally something we can do with Target Humidity...
Dave
I came here to drink milk and kick ass....and I've just finished my milk.
My Plugins and Scripts
My Plugins and Scripts
-
Indy_Larry
- Posts: 133
- Joined: Tue Dec 03, 2013 10:49 am
- Location: Indianapolis
Re: New NEST Plugin ready for general use
I just read this about the announcement
http://arstechnica.com/gadgets/2014/06/ ... -home-api/
Sent from my iPad using Tapatalk
http://arstechnica.com/gadgets/2014/06/ ... -home-api/
Sent from my iPad using Tapatalk
Larry
Insteon, Z Wave, Hue, Sonos
Insteon, Z Wave, Hue, Sonos
Re: New NEST Plugin ready for general use
The documentation seems straightforward. The new proximity control is interesting as well.
Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts
-
Indy_Larry
- Posts: 133
- Joined: Tue Dec 03, 2013 10:49 am
- Location: Indianapolis
Re: New NEST Plugin ready for general use
IFTTT has just released the Nest & Protect channels
http://blog.ifttt.com/post/89799971303/ ... st-protect
Sent from my iPad using Tapatalk
http://blog.ifttt.com/post/89799971303/ ... st-protect
Sent from my iPad using Tapatalk
Larry
Insteon, Z Wave, Hue, Sonos
Insteon, Z Wave, Hue, Sonos
Re: New NEST Plugin ready for general use
Firstly let me appologise if I am asking silly questions. I have researched but I can't seem to find the answers.
I am looking to replace my mains smoke alrams (6) with Nest Protects. I have an indigo server (mac mini) using Z-Wave products (lights and heating).... it works well.
Apart from letting the Nest Protects doing their own thing (smoke alarms), I would like to use the Nest Protects for:
1. speakers - doorbell messages via indigo
2. motion detectors - turn on Zwave via indigo lights
3. temperature - replace Zwave thermostats
Can I do that with this plugin ?
I understand that the plugin works via the internet, does that mean that if my broadband connection is down I can't send or receive data from the Nest Protects ? So my Indigo server will not receive temperature information from the Nest Protects ?
Thank you
Ian
I am looking to replace my mains smoke alrams (6) with Nest Protects. I have an indigo server (mac mini) using Z-Wave products (lights and heating).... it works well.
Apart from letting the Nest Protects doing their own thing (smoke alarms), I would like to use the Nest Protects for:
1. speakers - doorbell messages via indigo
2. motion detectors - turn on Zwave via indigo lights
3. temperature - replace Zwave thermostats
Can I do that with this plugin ?
I understand that the plugin works via the internet, does that mean that if my broadband connection is down I can't send or receive data from the Nest Protects ? So my Indigo server will not receive temperature information from the Nest Protects ?
Thank you
Ian
Re: New NEST Plugin ready for general use
HI Ian - not silly questions at all.
Yes, the Nest plugin works via the Internet, so all communication requires active Internet to work. I just spent 39 hours down, and was unable to communicate with my Nest Tstat the entire time (of course, it still worked at the Tstat). This isn't a shortcoming of the plugin--it's just how Nest communicates. I don't know for sure the answers to 1-3, but I'd bet that 1 isn't possible. 2-3 may be possible but I personally wouldn't want to rely on them because of the need to always have active Internet.
Dave
Yes, the Nest plugin works via the Internet, so all communication requires active Internet to work. I just spent 39 hours down, and was unable to communicate with my Nest Tstat the entire time (of course, it still worked at the Tstat). This isn't a shortcoming of the plugin--it's just how Nest communicates. I don't know for sure the answers to 1-3, but I'd bet that 1 isn't possible. 2-3 may be possible but I personally wouldn't want to rely on them because of the need to always have active Internet.
Dave
I came here to drink milk and kick ass....and I've just finished my milk.
My Plugins and Scripts
My Plugins and Scripts