rene-d / netatmo

Python3 API for the Netatmo Weather Station
The Unlicense
36 stars 18 forks source link

Invalid client #3

Closed fmarzocca closed 5 years ago

fmarzocca commented 5 years ago

Hi,

after configuration, I ran "test", but I got this message:

./netatmo.py test
error invalid_client https://api.netatmo.com/oauth2/token
netatmo.py : ERROR

the configuration file is:

username: <username>
password: <password>
client_id: <client_id>
client_secret: <client_secret>
default_device_id: 70:ee:50:37:15:1e
rene-d commented 5 years ago

Hi Fabio,

The ~/.netatmorc file should look like this:

[netatmo]
username = <username>
password = <password>
client_id = <client_id>
client_secret = <client_secret>
default_device_id = 70:ee:50:37:15:1e

On which platform do you run the program ?

Regards,

fmarzocca commented 5 years ago

Hi Rene,

yes, I confirm the config file is as you reported.

I have tested it on MacOS and on Raspbian Linux

On Mon, Jul 15, 2019 at 11:11 AM Rene Devichi notifications@github.com wrote:

Hi Fabio,

The ~/.netatmorc file should look like this:

[netatmo] username = password = client_id = client_secret = default_device_id = 70:ee:50:37:15:1e

On which platform do you run the program ?

Regards,

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rene-d/netatmo/issues/3?email_source=notifications&email_token=ACBCQ3TSMIJWP3AV4CAJ5HLP7Q5LBA5CNFSM4IDURZ2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ5D32Q#issuecomment-511327722, or mute the thread https://github.com/notifications/unsubscribe-auth/ACBCQ3T4JJHITKNHA5E7YBLP7Q5LBANCNFSM4IDURZ2A .

fmarzocca commented 5 years ago

My BAD! Sorry, I was not typing the correct client_ID.

rene-d commented 5 years ago

Nessun problema :)

Thanks for your interest!