potmat / homebridge-google-nest-sdm

A Homebridge plugin for Google Nest devices that uses the Google Smart Device Management API. Supports Cameras, Doorbells, Displays, and Thermostats. Includes support for HomeKit Secure Video.
ISC License
140 stars 17 forks source link

Trouble "getting an access token" when "Authorizing an Account" #78

Closed paulyshaw closed 1 year ago

paulyshaw commented 1 year ago

Hi all, Looking to use this new plug in on my home bridge to take advantage of the additional features, however, I'm stuck on the step where it asks you to run a "Curl" command in Terminal. I have the right Client ID, Secret and Authorization Code, but when I copy the CURL command into Terminal, I get an error stating "Error 411 (Length Required)!!" and "POST requests require a Content-length header."

The Google site creates the syntax for me, which is "curl -L -X POST 'http://urldetailsetcwithmyclientidsecretandauthorizationcodedetails'" but I keep getting the Error 411 and no way to get my Access and Refresh token as expected.

Please help! Thanks all

potmat commented 1 year ago

Which terminal are you using?

potmat commented 1 year ago

Closing due to lack of activity.