Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add volvo2mqtt vehicle template analogue to Mazda #16771

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

triple-it
Copy link

This update enables evcc to communicate with volvo2mqtt. The integration allows volvo2mqtt to handle polling of the Volvo API with OTP settings, pushing vehicle data to an MQTT broker. evcc then retrieves this vehicle data from volvo2mqtt via the MQTT broker.

Key Features:
• volvo2mqtt continuously polls the Volvo API using OTP authentication and pushes vehicle data to MQTT.
• evcc pulls the vehicle data from volvo2mqtt through MQTT for vehicle information and status.

Example evcc Configuration (evcc.yaml):

vehicles:
  - name: ex30
    title: Volvo Ex30
    type: template
    template: volvo2mqtt
    capacity: 67 # in kWh
    vin: {VIN_IS_REQUIRED}
    #onIdentify: # set defaults when vehicle is identified
    #  mode: minpv minSoc:75 # enable PV-charging when vehicle is identified
    
mqtt:  # Mqtt broker is required!
  broker: localhost:1883
  topic: #
  #clientid: evcc
  #user: evcc
  #password: xyz123123567567    

Example Environment File for volvo2mqtt (.env):

    
CONF_updateInterval=60
CONF_babelLocale='de'
CONF_mqtt='@json {"broker": "mqtt", "username": "", "password": ""}'
CONF_volvoData='@json {"username": "{username}", "password": "{pass}", "vin": "{vin}",   "vccapikey": "{own_vccapikey_of_unpublished_app_on_developer_volvo_dot_com}"}'
TZ='Europe/Berlin'    

@andig andig added the devices Specific device support label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devices Specific device support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants