zapccu/ioBroker.sma-ev-charger

Error 401 Please login

ETGermany opened this issue · 3 comments

Describe the bug
After a power failure of the EV-Charger, the instances must be restarted.

To Reproduce
Steps to reproduce the behavior:

  1. Making EV-Chargers currentless
  2. Reconnecting EV-Chargers
  3. See error log

Expected behavior
A new login to the EV-Charger is required

Screenshots & Logfiles
sma-ev-charger Error

Versions:

  • Adapter version: 0.1.5
  • JS-Controller version: 4.0.24
  • Node version: 14.21.1
  • Operating system: Windows 11

Additional context
Add any other context about the problem here.

zapccu commented

Seems that EV charger is invalidating the refresh token after power failure or restart. Thank you for the hint!

zapccu commented

Latest version in repository is solving this issue. The adapter is now trying to reconnect / relogin to SMA EV Charger when an update or token refresh failed.