/volvo2mqtt

Home Assistant addon for connecting AAOS Volvos

Primary LanguagePythonMIT LicenseMIT

Volvo2Mqtt

This component establishes a connection between the newer AAOS Volvo cars and Home Assistant via MQTT.
Maybe this component works also with other Volvo cars. Please try out the native Volvo integration before using this component! If the native component doesn't work for your car, try this mqtt bridge.

Confirmed working with

  • XC40 BEV (2023)
  • V60 T8 PHEV (2023)
  • C40 PHEV (2023)
  • XC90 T8 PHEV (2023)

Please let me know if your car works with this addon so I can expand the list!

Supported features

  • Lock/unlock car
  • Start/stop climate
  • Sensor "Battery Charge Level"
  • Sensor "Electric Range"
  • Sensor "Charging System Status"
  • Sensor "Estimated Charging Finish Time"
  • Multiple cars

Setup

Just install this addon with the following command. Please note to fill in your settings inside the environment variables.

docker run --pull=always -e CONF_updateInterval=300 -e CONF_babelLocale='de' -e CONF_mqtt='@json {"broker": "", "username": "", "password": ""}' -e CONF_volvoData='@json {"username": "", "password": "", "vin": "", "vccapikey": ""}' -e TZ='Europe/Berlin' --name volvo2mqtt ghcr.io/dielee/volvo2mqtt:latest

Here is what every option means:

Name Type Default Description
CONF_updateInterval int required Update intervall in seconds.
CONF_babelLocale string required Select your country from this list. "Locale name" is the column you need!
CONF_mqtt json required Broker = Mqtt Broker IP / Username and Passwort are optional!
CONF_volvoData json required Username and password are REQUIRED. Car vin can be a single vin or a list of multiple vins like ["vin1", "vin2"]. If no vin is provided, ALL of your vehicles will be used. Vccapi key is REQUIRED. Get your Vccapi key from here.
CONF_debug string Debug option (true/false) - optional!
TZ string Container timezone eg "Europe/Berlin"

If you like my work:

ko-fi