skodaconnect / homeassistant-skodaconnect

Skoda Connect - A home assistant plugin to add integration with your car
Apache License 2.0
233 stars 27 forks source link

v1.0.40-RC5: VW-Group API token could not be verified! #38

Closed zipposi closed 3 years ago

zipposi commented 3 years ago

Describe the bug On starting HA I see this error in the log. I can normally use the web pages and have agreed to the rules.

Latest working release I never succeded to make it work. Vehicle is Skoda Citigoe iv

Debug logs Logger: skodaconnect.connection Source: /usr/local/lib/python3.8/site-packages/skodaconnect/connection.py:429 First occurred: 7:37:31 PM (1 occurrences) Last logged: 7:37:31 PM

VW-Group API token could not be verified!

Installation:

Additional context

Farfar commented 3 years ago

VW-Group API token could not be verified!

This is a cosmetic issue and won't affect the integration. If you have issues with the integration I need complete debug logs and I also need to know that your vehicle works in MySkoda app.

zipposi commented 3 years ago

Ok, thanks!

But the integration still doesn't work:

In the config file I added this:

skodaconnect:
  username: marko@milutinovic.si
  password: xxxxxx
  scandinavian_miles: false
  scan_interval:
    minutes: 1
  name:
    xxx...1234567890: 'Citigo'

About the debug logs, are there any instructions how to get them?

The vehicle is visible in the MySkoda app and works flawless.

zipposi commented 3 years ago

Hi!

I restarted HASS and it shows no errors, here's the "normal" log 1 minute after booting

2021-06-08 16:15:16 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration skodaconnect which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-06-08 16:15:32 WARNING (MainThread) [skodaconnect.connection] VW-Group API token could not be verified!
2021-06-08 16:15:32 WARNING (MainThread) [homeassistant.setup] Setup of skodaconnect is taking over 10 seconds.
2021-06-08 16:15:55 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'POWER4' when rendering '{{value_json.POWER4}}'
2021-06-08 16:19:44 WARNING (MainThread) [skodaconnect.connection] Could not fetch charger, error: Cannot connect to host msg.volkswagen.de:443 ssl:default [Connection reset by peer]

Still I cannot see the entity skodaconnect. It should be in the "States" tab of developer tools, right? But it's not there.

zipposi commented 3 years ago

please, close the bug, after the last reset all begun to work - i can see all the sensors. Sooooo excited what can I do with the new toys :)

Thank you for the integration! Keep on the good work!