Author Topic: PLUGIN: New VeraConnect WWN (Work With Nest)  (Read 54406 times)

Offline cc4005

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +5/-0
Re: PLUGIN: New VeraConnect WWN (Work With Nest)
« Reply #255 on: November 30, 2017, 09:06:59 am »
Hi,
After a more careful read, it appears that sometimes the WWn interface works and sometimes it doesnt based on the allowed concurrent sessions solely controlled by Nest.

Clearly, just like the web browser wars of a decade ago, there are a number of powerful companies that want to control the home automation gateway market, and what a better way to do it that to f*ck over folks like us that chose the open Vera system.

I am glad i dont have Nest cameras (I use HIK Vision which are top quality and work great with Vera) and i think i might get an ecobee thermostat and put my nest on ebay...

Is this still an issue? Just purchased 2 Nest tstats and now rethinking the decision.

Offline GaryOkie

  • Jr. Member
  • **
  • Posts: 74
  • Karma: +4/-0
Re: PLUGIN: New VeraConnect WWN (Work With Nest)
« Reply #256 on: January 03, 2018, 10:34:45 am »
@cc4005 - it should no longer be an issue, according to these 2 posts...

3. The Christmas 2016 issues are all related to the certification process and the number of concurrent users Nest allows to use with Vera. The certification I'm talking about just resolved this exact issue you're talking about.
... the described "blocked" limitation was only during the beta phase of the plugin. Since then, Vera WWN has been officially approved by Nest and it should work by Nest specs.
« Last Edit: January 04, 2018, 03:40:43 pm by GaryOkie »

Offline shashankmittal

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: PLUGIN: New VeraConnect WWN (Work With Nest)
« Reply #257 on: January 07, 2018, 12:55:23 am »
I am on Veraconnect WWN 1.104 (the latest version as of 1/7/18). I am able to start the Nest Fan using the following:


Service: urn:micasaverde-com:serviceId:VeraConnectWWN1
StartFan set to 15 minutes

...but there is no option to stop the fan. I tried SetMode to "off" and setfanspeed to 0, nothing works.

Offline rigpapa

  • Sr. Member
  • ****
  • Posts: 337
  • Karma: +46/-0
    • toggledbits.com
Re: PLUGIN: New VeraConnect WWN (Work With Nest)
« Reply #258 on: March 19, 2018, 11:34:59 am »
Version 1.116 today, not sure if there was an update over the weekend or something changed at Nest, but this plugin was working fine last week, today it dies on startup with the following logged:

