Dielee / volvo2mqtt

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

Failed to save add-on configuration, not a valid value. #126

Closed iz3man closed 1 year ago

iz3man commented 1 year ago
          I got the same issue, no idea what was set wrong ....

Failed to save add-on configuration, not a valid value. Got {'updateInterval': 300, 'babelLocale': 'de_de', 'TZ': 'Europe/Berlin', 'debug': True, 'disable_logging': False, 'mqtt': {'broker': '192.168.1.11', 'port': 1883, 'username': 'mqtt', 'password': 'xxxxx'}, 'volvoData': {'username': 'schxxxxx@xxxxxx.net', 'password': 'xxxxxxx', 'vin': '', 'vccapikey': ['8918exxxxxxxxxxxce7459'], 'odometerMultiplier': 1, 'averageSpeedDivider': 1, 'averageFuelConsumptionMultiplier': 1}}

Originally posted by @iz3man in https://github.com/Dielee/volvo2mqtt/issues/106#issuecomment-1816508780

Dielee commented 1 year ago

What's the top-level domain of your email ?

iz3man commented 1 year ago

izeman.net. But I can set any common TLD like gmail.com, doesn't work either

iz3man commented 1 year ago

image

Dielee commented 1 year ago

Why is your vccapikey only 22 chars long ? It have to be 32...

iz3man commented 1 year ago

Why is your vccapikey only 22 chars long ? It have to be 32...

I shorted it when replacing with xxxxx. Didn't count total characters ;)

image

Don't know if anything here is relevant. Tried de_DE as well, and other time zones. No change

Dielee commented 1 year ago

Please quote your mqtt broker IP and Port ;)

    broker: "192.168.1.11"
    port: "1883"
    username: "mqtt"
    password: "yourPW"
iz3man commented 1 year ago

Please quote your mqtt broker IP and Port ;)

    broker: "192.168.1.11"
    port: "1883"
    username: "mqtt"
    password: "yourPW"

Thank you! That solved it. Interestingly it change it back to this after saving:

image

Don't know why I was the first to run into that issue?!

iz3man commented 1 year ago

solved. see post above

Dielee commented 1 year ago

You aren't the first, no worries 😄