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.
I understand that you have to replace the above with my own personal oauth2-client-id, oauth2-client-secret and authorization-code.
I am under the assumption that curl is installed with windows 10 and check this by using command curl -help and I do get a successful response, but when I use the curl instruction above with my oauth2-client-id, oauth2-client-secret and authorization-code input. I get this following response from command prompt:
curl: (3) URL using bad/illegal format or missing URL
'client_secret' is not recognized as an internal or external command,
operable program or batch file.
'code' is not recognized as an internal or external command,
operable program or batch file.
'grant_type' is not recognized as an internal or external command,
operable program or batch file.
'redirect_uri' is not recognized as an internal or external command,
operable program or batch file.
Please assist in helping me to resolve this issue.
I am using windows 10 and command prompt to run the curl command.
I am on the step to obtain a refresh token: https://developers.google.com/nest/device-access/authorize#get_an_access_token
I am instructed to open a terminal and use the following command: curl -L -X POST 'https://www.googleapis.com/oauth2/v4/token?client_id=oauth2-client-id&client_secret=oauth2-client-secret&code=authorization-code&grant_type=authorization_code&redirect_uri=https://www.google.com'
I understand that you have to replace the above with my own personal oauth2-client-id, oauth2-client-secret and authorization-code.
I am under the assumption that curl is installed with windows 10 and check this by using command curl -help and I do get a successful response, but when I use the curl instruction above with my oauth2-client-id, oauth2-client-secret and authorization-code input. I get this following response from command prompt:
curl: (3) URL using bad/illegal format or missing URL 'client_secret' is not recognized as an internal or external command, operable program or batch file. 'code' is not recognized as an internal or external command, operable program or batch file. 'grant_type' is not recognized as an internal or external command, operable program or batch file. 'redirect_uri' is not recognized as an internal or external command, operable program or batch file.
Please assist in helping me to resolve this issue.
I am using windows 10 and command prompt to run the curl command.