mirror of
https://github.com/Dielee/volvo2mqtt.git
synced 2026-08-11 18:29:53 +02:00
22 lines
1.7 KiB
Markdown
22 lines
1.7 KiB
Markdown
# Volvo2Mqtt
|
|
|
|
This component establishes a connection between the newer AAOS Volvo cars and Home Assistant via MQTT.<br>
|
|
Maybe this component works also with other Volvo cars. Please try out the native Volvo [integration](https://www.home-assistant.io/integrations/volvooncall/) before using this component! If the native component doesn't work for your car, try this mqtt bridge.
|
|
|
|
## Setup
|
|
|
|
Just install this addon with the following command.
|
|
Please note to fill in your settings inside the environment variables.
|
|
|
|
`docker run -e CONF_updateInterval=300 -e CONF_babelLocale='de' -e CONF_mqtt='@json {"broker": "", "username": "", "password": ""}' -e CONF_volvoData='@json {"username": "", "password": "", "vin": ""}' -e TZ='Europe/Berlin' --name volvo2mqtt ghcr.io/dielee/volvo2mqtt:main`
|
|
|
|
Here is what every option means:
|
|
|
|
| Name | Type | Default | Description |
|
|
| -------------------- | :-------: | :----------: | --------------------------------------------------------------- |
|
|
| `updateInterval` | `int` | **required** | Updateintervall in seconds. |
|
|
| `babelLocale` | `string` | **required** | Locale for date Format |
|
|
| `mqtt` | `json` | **required** | Broker = Mqtt Broker IP / Username and Passwort are optional! |
|
|
| `volvoData` | `json` | **required** | Username and password are required. Car vin is optional. If no vin is provided, the system will always use the first vehicle in API. |
|
|
| `TZ` | `string` | | Container timezone eg "Europe/Berlin" |
|