Dielee / volvo2mqtt

Home Assistant addon for connecting AAOS Volvos
MIT License
127 stars 25 forks source link

Failed to save addon configuration #67

Closed chrismelba closed 11 months ago

chrismelba commented 11 months ago

Unsure what I'm doing wrong here, when i try to configure the app i get "failed to save addon configuration"

Failed to save add-on configuration, not a valid value. Got {'updateInterval': 300, 'babelLocale': 'en_AU', 'TZ': 'Australia/Canberra', 'debug': True, 'mqtt': {'broker': 'http://127.0.0.1', 'port': 1883, 'username': 'mqtt', 'password': 'mqttpass'}, 'volvoData': {'username': 'chrismelba@gmail.com', 'password': 'XXX', 'vin': '', 'vccapikey': 'xxx...

looks like the error is cut off, but not sure how to see the whole thing?

chrismelba commented 11 months ago

changing the API key to 'a' yields the full error, but i still don't know what's wrong

Failed to save add-on configuration, not a valid value. Got {'updateInterval': 300, 'babelLocale': 'en_AU', 'TZ': 'Australia/Canberra', 'debug': True, 'mqtt': {'broker': 'localhost', 'port': 1883, 'username': 'mqtt', 'password': 'mqttpass'}, 'volvoData': {'username': 'chrismelba@gmail.com', 'password': 'XXX', 'vin': '', 'vccapikey': 'a', 'odometerMultiplier': 1, 'averageSpeedDivider': 1, 'averageFuelConsumptionMultiplier': 1}}

chrismelba commented 11 months ago

ohh i see i need to leave the mqtt default for in built HA mqtt. Thank you!