Homemade-Disaster / ioBroker.netatmo-energy

Netatmo Energy API connection
MIT License
7 stars 4 forks source link

After Node 16.x update to 18.17.1 - API Warning: Authenticate refresh error: invalid_grant #15

Closed cobra98 closed 11 months ago

cobra98 commented 11 months ago

Describe the bug
After i updated to Node 18.17.1 it seemed that the login didn't work anymore I generated the token by the button but i asked several times and in the log you see the message

"API Warning: Authenticate refresh error: invalid_grant"

`

netatmo.0 | 2023-11-12 03:57:01.689 | info | API Warning: Authenticate refresh error: invalid_client -- | -- | -- | -- netatmo.0 | 2023-11-12 03:57:01.665 | info | API Warning: Authenticate refresh error: invalid_client netatmo.0 | 2023-11-12 03:57:01.568 | info | API Warning: Authenticate refresh error: invalid_client netatmo.0 | 2023-11-12 03:57:01.552 | info | API Warning: Authenticate refresh error: invalid_client netatmo.0 | 2023-11-12 03:57:01.386 | info | API Warning: Authenticate refresh error: invalid_client netatmo.0 | 2023-11-12 03:57:01.374 | info | API Warning: Authenticate refresh error: invalid_client netatmo.0 | 2023-11-12 03:57:01.364 | info | API Warning: Authenticate refresh error: invalid_client netatmo.0 | 2023-11-12 03:57:01.358 | info | API Warning: Authenticate refresh error: invalid_client netatmo.0 | 2023-11-12 03:57:01.344 | info | API Warning: Authenticate refresh error: invalid_client

`

To Reproduce
Steps to reproduce the behavior:

installed node 18.17.1 then 16.x before

Versions:

HomeID from netatmo did not change, i tried to generate new api keys but still stuck in same problem.

cobra98 commented 11 months ago

Missed the fact that i have to update also netatmo weather, did not see "netatmo.0" works now