-
Notifications
You must be signed in to change notification settings - Fork 2
4 Multiple Car support Multiple charger support
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.
Setup:
-
Download the ZIP or clone from the branch multiple cars simple
-
Use WinSCP to upload to your linux machine if you downloaded ZIP:
-
Rename folder to match the Git structure
- start Powershell via : PWSH
- Import-module "./Volvo4Evcc/Volvo4Evcc.psd1" <<-- make sure path and case in the command is correct you can also use FQN
- Set-Volvoauthentication <<-- this will ask you the config questions
-
Start the script start.ps1 or scheduled it via Cron or services (See normal installation wiki for cron.)
-
When asked for OTP you can edit the file directly from WinSCP:
-
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