Code: [Select]
50 03/19/18 11:20:23.873 luup_log:100: VeraConnectWWN::nestRequest> cmd: curl -k -s -S -L -X GET 'https://developer-api.nest.com?auth=[REDACTED]' -H 'Accept: application/json' -D '/tmp/NestHeaders.txt' 2>&1 <0x76eb8520>
50 03/19/18 11:20:24.714 luup_log:100: VeraConnectWWN::nestRequest> response: {"devices":{"thermostats":{"_GOhXslKs6oa4JvUaocbKZAqas8mi5h6":{"humidity":45,"locale":"en-US","temperature_scale":"F","is_using_emergency_heat":false,"has_fan":true,"software_version":"5.6.6-4","has_leaf":false,"where_id":"CiwrfD3y3eUzJRSgJJYez9IrcKtpjK3cN5YZUWoHZLbrKvwKyQOo3A","device_id":"_GOhXslKs6oa4JvUaocbKZAqas8mi5h6","name":"Terrace","can_heat":true,"can_cool":true,"target_temperature_c":20.0,"target_temperature_f":68,"target_temperature_high_c":22.5,"target_temperature_high_f":73,"target_temperature_low_c":21.0,"target_temperature_low_f":70,"ambient_temperature_c":21.0,"ambient_temperature_f":70,"away_temperature_high_c":24.0,"away_temperature_high_f":76,"away_temperature_low_c":15.5,"away_temperature_low_f":60,"eco_temperature_high_c":24.0,"eco_temperature_high_f":76,"eco_temperature_low_c":15.5,"eco_temperature_low_f":60,"is_locked":false,"locked_temp_min_c":20.0,"locked_temp_min_f":68,"locked_temp_max_c":22.0,"locked_temp_max_f":72,"sunlight_correction_active":false,"sunlight_correction_enabled":false,"structure_id":"QZAutvKzq_RiIOVKQ4t8eJHPlNX-KE3oQVAX13ztW-t92c-_bKZ45Q","fan_timer_active":false,"fan_timer_timeout":"1970-01-01T00:00:00.000Z","fan_timer_duration":120,"previous_hvac_mode":"","hvac_mode":"heat-cool","time_to_target":"~0","time_to_target_training":"ready","where_name":"Terrace","label":"","name_long":"Terrace Thermostat","is_online":true,"last_connection":"2018-03-19T15:16:48.967Z","hvac_state":"off"},"_GOhXslKs6pWowW-g75eMpAqas8mi5h6":{"humidity":50,"locale":"en-US","temperature_scale":"F","is_using_emergency_heat":false,"has_fan":true,"software_version":"5.6.6-4","has_leaf":false,"device_id":"_GOhXslKs6pWowW-g75eMpAqas8mi5h6","name":"Upstairs","can_heat":true,"can_cool":true,"target_temperature_c":20.0,"target_temperature_f":68,"target_temperature_high_c":22.0,"target_temperature_high_f":72,"target_temperature_low_c":20.0,"target_temperature_low_f":68,"ambient_temperature_c":20.5,"ambient_temperature_f":70,"away_temperature_high_c":24.0,"away_temperature_high_f":76,"away_temperature_low_c":15.5,"away_temperature_low_f":60,"eco_temperature_high_c":24.0,"eco_temperature_high_f":76,"eco_temperature_low_c":15.5,"eco_temperature_low_f":60,"is_locked":false,"locked_temp_min_c":20.0,"locked_temp_min_f":68,"locked_temp_max_c":22.0,"locked_temp_max_f":72,"sunlight_correction_active":false,"sunlight_correction_enabled":false,"structure_id":"QXActvKzq_RiJOVKQ4t8eJHPlNX-KE3ocEwX13ztW-t92c-_bKZ45Q","fan_timer_active":false,"fan_timer_timeout":"1970-01-01T00:00:00.000Z","fan_timer_duration":120,"previous_hvac_mode":"","hvac_mode":"heat-cool","time_to_target":"~0","time_to_target_training":"ready","label":"Upstairs","name_long":"Upstairs Thermostat","is_online":true,"last_connection":"2018-03-19T15:16:39.487Z","hvac_state":"off"},"_GOhXOyQs6rxXDZ0Qhl0K5Aqas8mi5h6":{"humidity":45,"locale":"en-US","temperature_scale":"F","is_using_emergency_heat":false,"has_fan":true,"software_version":"5.6.6-4","has_leaf":false,"device_id":"_GOhXOyQs6rxXDZ0Qhl0K5Aqas8mi5h6","name":"Main","can_heat":true,"can_cool":true,"target_temperature_c":20.0,"target_temperature_f":68,"target_temperature_high_c":22.0,"target_temperature_high_f":72,"target_temperature_low_c":20.0,"target_temperature_low_f":68,"ambient_temperature_c":20.5,"ambient_temperature_f":70,"away_temperature_high_c":24.0,"away_temperature_high_f":76,"away_temperature_low_c":17.5,"away_temperature_low_f":64,"eco_temperature_high_c":24.0,"eco_temperature_high_f":76,"eco_temperature_low_c":17.5,"eco_temperature_low_f":64,"is_locked":false,"locked_temp_min_c":20.0,"locked_temp_min_f":68,"locked_temp_max_c":22.0,"locked_temp_max_f":72,"sunlight_correction_active":false,"sunlight_correction_enabled":true,"structure_id":"QXActvKzq_RiJOVKQ4t8eJHPlNX-KE3ocEwX13ztW-t92c-_bKZ45Q","fan_timer_active":false,"fan_timer_timeout":"1970-01-01T00:00:00.000Z","fan_timer_duration":120,"previous_hvac_mode":"","hvac_mode":"heat-cool","time_to_target":"~0","time_to_target_training":"ready","label":"Main","name_long":"Main Thermostat","is_online":true,"last_connection":"2018-03-19T15:17:23.902Z","hvac_state":"off"}}},"structures":{"QXActvKzq_RiJOVKQ4t8eJHPlNX-KE3ocEwX13ztW-t92c-_bKZ45Q":{"name":"PTC-CH","country_code":"US","time_zone":"America/New_York","away":"home","thermostats":["_GOhXslKs6oa4JvUaocbKZAqas8mi5h6","_GOhXslKs6pWowW-g75eMpAqas8mi5h6","_GOhXslKs6rxXDZ0Qhl0K5Aqas8mi5h6"],"structure_id":"QXActvKzq_RiJOVKQ4t8eJHPlNX-KE3ocEwX13ztW-t92c-_bKZ45Q","wheres":{"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmIsYztTGND4rQ":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmIsYztTGND4rQ","name":"Basement"},"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmJVj68necrkZA":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmJVj68necrkZA","name":"Bedroom"},"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmJKQG_xDNHhNg":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmJKQG_xDNHhNg","name":"Den"},"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmJ-eskgvf1FOg":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmJ-eskgvf1FOg","name":"Dining Room"},"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmIZIgWxH8cJeg":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmIZIgWxH8cJeg","name":"Downstairs"},"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmLNRSrJZWlnkA":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmLNRSrJZWlnkA","name":"Entryway"},"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmLzqJjsmEYfMw":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmLzqJjsmEYfMw","name":"Family Room"},"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmLFfbAo2zcQCA":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmLFfbAo2zcQCA","name":"Hallway"},"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmJNRrqqzGVCrw":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmJNRrqqzGVCrw","name":"Kids Room"},"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmJlbvXFyWicgg":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmJlbvXFyWicgg","name":"Kitchen"},"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmIfN1AD1vHu3g":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmIfN1AD1vHu3g","name":"Living Room"},"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmIkTkkWWj2obQ":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmIkTkkWWj2obQ","name":"Master Bedroom"},"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmKHbe9V3nx6yg":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmKHbe9V3nx6yg","name":"Office"},"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmIQow6tXHyTHQ":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmIQow6tXHyTHQ","name":"Upstairs"},"CiwrfD3y3eUzJRSgJJYez9IrcKtpjK3cN5YZUWoHZLbrKvwKyQOo3A":{"where_id":"CiwrfD3y3eUzJRSgJJYez9IrcKtpjK3cN5YZUWoHZLbrKvwKyQOo3A","name":"Terrace"},"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmIem5RL3iddAA":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmIem5RL3iddAA","name":"Backyard"},"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmKyATuR0YEFEw":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmKyATuR0YEFEw","name":"Driveway"},"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmIaujWv8mm_mw":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmIaujWv8mm_mw","name":"Front Yard"},"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmIJADyUBGXF4g":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmIJADyUBGXF4g","name":"Outside"},"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmJvPoBnusW2Dw":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmJvPoBnusW2Dw","name":"Guest House"},"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmJmPTX-Q8H47w":{"where_id":"8i3hYcca-P1sof-kImdVcipZPYMMkQsubq2Ms06UMmJmPTX-Q8H47w","name":"Guest Room"}}}},"metadata":{"access_token":"[REDACTED]","client_version":5,"user_id":"[REDACTED]"}} <0x76eb8520>
50 03/19/18 11:20:24.715 luup_log:100: VeraConnectWWN::nestRequest> Got headers: HTTP/1.1 307 Temporary Redirect
Content-Type: application/json; charset=UTF-8
Access-Control-Allow-Origin: *
Cache-Control: private, no-cache, no-store, max-age=0
Pragma: no-cache
Location: https://firebase-apiserver06-tah01-iad01.dapi.production.nest.com:9553/?auth=[REDACTED]
Connection: close
content-length: 0

HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Access-Control-Allow-Origin: *
Cache-Control: private, no-cache, no-store, max-age=0
Pragma: no-cache
Connection: close
content-length: 7799

 <0x76eb8520>
50 03/19/18 11:20:24.736 luup_log:100: VeraConnectWWN::appendDevices> Append thermostat: Main Thermostat <0x76eb8520>
50 03/19/18 11:20:24.737 luup_log:100: VeraConnectWWN::appendDevices> Append humidity sensor: Main Humidity Sensor <0x76eb8520>
50 03/19/18 11:20:24.737 luup_log:100: VeraConnectWWN::appendDevices> Append thermostat: Nest Thermostat <0x76eb8520>
50 03/19/18 11:20:24.738 luup_log:100: VeraConnectWWN::appendDevices> Append humidity sensor: Nest Humidity Sensor <0x76eb8520>
50 03/19/18 11:20:24.738 luup_log:100: VeraConnectWWN::appendDevices> Append thermostat: Upstairs Thermostat <0x76eb8520>
50 03/19/18 11:20:24.739 luup_log:100: VeraConnectWWN::appendDevices> Append humidity sensor: Upstairs Humidity Sensor <0x76eb8520>
50 03/19/18 11:20:24.739 luup_log:100: VeraConnectWWN::appendDevices> Append Home/Away: PTC-CH <0x76eb8520>
50 03/19/18 11:20:24.744 luup_log:100: VeraConnectWWN::Init> Update devices values <0x76eb8520>
01 03/19/18 11:20:24.745 LuaInterface::CallFunction_Startup-1 device 100 function VeraConnectWWNStartup failed [string "module("L_VeraConnectWWN1", package.seeall)..."]:812: attempt to index local 'whereName' (a nil value) <0x76eb8520>
01 03/19/18 11:20:24.746 LuImplementation::StartLua running startup code for 100 I_VeraConnectWWN1.xml failed <0x76eb8520>
« Last Edit: March 19, 2018, 11:39:02 am by rigpapa »
Author of Rachio, Deus Ex Machina II, Intesis WMP Gateway, SiteSensor, DelayLight, Auto Virtual Thermostat and VirtualSensor plugins. Vera Plus w/100+ Z-wave devices. Vera3 sandbox.

Offline uraax

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: PLUGIN: New VeraConnect WWN (Work With Nest)
« Reply #259 on: March 25, 2018, 01:54:26 pm »
Can anyone help with instructions how to change Nest "Home/Away" from a Vera scene?

Offline stardobas

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: PLUGIN: New VeraConnect WWN (Work With Nest)
« Reply #260 on: April 15, 2018, 06:48:13 pm »
YES, there is a. Plugin for vera to change mode... HouseModes plugin, install it. It create a new device, insert in in a scene and set a mode you want.

NOW THIS TOPIC...
WWN stop working on my vera, it can't read or set or control my nest... I try to reinstall plugin, try to reboot controller...but it is dead...please HELP ...I've a scene that close and turn off all... my termostat was on for 4 days... and I was out...beacouse controller didn't turn it off.... WHY??????