Skip to content

4 Multiple Car support Multiple charger support

Martijn (Scriptkiddie) van Geffen edited this page Feb 19, 2025 · 9 revisions

If you need Multiple volvo car support or multiple cars and chargers you can use the release on the branch: multiplecarsimpler V1.10.1

This version is altered to support the setup of multiple volvo cars and / or chargers and still have all functionality the main branch has.

image

Installation

Setup:

  1. Download the ZIP or clone from the branch multiple cars simple image

  2. Use WinSCP to upload to your linux machine if you downloaded ZIP: image

  3. Rename folder to match the Git structure

image

  1. start Powershell via : PWSH
  2. Import-module "./Volvo4Evcc/Volvo4Evcc.psd1" <<-- make sure path and case in the command is correct you can also use FQN

image

  1. Set-Volvoauthentication <<-- this will ask you the config questions

image

  1. Start the script start.ps1 or scheduled it via Cron or services (See normal installation wiki for cron.)

  2. When asked for OTP you can edit the file directly from WinSCP: image

  3. you should now be able to browse from a other pc to your Linux pachine on port 6060 and see the output from the API as per the sample screenshot above.

You can now update EVCC to read it using sample YAML below.

Sample Yaml for EVCC: name in yaml AND IN EACH JQ Must corresponds to the name it asks you for during setup in powershell

vehicles:
  - name: EX30
    title: EX30
    type: custom
    capacity: 51 # in kWh
    soc:
      source: http
      uri: http://172.28.132.154:6060
      method: GET
      headers:
        - content-type: application/jso
      jq: .EX30.batteryChargeLevel.value
    status:
      source: http
      uri: http://172.28.132.154:6060
      method: GET
      headers:
        - content-type: application/json
      jq: .EX30.EvccStatus.value
    range:
      source: http
      uri: http://172.28.132.154:6060
      method: GET
      headers:
        - content-type: application/json
      jq: .EX30.electricRange.value
  - name: EX31
    title: EX31
    type: custom
    capacity: 51 # in kWh
    soc:
      source: http
      uri: http://172.28.132.154:6060
      method: GET
      headers:
        - content-type: application/jso
      jq: .EX31.batteryChargeLevel.value
    status:
      source: http
      uri: http://172.28.132.154:6060
      method: GET
      headers:
        - content-type: application/json
      jq: .EX31.EvccStatus.value
    range:
      source: http
      uri: http://172.28.132.154:6060
      method: GET
      headers:
        - content-type: application/json
      jq: .EX31.electricRange.value
Clone this wiki locally