CPtje wrote: ↑Friday 24 July 2020 11:32
A strange thing that caught my eye was the beginning of the cookies value: '$cookies = '__Secure-3PSID=zg...'
I have never before seen it beginning with "___Secure"
Again, updating my NEST with a new temperature works! So I would think that authentication should work fine, but the above info says something diferently. So I am really puzzled.
Any help to solve this would be welcome.
My cookie expired, so I had to get a new one following the instructions on https://github.com/rolandbreedveld/nest-api.
I get the same value starting with "___Secure", which I never have seen before either. But after updating nest.auth.php with the new values, it still doesn't work.
Also, when I run "bash get_nest.sh -d" on command line, I get an error message identical to the one you posted. I am puzzled... but if I understand correctly, just waiting solves this all in magic way.
I have a problem with the setpoint when I change it he doesn't change it on the nest and after a while he changes it into domoticz back to what it says on the nest.
CPtje wrote: ↑Friday 24 July 2020 11:32
A strange thing that caught my eye was the beginning of the cookies value: '$cookies = '__Secure-3PSID=zg...'
I have never before seen it beginning with "___Secure"
Again, updating my NEST with a new temperature works! So I would think that authentication should work fine, but the above info says something diferently. So I am really puzzled.
Any help to solve this would be welcome.
My cookie expired, so I had to get a new one following the instructions on https://github.com/rolandbreedveld/nest-api.
I get the same value starting with "___Secure", which I never have seen before either. But after updating nest.auth.php with the new values, it still doesn't work.
Also, when I run "bash get_nest.sh -d" on command line, I get an error message identical to the one you posted. I am puzzled... but if I understand correctly, just waiting solves this all in magic way.
I have the same issue. I needed to refresh the cookies, but the $cookies; value started with ___Secure as well, which it didn't before.
Nest-API won't update now and throws an error when running get_nest.
CPtje wrote: ↑Friday 24 July 2020 11:32
A strange thing that caught my eye was the beginning of the cookies value: '$cookies = '__Secure-3PSID=zg...'
I have never before seen it beginning with "___Secure"
Again, updating my NEST with a new temperature works! So I would think that authentication should work fine, but the above info says something diferently. So I am really puzzled.
Any help to solve this would be welcome.
My cookie expired, so I had to get a new one following the instructions on https://github.com/rolandbreedveld/nest-api.
I get the same value starting with "___Secure", which I never have seen before either. But after updating nest.auth.php with the new values, it still doesn't work.
Also, when I run "bash get_nest.sh -d" on command line, I get an error message identical to the one you posted. I am puzzled... but if I understand correctly, just waiting solves this all in magic way.
I have the same issue. I needed to refresh the cookies, but the $cookies; value started with ___Secure as well, which it didn't before.
Nest-API won't update now and throws an error when running get_nest.
Are there minimum installations need it to make the script work ? Mine worked, but my installation did get corrupted. Nu I have a clean Buster, fully updated with Domoticz Beta. I did install and config, your Nest script, but get a error.
"get_nest.sh: line 39: php: command not found" Do I mis software ?
Ptje wrote: ↑Saturday 12 September 2020 19:46
Hello Roland,
Are there minimum installations need it to make the script work ? Mine worked, but my installation did get corrupted. Nu I have a clean Buster, fully updated with Domoticz Beta. I did install and config, your Nest script, but get a error.
"get_nest.sh: line 39: php: command not found" Do I mis software ?
Greetings,
Peter
Hi
Line 39 is a php call, so I look likes you don't have php installed, if so, you missed some part of the readme:
This script needs php, so be shure it's installed:
sudo apt install php php-curl php-cli php-common
djalexnl wrote: ↑Monday 31 August 2020 21:23
Same problem after expiring .... any change how to fix this??
I get the same value starting with "___Secure", which I never have seen before either. But after updating nest.auth.php with the new values, it still doesn't work.
Also, when I run "bash get_nest.sh -d" on command line, I get an error message identical to the one you posted. I am puzzled... but if I understand correctly, just waiting solves this all in magic way.
Hi
The cookie looks different, I think you didn't cut and paste the whole cookie, begin and end of the cookie I looked up today:
$cookies = 'ANID=AHWqTUm34xxxxxxxxxicCyrDe7ZK; __Secure-3PSID=0weuJUhAIxxxxJguPwn_uZcX5UFkexxxxxxxxMV0Vn5A.; __Host-......<a lot more info> .......4k5s86S4iVU; __Secure-3PSIDCC=AJi4QfEHwnHxxxxxxxxxxxx14FW22nHSpX2AcT2hqxNw';
"___Secure" is part of the cookie, but there should be more date before this, in total the cookie should have about 800 or more caracters.
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
This is strange. I tried it again, but I do not get a value with "ANID" at the beginning, like you.
I followed the steps from your instructions carefully, but my cookie starts with "__Secure-3PSID".
Could it be that there are different Google accounts that get different structures for the cookie?
I paired my Google Nest after the account migration that started this thread. So I did not have an old Nest account.
[edit] Buuuuut... with the cookie values that I retrieved today (note: still not with the extra data before the __Secure-3PSID that rolandbreedveld mentioned!) it does indeed work again, like magic. I don't understand what happened or what the difference is between last time and this time, so that's a pity, because I cannot analyze the problem that I had before. But giving it another try certainly is worth it.
Superdeboer wrote: ↑Tuesday 22 September 2020 9:37
This is strange. I tried it again, but I do not get a value with "ANID" at the beginning, like you.
I followed the steps from your instructions carefully, but my cookie starts with "__Secure-3PSID".
Could it be that there are different Google accounts that get different structures for the cookie?
I paired my Google Nest after the account migration that started this thread. So I did not have an old Nest account.
[edit] Buuuuut... with the cookie values that I retrieved today (note: still not with the extra data before the __Secure-3PSID that rolandbreedveld mentioned!) it does indeed work again, like magic. I don't understand what happened or what the difference is between last time and this time, so that's a pity, because I cannot analyze the problem that I had before. But giving it another try certainly is worth it.
I have a Google account, my previously used Nest account is not in use anymore.
There are multiple different cookies, and tokens, it's important to take the right one, perhaps that can be the issue?
Still looking for a way to do this automatically, but didn't find a way yet to use wget or curl to extract the cookie and token.
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
I just subscribed to this service too. Looks like this could well be integrated into Domoticz. You can create OAth credentials, create an API key and you have to assign the SDM service to it. Seems like there is some "sensitivity" involved according to mr Google, and you have to submit your app to the trust and security team, validate your domain via a DNS TXT record etc. That may take up to 6 weeks. While I am enthousiastic about Google finally opening up their API, I am also concerned about the complex workflow to achieve this. But it might be my fault too....
I've a brand new "Nest Learning Thermostat." which I want to install in Domoticz. I've browsed through the discussion thread. What is unclear for me if I can use the Domoticz build in Nest support of if I need to use the plug in that has been discussed in this thread. Can you advice me which route to take?
Dear friend. Does this process from the beginning of this post still work after the new double authentication nest integration? recently every time I log in to my nest account an authentication code is sent to me and I have the box disabled so that the code is not sent, it is a new google measure. It still works and can nest be integrated into domoticz?
Now we are using our heating again since the summer i notice that the eco mode will set my nest to 11.9 degrees
In my nest app this should be 16.5 degrees.
Looks like this script is overruling that.
There is no problem but i would like to set the temp on ecomode/away mode to 16.5 but cant find the setting for this in the scripts.
Anyone knows where to find this?
I still have something that is not right. When my domoticz sets away on in domoticz, I think sometimes The DzVenst script does set the normaal temperature gets the same setting as the away temperature. My DzVents is not so good that I can change this by my self. Does anyone knows how to change this ?