NEST Account migration
Moderator: leecollings
-
- Posts: 59
- Joined: Monday 03 December 2018 11:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: NEST Account migration
Hi dear Roland,
I have a question,
I have not yet migrated my account to google, I still have my account in nest but I do not have access from domoticz.
My question is if your script works with old Nest accounts or do I need to migrate my account to Google Nest instead?
Does your plugin currently work?
Thanks in advance, you receive a warm greeting
I have a question,
I have not yet migrated my account to google, I still have my account in nest but I do not have access from domoticz.
My question is if your script works with old Nest accounts or do I need to migrate my account to Google Nest instead?
Does your plugin currently work?
Thanks in advance, you receive a warm greeting
- rolandbreedveld
- Posts: 156
- Joined: Wednesday 09 March 2016 11:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Contact:
Re: NEST Account migration
yes, you need a Google account, a new or a migrated one.kitopopo wrote: ↑Monday 27 April 2020 1:50 Hi dear Roland,
I have a question,
I have not yet migrated my account to google, I still have my account in nest but I do not have access from domoticz.
My question is if your script works with old Nest accounts or do I need to migrate my account to Google Nest instead?
Does your plugin currently work?
Thanks in advance, you receive a warm greeting
Raspberry Pi(SSD)+UPS HAT,Dashticz on WallTablet,HomeBridge, P1, HarmonyHub,FritzBox,API to 123Solar+ABB-PowerOne+SMA,ESP-Leds(flashed LSC),Tasmota,Shelly,MQTT,Mosquito,Node-Red,http://wiki.breedveld.net/index.php?title=RPiWaterMeter, Mercedes-Me
-
- Posts: 59
- Joined: Monday 03 December 2018 11:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: NEST Account migration
Ok, thanks. And works correctly?
I am afraid to migrate my account to google and after the plugin does not work correctly, I do not know if there is another way to make nest work with domoticz with old nest account. thanks in advance
I am afraid to migrate my account to google and after the plugin does not work correctly, I do not know if there is another way to make nest work with domoticz with old nest account. thanks in advance
-
- Posts: 200
- Joined: Wednesday 20 November 2013 20:36
- Target OS: Linux
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: NEST Account migration
It works! But only if you setup correctly ofcourse.kitopopo wrote:Ok, thanks. And works correctly?
I am afraid to migrate my account to google and after the plugin does not work correctly, I do not know if there is another way to make nest work with domoticz with old nest account. thanks in advance
Verzonden vanaf mijn iPhone met Tapatalk
-
- Posts: 73
- Joined: Sunday 06 March 2016 23:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Schaijk
- Contact:
Re: NEST Account migration
Hello,
When my Nest goes to "away" it goes to 17.1 degrees. When it goed back to "Home" it stays 17.1 degrees.This is till a new timer begins or I change it my self to an other temperature. Any one has tips ?
Greeting,
Peter
When my Nest goes to "away" it goes to 17.1 degrees. When it goed back to "Home" it stays 17.1 degrees.This is till a new timer begins or I change it my self to an other temperature. Any one has tips ?
Greeting,
Peter
- rolandbreedveld
- Posts: 156
- Joined: Wednesday 09 March 2016 11:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Contact:
Re: NEST Account migration
This is how a Nest works if you do the scheduling in the Nest.
if you want better controls, make events and timers in Domoticz, but not both, this will give conflicts
Raspberry Pi(SSD)+UPS HAT,Dashticz on WallTablet,HomeBridge, P1, HarmonyHub,FritzBox,API to 123Solar+ABB-PowerOne+SMA,ESP-Leds(flashed LSC),Tasmota,Shelly,MQTT,Mosquito,Node-Red,http://wiki.breedveld.net/index.php?title=RPiWaterMeter, Mercedes-Me
-
- Posts: 73
- Joined: Sunday 06 March 2016 23:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Schaijk
- Contact:
Re: NEST Account migration
Hello Roland,
I have the Nest several years, this is not the way how it worked. This is sinds Domoticz does not work anymore out of the box with Nest.
When there is no movement in the room, Nest goes to "Away" So Domoticz goes also to "Away" The setpoint from the Nest goes then to the "Eco temperature" In my case, 17 degrees. The setpoint in Domoticz also wents to 17 degrees after a update true the script. But when the Nest does see movement in the room, it sets "Away" off. This also happens in Domoticz.
So far so good, but the Setpoint stays at the "Eco temperature" This is not normal. When you don't change the temperature by hand, it stays cold.
This was not so.
Greetings,
Peter
I have the Nest several years, this is not the way how it worked. This is sinds Domoticz does not work anymore out of the box with Nest.
When there is no movement in the room, Nest goes to "Away" So Domoticz goes also to "Away" The setpoint from the Nest goes then to the "Eco temperature" In my case, 17 degrees. The setpoint in Domoticz also wents to 17 degrees after a update true the script. But when the Nest does see movement in the room, it sets "Away" off. This also happens in Domoticz.
So far so good, but the Setpoint stays at the "Eco temperature" This is not normal. When you don't change the temperature by hand, it stays cold.
This was not so.
Greetings,
Peter
- rolandbreedveld
- Posts: 156
- Joined: Wednesday 09 March 2016 11:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Contact:
Re: NEST Account migration
Hi PeterPtje wrote: ↑Tuesday 05 May 2020 20:54 Hello Roland,
I have the Nest several years, this is not the way how it worked. This is sinds Domoticz does not work anymore out of the box with Nest.
When there is no movement in the room, Nest goes to "Away" So Domoticz goes also to "Away" The setpoint from the Nest goes then to the "Eco temperature" In my case, 17 degrees. The setpoint in Domoticz also wents to 17 degrees after a update true the script. But when the Nest does see movement in the room, it sets "Away" off. This also happens in Domoticz.
So far so good, but the Setpoint stays at the "Eco temperature" This is not normal. When you don't change the temperature by hand, it stays cold.
This was not so.
Greetings,
Peter
I see what you mean, I did some testing, If I switch quick to eco (from Domoticz) and back, setpoint is also changing to 17gr and back to 20gr.
This part works fine.
But if you switch to ECO, and wait for the cron script, it updates the setpoint Domoticz to 17gr, which triggers to update Google to 17gr.
From that point, Google thinks this is the real setpoint and stays that way, until a schedule occurs.
I'll think I can solve this by blocking the update to Google in the dzvents script, if ECO mode is on.
I don't see this in the Away mode, or did you make an event to go in ECO if away?
in my case, I use Domoticz also as Alarm system, if nobody is at home (no Cell-phones detected) the Alarm system goes on, which both sets ECO and Away.
will you try to change the dzvents event to this:
(my setpoint is named "Nest")
Code: Select all
return{
on = {
devices = {
'Nest'
}
},
execute = function(domoticz, device)
local setpoint = tostring(domoticz.devices('Nest').setPoint)
if (domoticz.devices('NestEcoMode').state == 'On') then
print("Nest Setpoint not Called because in EcoMode")
else
print("Nest Setpoint Called, change SetPoint to :" .. setpoint .. " ...")
cmd = "/usr/bin/php /home/pi/nest-api/nest_setpoint.php " .. setpoint
print(cmd)
os.execute(cmd)
end
end
}
2020-05-06 12:46 Update TEMPHUM to 20.8;36.0;0
2020-05-06 12:46 Update SETPOINT to 17.3
same time, logging in Domoticz
2020-05-06 12:46:09.730 (Virtual Sensors) Thermostat (Nest)
2020-05-06 12:46:09.968 Status: dzVents: Nest Setpoint not Called because in EcoMode
after disable EcoMode, Domoticz log:
2020-05-06 13:03:37.622 Status: User: Admin initiated a switch command (491/NestEcoMode/Off)
2020-05-06 13:03:37.647 (Virtual Sensors) Light/Switch (NestEcoMode)
cron-script log:
2020-05-06 13:06 Update TEMPHUM to 20.8;36.0;0
2020-05-06 13:06 Update SETPOINT to 20.0
Domoticz log:
2020-05-06 13:06:09.459 (Virtual Sensors) Thermostat (Nest)
2020-05-06 13:06:09.740 Status: dzVents: Nest Setpoint Called, change SetPoint to :20.0 ...
2020-05-06 13:06:09.741 Status: dzVents: /usr/bin/php /home/pi/nest-api/nest_setpoint.php 20.0
if it's ok, I'll update it in GitHub
Raspberry Pi(SSD)+UPS HAT,Dashticz on WallTablet,HomeBridge, P1, HarmonyHub,FritzBox,API to 123Solar+ABB-PowerOne+SMA,ESP-Leds(flashed LSC),Tasmota,Shelly,MQTT,Mosquito,Node-Red,http://wiki.breedveld.net/index.php?title=RPiWaterMeter, Mercedes-Me
-
- Posts: 73
- Joined: Sunday 06 March 2016 23:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Schaijk
- Contact:
Re: NEST Account migration
Hello Roland,
When I check the logs, I think that you are wright that it goes wrong with the eco temp. I did make the changes. Tomorrow I can tell you if it works. Am I the only one who did have this problem ? Thanks for checking.
Ps. I also saw now, that my wife lets the door open for al longer time during the day, even when its cold. My Nest goes to "Eco" to prevent that the heating went on
Greetings,
Peter
When I check the logs, I think that you are wright that it goes wrong with the eco temp. I did make the changes. Tomorrow I can tell you if it works. Am I the only one who did have this problem ? Thanks for checking.
Ps. I also saw now, that my wife lets the door open for al longer time during the day, even when its cold. My Nest goes to "Eco" to prevent that the heating went on
Greetings,
Peter
- rolandbreedveld
- Posts: 156
- Joined: Wednesday 09 March 2016 11:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Contact:
Re: NEST Account migration
Hi Peter
I didn't hear this from others, but I saw this behaviour, thinking it was normal, which wasn't, thanks for report it.
How does this work, to put it in ECO when the door is open ?, I like that!Ps. I also saw now, that my wife lets the door open for al longer time during the day, even when its cold. My Nest goes to "Eco" to prevent that the heating went on
Raspberry Pi(SSD)+UPS HAT,Dashticz on WallTablet,HomeBridge, P1, HarmonyHub,FritzBox,API to 123Solar+ABB-PowerOne+SMA,ESP-Leds(flashed LSC),Tasmota,Shelly,MQTT,Mosquito,Node-Red,http://wiki.breedveld.net/index.php?title=RPiWaterMeter, Mercedes-Me
-
- Posts: 3
- Joined: Thursday 07 May 2020 18:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: France
- Contact:
Re: NEST Account migration
Hello,
After multiple tries, I finally managed to get the get_nest.sh script working with rolandbreedveld/nest-api.
However I have two thermostats in my account, the get_nest.php does repatriate both devices, but the script can only handle one device.
has anyone ever tested it with two thermostats ?
Cdt
Gabriel
After multiple tries, I finally managed to get the get_nest.sh script working with rolandbreedveld/nest-api.
However I have two thermostats in my account, the get_nest.php does repatriate both devices, but the script can only handle one device.
has anyone ever tested it with two thermostats ?
Cdt
Gabriel
-
- Posts: 73
- Joined: Sunday 06 March 2016 23:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Schaijk
- Contact:
Re: NEST Account migration
Hello Roland,rolandbreedveld wrote: ↑Thursday 07 May 2020 12:01Hi Peter
I didn't hear this from others, but I saw this behaviour, thinking it was normal, which wasn't, thanks for report it.
How does this work, to put it in ECO when the door is open ?, I like that!Ps. I also saw now, that my wife lets the door open for al longer time during the day, even when its cold. My Nest goes to "Eco" to prevent that the heating went on
My English is not very good, but I give it try.
At first,
I have a blockly script with several little thing. There I have made that when the "front door" opens, at the same time a switch "front door timer" goes on after 60 seconds. When the "front door timer is on and I close the door, the timer has to switch out.
The second I have is a blockly script for my gas heating. There I Switch the Nest to " Eco" when "front door" is open and "front door timer" is on. "eco" is going out when the " front door is closed.
So as the front door is longer then 60 seconds, the Nest is going to Eco. My wife makes the front door open when it is nice weather. But it can be 10 degrees and nice sunny weather. It was not getting cold inside, because the heating went on and the temperature was nice inside.
I also made in the same script, that when the temp outside is lower then 21 degrees room temperature from the Nest and the tv is on and the door is open, it sends a message to my tv screen. "The door is still open and the outside temperature is getting cold"
I hope you understand my English.
Greetings,
Peter
Ps. The Eco temperature seems to be working now.
- rolandbreedveld
- Posts: 156
- Joined: Wednesday 09 March 2016 11:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Contact:
Re: NEST Account migration
Hi Gabrielghubert wrote: ↑Thursday 07 May 2020 18:40 Hello,
After multiple tries, I finally managed to get the get_nest.sh script working with rolandbreedveld/nest-api.
However I have two thermostats in my account, the get_nest.php does repatriate both devices, but the script can only handle one device.
has anyone ever tested it with two thermostats ?
Cdt
Gabriel
I have 1 Nest, so I can't test this, but if you send me the output of:
php get_nest.php
I'll look if it can be extended for more thermostats
send it in a "private message" if you don't want to have all the info public.
regards Roland
Last edited by rolandbreedveld on Thursday 07 May 2020 19:27, edited 1 time in total.
Raspberry Pi(SSD)+UPS HAT,Dashticz on WallTablet,HomeBridge, P1, HarmonyHub,FritzBox,API to 123Solar+ABB-PowerOne+SMA,ESP-Leds(flashed LSC),Tasmota,Shelly,MQTT,Mosquito,Node-Red,http://wiki.breedveld.net/index.php?title=RPiWaterMeter, Mercedes-Me
- rolandbreedveld
- Posts: 156
- Joined: Wednesday 09 March 2016 11:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Contact:
Re: NEST Account migration
Hi PeterPtje wrote: ↑Thursday 07 May 2020 18:59
Hello Roland,
My English is not very good, but I give it try.
At first,
I have a blockly script with several little thing. There I have made that when the "front door" opens, at the same time a switch "front door timer" goes on after 60 seconds. When the "front door timer is on and I close the door, the timer has to switch out.
The second I have is a blockly script for my gas heating. There I Switch the Nest to " Eco" when "front door" is open and "front door timer" is on. "eco" is going out when the " front door is closed.
So as the front door is longer then 60 seconds, the Nest is going to Eco. My wife makes the front door open when it is nice weather. But it can be 10 degrees and nice sunny weather. It was not getting cold inside, because the heating went on and the temperature was nice inside.
I also made in the same script, that when the temp outside is lower then 21 degrees room temperature from the Nest and the tv is on and the door is open, it sends a message to my tv screen. "The door is still open and the outside temperature is getting cold"
I hope you understand my English.
Greetings,
Peter
Ps. The Eco temperature seems to be working now.
this is a great idea!!
I definitely need this too, it happens a lot of times (sun is shining, 18 dg outside) door open and Nest heating!
so going for some Z-Wave or WiFi (MQTT) door-censors.
also thanks 4 testing, repos is updated!
regards, Roland
Raspberry Pi(SSD)+UPS HAT,Dashticz on WallTablet,HomeBridge, P1, HarmonyHub,FritzBox,API to 123Solar+ABB-PowerOne+SMA,ESP-Leds(flashed LSC),Tasmota,Shelly,MQTT,Mosquito,Node-Red,http://wiki.breedveld.net/index.php?title=RPiWaterMeter, Mercedes-Me
-
- Posts: 73
- Joined: Sunday 06 March 2016 23:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Schaijk
- Contact:
Re: NEST Account migration
Hello Roland,
I think that your scripting skills are much better, blockly is not the most flexible option for this. I want to try this in Lua. I thing it can work without my "front door timer" switch. You have to create a way to set the Nest to "Eco" after the switch "front door" is open for 60 seconds.
But what I made, works fine.That is the reason I asked for plitting the "Eco" function and "Away" function some posts back. Thanks for fixing that also. I do the same action with windows of the bedrooms. I set the temperature lower when the window is open. I have z-wave radiator knops in the bedrooms.
Greetings,
Peter
I think that your scripting skills are much better, blockly is not the most flexible option for this. I want to try this in Lua. I thing it can work without my "front door timer" switch. You have to create a way to set the Nest to "Eco" after the switch "front door" is open for 60 seconds.
But what I made, works fine.That is the reason I asked for plitting the "Eco" function and "Away" function some posts back. Thanks for fixing that also. I do the same action with windows of the bedrooms. I set the temperature lower when the window is open. I have z-wave radiator knops in the bedrooms.
Greetings,
Peter
-
- Posts: 3
- Joined: Thursday 07 May 2020 18:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: France
- Contact:
Re: NEST Account migration
Hi Roland,rolandbreedveld wrote: ↑Thursday 07 May 2020 19:14Hi Gabrielghubert wrote: ↑Thursday 07 May 2020 18:40 Hello,
After multiple tries, I finally managed to get the get_nest.sh script working with rolandbreedveld/nest-api.
However I have two thermostats in my account, the get_nest.php does repatriate both devices, but the script can only handle one device.
has anyone ever tested it with two thermostats ?
Cdt
Gabriel
I have 1 Nest, so I can't test this, but if you send me the output of:
php get_nest.php
I'll look if it can be extended for more thermostats
send it in a "private message" if you don't want to have all the info public.
regards Roland
Thanks for your return I will try to send this by private message
Regard Gabriel
-
- Posts: 3
- Joined: Thursday 07 May 2020 18:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: France
- Contact:
Re: NEST Account migration
Private message don't work for my account :ghubert wrote: ↑Sunday 10 May 2020 16:08Hi Roland,rolandbreedveld wrote: ↑Thursday 07 May 2020 19:14Hi Gabrielghubert wrote: ↑Thursday 07 May 2020 18:40 Hello,
After multiple tries, I finally managed to get the get_nest.sh script working with rolandbreedveld/nest-api.
However I have two thermostats in my account, the get_nest.php does repatriate both devices, but the script can only handle one device.
has anyone ever tested it with two thermostats ?
Cdt
Gabriel
I have 1 Nest, so I can't test this, but if you send me the output of:
php get_nest.php
I'll look if it can be extended for more thermostats
send it in a "private message" if you don't want to have all the info public.
regards Roland
Thanks for your return I will try to send this by private message
Regard Gabriel
Sorry about my English, it’s just "Reverso" French.
I added a few lines in get_nest.php to display the second thermostat.
echo "Device information1:\n";
$infos = $nest->getDeviceInfo($devices_serials[1]);
jlog($infos);
echo "----------\n\n";
I am not good at awk level, so it is difficult for me to change the get_nest.sh.
Below the result of the php get_nest.php
Regard Gabriel
-
- Posts: 10
- Joined: Tuesday 21 April 2020 10:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Netherlands
- Contact:
Re: NEST Account migration
I recently installed my RaspberriPi on Raspbian with Domoticz. Yesterday I got my Nest Thermostat (v3). I immediately installed the plugin via the instructions on https://github.com/rolandbreedveld/nest-api and so far it seems to work like a charm, so I am very pleased. Thank you for your effort rolandbreedveld!
Now I have to figure out what I can do with it in the Domoticz environment.
Now I have to figure out what I can do with it in the Domoticz environment.
- rolandbreedveld
- Posts: 156
- Joined: Wednesday 09 March 2016 11:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Contact:
Re: NEST Account migration
Hi Gabrielghubert wrote: ↑Sunday 10 May 2020 16:36 echo "Device information1:\n";
$infos = $nest->getDeviceInfo($devices_serials[1]);
jlog($infos);
echo "----------\n\n";
I am not good at awk level, so it is difficult for me to change the get_nest.sh.
Below the result of the php get_nest.php
get_nest_php_result.txt
Regard Gabriel
my api is using the php script from:
https://github.com/gboudreau/nest-api
suggest you fire a question on his site, if and if so, how to change the setpoint e.g. of multiple devices, and test if this will work 4 you.
you can test this with both your Nests, if this works, I can simply implement it.
Regards, Roland
Raspberry Pi(SSD)+UPS HAT,Dashticz on WallTablet,HomeBridge, P1, HarmonyHub,FritzBox,API to 123Solar+ABB-PowerOne+SMA,ESP-Leds(flashed LSC),Tasmota,Shelly,MQTT,Mosquito,Node-Red,http://wiki.breedveld.net/index.php?title=RPiWaterMeter, Mercedes-Me
-
- Posts: 10
- Joined: Friday 27 December 2019 10:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: The Netherlands
- Contact:
Re: NEST Account migration
Hi i've been searching for a while, but can anybody explain what the nest features are in Domoticz? I have several Nest Protects in use and I'm curious what the Domoticz features are when Nest project is integrated.
Thanks
Thanks
Who is online
Users browsing this forum: No registered users and 0 guests