Just received an email about device access for google nest, ie the way to connect to nest now if you have migrated to a google account.
Would be amazing if someone could find a way to use this with the nest binding so those of us stuck on the legacy plans with google could migrate to the new cheaper plans when using a google login.
I’m looking forward to seeing how this plays out as well, as I just received the e-mail myself 2 hours ago. I signed up as I missed out on the legacy option before google cut things over (as I didn’t have a Home Automation platform even in mind at that point), although signed up to be notified a month or two back.
Hoping people chime in with updates so I can start controlling my Nest schedules and/or rules via openHAB.
I’m wondering, will we create one device access console commercial account for all openhab users? Or maybe better to allow to use your personal account too?
Do you know what I think is a bit shocking they are charging a one off fee for indivdual access I know it’s only $5 but still I expected free I can’t start till payday now
I haven’t paid and signed up yet but will do if it means I can migrate my google account on nest and use openhab, as I’m still paying the old rate for nest - ouch! $5 is worth that move.
The previous Nest binding utilized a personal sandbox so I’d imagine it would be easiest to create the future binding in a similar manner. Plus it would negate any Google oversight in the creation of the binding.
I went ahead and paid my 5 dollars. I am planning on testing out the integrations as it looks like it just relies on OAuth2.
I bought a nest thermostat without realizing that they cancelled works with nest. Will this work the same as works with nest so we could set it up now?
Thanks to “linked” me to this discussion, had no time today to work on it hope to find free time next days, if someone more skilled in programming than me want to contribute here I can share my tests
This is the rule I implemented to renew the acces token, by default it expires in 60minutes, so I’m updating it every 30minutes
rule "NestTokenRenew"
when
System started or
Time cron "0 0/30 * * * ?" // 3600 seconds for token to expire
then
val String NestNewToken = executeCommandLine("C:/Curl/curl.exe -s -L -X POST \"https://www.googleapis.com/oauth2/v4/token?client_id=RESERVED INFO&client_secret=RESERVED INFO&refresh_token=RESERVED INFO&grant_type=refresh_token\"", 120*1000)
//logInfo("Nest", "Nest New Token reply to request : {}", NestNewToken)
NestNewToken = transform("JSONPATH", "$.access_token", NestNewToken)
//logInfo("Nest", "Nest New Token : {}", NestNewToken)
NestToken.postUpdate(NestNewToken)
NestToken.persist
end
Is anybody already working on a binding? If nobody is I might also put some effort into it.
I’m still using the old API with the binding but it’s probably just a matter of time before Google will add the old API to their graveyard now that they have their replacement.