Dielee / volvo2mqtt

Home Assistant addon for connecting AAOS Volvos
MIT License
163 stars 38 forks source link

Cant configure #90

Closed xaviondk closed 1 year ago

xaviondk commented 1 year ago

Describe the bug Getting an error message when trying to save my configuration Screenshot_20230822_141852_Home Assistant

To Reproduce:
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior:
A clear and concise description of what you expected to happen.

Screenshots:
If applicable, add screenshots to help explain your problem.

Version info:
The version you are using and the method you are using (Docker container/HA Addon/Cloned repo)

Logs:
Enable the debug option and upload your logfile here.
If you are using the HA Addon the log location is \\<Your HA Host IP>\addons\volvo2mqtt\log\volvo2mqtt.log

Dielee commented 1 year ago

You messed up something with your config. The whole "volvoData" section is missing. Please reinstall and retry.

xaviondk commented 1 year ago

I will try. Installed it directly from the repository, but i will give it another try.

Dielee commented 1 year ago

If not, please share me you whole config page as screenshot!

xaviondk commented 1 year ago

If not, please share me you whole config page as screenshot!

Getting same error after a reinstall. Screenshot_20230822_144504_Home Assistant~2

Dielee commented 1 year ago

Your vcc api key, have to be a list. Like this:

    vccapikey:
      - vccapikey1
      - vccapikey2
      - vccapikey3
      - etc.

Pls take a look at the changelog!

xaviondk commented 1 year ago

Changed it to list form, but still getting the same error with volvodata missing

Dielee commented 1 year ago

Please try to configure on a pc... maybe something is messing up. I have no other idea, sorry.

TrekBonanza commented 1 year ago

Had same problem with same error message. After I updated to a version with the opportunity to multi keys my existing key was still one the same row as vccapikey: xxxxxxxxxxxxxxxxxxx and it generate the error and it stopped working. I moved down the key a row wit a - to make a list and then it was possible to save without error.

Maybe move down the null a row with - to make a list direcly and avoid misunderstandning? volvoData: username: null password: null vin: "" vccapikey: null odometerMultiplier: 1 averageSpeedDivider: 1 averageFuelConsumptionMultiplier: 1

Dielee commented 1 year ago

Thanks for your input @TrekBonanza. Changed the config file for 1.8.4!

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stalled for 5 days with no activity.