RoboDomo / nest-microservice

MQTT microservice for Nest thermostat
0 stars 0 forks source link

Google Account #1

Open iondarie opened 4 years ago

iondarie commented 4 years ago

Hello,

Any chance of making this project working with the new GoogleAuth required for nest?

"googleAuth": { "issueToken": "https://accounts.google.com/o/oauth2/iframerpc?action=issueToken...", "cookies": "OCAK=TOMPYI3cCPAt...", "apiKey": "AIzaS..." },

mschwartz commented 4 years ago

It's on my list, though the current implementation is still working for me, since they grandfathered in existing applications.

If you program, we're happy to accept PRs.

iondarie commented 4 years ago

Unfortunately i don't program, would have been happy to contribute.

i would love to use the old implementation but i cannot acces nest developer account anymore...

mschwartz commented 4 years ago

Understood. If you didn't switch to the google account and close your nest account, this code would work, I think.

I've looked at the requirements for implementing the new API, but it seems problematic. For one, you may be required to have a google assistant device for it to work. Also, it's not clear we can truly control the thermostat using the API.

If anyone thinks I'm wrong or has some better insight, feel free to speak up!

What would you use this microservice for?

iondarie commented 4 years ago

i wanted to use it so i can publish the current room temperature to a MQTT topic.

i am currently controlling the NEST using https://github.com/chrisjshull/homebridge-nest#readme wich works with the new goohle oauth

mschwartz commented 4 years ago

More info here: https://developers.google.com/nest/device-access

Their move to kill the Nest API broke a lot of companies' integrations. My Logitech Harmony Remote doesn't control the thermostat anymore.