New NEST Plugin ready for general use
Re: New NEST Plugin ready for general use
I'm not seeing the Fan mode being updated. I have two nests and while currently one has the Fan "Always On" according to the Nest website, both show "Auto On" in indigo. Changing them also has no effect and Indigo switches right back to "Auto On" when I try to change it without actually changing the setting on the Nest.
Re: New NEST Plugin ready for general use
Hello,
Can someone please advise what is the Python reference for this plugin, so that I can incorporate it in a script?
The info.plist says it is org.mlamoureux.nestplugin but that doesn't seem to work.
Thanks!
Can someone please advise what is the Python reference for this plugin, so that I can incorporate it in a script?
The info.plist says it is org.mlamoureux.nestplugin but that doesn't seem to work.
Thanks!
Re: New NEST Plugin ready for general use
That's a good question. I reference the device states directly and not via the bundle identifier.
You might try:
org.mlamoureux.indigoplugin.nestplugin
but that might also not work since it doesn't match the plist.
Good luck,
Dave
You might try:
org.mlamoureux.indigoplugin.nestplugin
but that might also not work since it doesn't match the plist.
Good luck,
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
Yes that's right.
Re: New NEST Plugin ready for general use
Thank you Dave.
Will try that.
Will try that.
Re: New NEST Plugin ready for general use
Oh and thanks Mike for confirming the reference.
Couple of things - I not sure if I'm doing something wrong but:
1. The plugin seems to "hang" periodically and no longer updates until I reload it
2. Set point changes in Indigo do not update the thermostat
Any advice would be much appreciated as I'm new to Indigo.
Couple of things - I not sure if I'm doing something wrong but:
1. The plugin seems to "hang" periodically and no longer updates until I reload it
2. Set point changes in Indigo do not update the thermostat
Any advice would be much appreciated as I'm new to Indigo.
-
TheTechnoPilot
- Posts: 46
- Joined: Mon Mar 31, 2014 9:16 pm
- Location: Montreal, QC, Canada
- Contact:
Re: New NEST Plugin ready for general use
Agreed, I also find that setpoint changes fail to update the thermostat and role back to what is on the Nest website upon the next update.
Android's Tasker, to a person who does home automation...is like walking up to a Crack Treatment facility with a truck full of 3lb bags of crack. Then for each person that walks in and out smack them in the face with an open bag.
Re: New NEST Plugin ready for general use
Would the two of you please turn on debug in the plugin menu and send me your log during the time of the problem? Also, let me know if you have any kind of unique setup with your NEST.
It's the first time I've heard about a problem with the plugin hanging, might be hard to debug on your system but we can try.
It's the first time I've heard about a problem with the plugin hanging, might be hard to debug on your system but we can try.
Re: New NEST Plugin ready for general use
Hey Mike,
Funny you should mention unusual Nest setup...
I think it's possible that this is the source of the issues:
I'm in Australia and I've had to enact a hack to obtain local weather and time zone data for the Nest.
Requests for weather and location data is redirected via DNS rerouting to a local server, which then runs a php script to obtain the correct data for my location.
I'll turn on debug and collect that data anyway, just to see what that shows.
Will keep you posted.
Thanks a lot!
Funny you should mention unusual Nest setup...
I think it's possible that this is the source of the issues:
I'm in Australia and I've had to enact a hack to obtain local weather and time zone data for the Nest.
Requests for weather and location data is redirected via DNS rerouting to a local server, which then runs a php script to obtain the correct data for my location.
I'll turn on debug and collect that data anyway, just to see what that shows.
Will keep you posted.
Thanks a lot!
Re: New NEST Plugin ready for general use
So for starters, this is what the event log shows when the plugin "hangs" or fails:
>>>
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 Invalid message:
Yet Another Nest Thermostat Plugin Invalid message: ntents/Server Plugin/nest_api.js:185
Yet Another Nest Thermostat Plugin Invalid message: ion.urls.transport_url.hostname,
Yet Another Nest Thermostat Plugin Invalid message: ^
Yet Another Nest Thermostat Plugin Invalid message: ort_url' of undefined
Yet Another Nest Thermostat Plugin Invalid message: /Library/Application Support/Perceptive Automation/Indigo 6/Plugins/IndigoNestPlugin.indigoPlugin/Co host:nestSess TypeError: Cannot read property 'transp at nestGet (/Library/Application Support/Per:185:34)
Yet Another Nest Thermostat Plugin Invalid message: ceptive Automation/Indigo 6/Plugins/IndigoNestPlugin.indigoPlugin/Contents/Server Plugin/nest_api.js at Object.fetchCurrenNestPlugin.indigoPlugin/Contentjs:223:9)
Yet Another Nest Thermostat Plugin Invalid message: est (/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/IndigoNestPlugin.indigoPlugjs:86:7)
Yet Another Nest Thermostat Plugin Invalid message: )
Yet Another Nest Thermostat Plugin Invalid message: tStatus [as fetchStatus] (/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Indigos/Server Plugin/nest_api. at Server.processIndigoRequin/Contents/Server Plugin/nest_monitor. at Server.EventEmitter.emit (events.js:98:17 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)
<<<
Thanks!
>>>
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 Invalid message:
Yet Another Nest Thermostat Plugin Invalid message: ntents/Server Plugin/nest_api.js:185
Yet Another Nest Thermostat Plugin Invalid message: ion.urls.transport_url.hostname,
Yet Another Nest Thermostat Plugin Invalid message: ^
Yet Another Nest Thermostat Plugin Invalid message: ort_url' of undefined
Yet Another Nest Thermostat Plugin Invalid message: /Library/Application Support/Perceptive Automation/Indigo 6/Plugins/IndigoNestPlugin.indigoPlugin/Co host:nestSess TypeError: Cannot read property 'transp at nestGet (/Library/Application Support/Per:185:34)
Yet Another Nest Thermostat Plugin Invalid message: ceptive Automation/Indigo 6/Plugins/IndigoNestPlugin.indigoPlugin/Contents/Server Plugin/nest_api.js at Object.fetchCurrenNestPlugin.indigoPlugin/Contentjs:223:9)
Yet Another Nest Thermostat Plugin Invalid message: est (/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/IndigoNestPlugin.indigoPlugjs:86:7)
Yet Another Nest Thermostat Plugin Invalid message: )
Yet Another Nest Thermostat Plugin Invalid message: tStatus [as fetchStatus] (/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Indigos/Server Plugin/nest_api. at Server.processIndigoRequin/Contents/Server Plugin/nest_monitor. at Server.EventEmitter.emit (events.js:98:17 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)
<<<
Thanks!
Re: New NEST Plugin ready for general use
I have seen similar messages in the past--where there are leading characters of certain lines that appear to be cut off. Like this:
Dave
Code: Select all
Yet Another Nest Thermostat Plugin Invalid message: ntents/Server Plugin/nest_api.js:185I 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
Another instance where it begins to send invalid messages:
This happens probably about 1-2x per day.
Cheers.
Code: Select all
Yet Another Nest Thermostat Plugin Invalid message:
Yet Another Nest Thermostat Plugin Invalid message: events.js:72
Yet Another Nest Thermostat Plugin Invalid message: throw er; // Unhandled 'error' event
Yet Another Nest Thermostat Plugin Invalid message: ^
Yet Another Nest Thermostat Plugin Invalid message: Error: socket hang up
Yet Another Nest Thermostat Plugin Invalid message: at SecurePair.error (tls.js:1013:23)
Yet Another Nest Thermostat Plugin Invalid message: at EncryptedStream.CryptoStream._done (tls.js:705:22)
Yet Another Nest Thermostat Plugin Invalid message: at CleartextStream.read [as _read] (tls.js:496:24)
Yet Another Nest Thermostat Plugin Invalid message: at CleartextStream.Readable.read (_stream_readable.js:320:10)
Yet Another Nest Thermostat Plugin Invalid message: at EncryptedStream.onCryptoStreamFinish (tls.js:301:47)
Yet Another Nest Thermostat Plugin Invalid message: at EncryptedStream.g (events.js:180:16)
Yet Another Nest Thermostat Plugin Invalid message: at EncryptedStream.EventEmitter.emit (events.js:117:20)
Yet Another Nest Thermostat Plugin Invalid message: at finishMaybe (_stream_writable.js:360:12)
Yet Another Nest Thermostat Plugin Invalid message: at endWritable (_stream_writable.js:367:3)
Yet Another Nest Thermostat Plugin Invalid message: at EncryptedStream.Writable.end (_stream_writable.js:345:5)
Yet Another Nest Thermostat Plugin Invalid message: at EncryptedStream.CryptoStream.end (tls.js:643:31)
Yet Another Nest Thermostat Plugin Invalid message: at Socket.onend (_stream_readable.js:483:10)
Cheers.
Re: New NEST Plugin ready for general use
My Nest occasionally (once or twice a week, or sometimes not for a couple or three weeks) will drop off the wifi network. Sometimes I won't notice that it's gone offline for 20 hours or more. (And yes, I've gone through all of Nest's troubleshooting recommendations and also contacted support, but the stupid thermostat simply won't connect to the wifi network that it was previously connected to without me telling it to do so by hand. Dumb programming, Nest.)
I'd like to create a trigger that would send me a notification (email/sms/voice) when the thermostat couldn't be communicated with, but I can't find anything in this plugin that will trigger such a trigger. Am I missing something simple?
I'd like to create a trigger that would send me a notification (email/sms/voice) when the thermostat couldn't be communicated with, but I can't find anything in this plugin that will trigger such a trigger. Am I missing something simple?
Re: New NEST Plugin ready for general use
Alphaman: try FINGSCAN... you can setup a trigger for any IP device(home or away condition).
for your situation:
Setup an "away" EVENT#2 (in this screen shot example) in FINGSCAN/plugin/config for the NEST device, use timeout ~ 15 minutes to avoid false positives.. see attached image for a configuration for my SamsungTV (make sure event is enabled , in the screen shot its OFF)
I get an away event if its down for more than 15 minutes.
Then setup a trigger on a FINGSCAN event and pick AWAY-EVENT# 2 (in this example), and as action do an email etc. see other screen shot.
Install:
here the FINGSCAN plugin page: http://forums.indigodomo.com/viewtopic. ... &start=240
download FINGSCAN plugin and FING from http://overlooksoft.com/getfing4mac.
first install FING (don't start it), then FINGSCAN. Installation is straight forward, just double click the plugin
Go into FINGSCAN plugin config, set your MAC password (FING needs it to run properly) and setup the EVENT as described above
you also get a complete listing of all IP devices and can set triggers on e.g. IP number changes or a new device connected to your network.
Karl
PS:
if you have "findMyiDevices" you could also use proximity as and AND or OR for the EVENTS. If you have an ASUS router, you also get information on the WiFi state of your devices.
attached also a very preliminary how to install, configure FINGSCAN.PDF.zip ... still working on it: https://www.dropbox.com/s/1zpl142jq10kow1/FINGSCAN.pdf
for your situation:
Setup an "away" EVENT#2 (in this screen shot example) in FINGSCAN/plugin/config for the NEST device, use timeout ~ 15 minutes to avoid false positives.. see attached image for a configuration for my SamsungTV (make sure event is enabled , in the screen shot its OFF)
I get an away event if its down for more than 15 minutes.
Then setup a trigger on a FINGSCAN event and pick AWAY-EVENT# 2 (in this example), and as action do an email etc. see other screen shot.
Install:
here the FINGSCAN plugin page: http://forums.indigodomo.com/viewtopic. ... &start=240
download FINGSCAN plugin and FING from http://overlooksoft.com/getfing4mac.
first install FING (don't start it), then FINGSCAN. Installation is straight forward, just double click the plugin
Go into FINGSCAN plugin config, set your MAC password (FING needs it to run properly) and setup the EVENT as described above
you also get a complete listing of all IP devices and can set triggers on e.g. IP number changes or a new device connected to your network.
Karl
PS:
if you have "findMyiDevices" you could also use proximity as and AND or OR for the EVENTS. If you have an ASUS router, you also get information on the WiFi state of your devices.
attached also a very preliminary how to install, configure FINGSCAN.PDF.zip ... still working on it: https://www.dropbox.com/s/1zpl142jq10kow1/FINGSCAN.pdf
- Attachments
-
- Screen Shot 2014-08-03 at 11.23.07 PM.png (38.03 KiB) Viewed 4826 times
-
- Screen Shot 2014-08-03 at 11.16.34 PM.png (87.41 KiB) Viewed 4826 times
Re: New NEST Plugin ready for general use
Thanks Karl -- fingscan seems to be working for me, though my Nest hasn't gone offline since.
On the base topic, I'm seeing the same truncated text resulting in "Invalid message:" errors from my Nest, too. Here's a sample of an "Away = False" transaction:
On the base topic, I'm seeing the same truncated text resulting in "Invalid message:" errors from my Nest, too. Here's a sample of an "Away = False" transaction:
Code: Select all
Yet Another Nest Thermostat Plugin [Downstairs thermostat] away mode was changed to False
Yet Another Nest Thermostat Plugin About to request: http://127.0.0.1:13243/?deviceSerial=02AA01ACxxxxxxLS&operation=set&propertyName=away&setValue=False
Yet Another Nest Thermostat Plugin About to request: http://127.0.0.1:13243/?deviceSerial=02AA01ACxxxxxxLS&operation=set&propertyName=away&setValue=False
Yet Another Nest Thermostat Plugin ion_time":1386119165966,"num_thermostats":"2","structure_area":232.258,"away_setter":0,"user":"user.** Set away to false
Yet Another Nest Thermostat Plugin Invalid message: ion_time":1386119165966,"num_thermostats":"2","structure_area":232.258,"away_setter":0,"user":"user.** Set away to false
Yet Another Nest Thermostat Plugin .02AA01ACxxxxxxLS"],"fabric_ids":[],"clutches":[],"$version":"1836886836","$timestamp":"140769367083{"touched_by":{"touched_b["device.02AA01ACxxxxxxLS"],"sw{"touched_by":{"touched_by":6,"touched_":232.258,"user":"user.xxxxxx","devices":["devic{"touched_by":{"touched_by":6,"touched_id":"myPhone"},"dr_re:1386119165966,"num_thermostats":"2","structure_area":232.258,"away_setter"y":6,"touched_id":"myPhone"},"dr_reminder_enabled":false,"renovation_date":"2010","country_coded":false,"name":"207","postal_code":"35xxx","creation_time":1386119165966,"num_thermostats":"2","structure_area":232.,"serial":"408a6db0-5c80-11e3-90e5-12313xxxxxxx"}
Yet Another Nest Thermostat Plugin Invalid message: .02AA01ACxxxxxxLS"],"fabric_ids":[],"clutches":[],"$version":"1836886836","$timestamp":"140769367083{"touched_by":{"touched_b["device.02AA01ACxxxxxxLS"],"sw{"touched_by":{"touched_by":6,"touched_":232.258,"user":"user.xxxxxx","devices":["devic{"touched_by":{"touched_by":6,"touched_id":"myPhone"},"dr_re:1386119165966,"num_thermostats":"2","structure_area":232.258,"away_setter"y":6,"touched_id":"myPhone"},"dr_reminder_enabled":false,"renovation_date":"2010","country_coded":false,"name":"207","postal_code":"35xxx","creation_time":1386119165966,"num_thermostats":"2","structure_area":232.,"serial":"408a6db0-5c80-11e3-90e5-12313xxxxxxx"}
Yet Another Nest Thermostat Plugin ype":"family","topaz_enhanced_auto_away_enabled":false,"name":"207","postal_code":"35xxx","num_therm90e5-12313xxxxxxx"}
Yet Another Nest Thermostat Plugin Invalid message: ype":"family","topaz_enhanced_auto_away_enabled":false,"name":"207","postal_code":"35xxx","num_therm90e5-12313xxxxxxx"}