-
Notifications
You must be signed in to change notification settings - Fork 2
2 EVCC Yaml Code
Martijn (Scriptkiddie) van Geffen edited this page Dec 22, 2024
·
5 revisions
To implement your car you can for now use the below YAML code until a template will be made available. Please update the IP of the server hosting the Volvo4Evcc component.
Currently the API seems to expose the connected state with a capital "V", this is a bug in [Issue 19] make sure the yaml below matches the case the API exposes until next version (https://github.com/MartijnvanGeffen13/Volvo4evcc/issues/19)
vehicles:
- name: EX30
title: EX30
type: custom
capacity: 51 # in kWh
soc:
source: http
uri: http://192.168.178.201:6060
method: GET
headers:
- content-type: application/jso
jq: .data.batteryChargeLevel.value
status:
source: http
uri: http://192.168.178.201:6060
method: GET
headers:
- content-type: application/json
jq: .data.EvccStatus.value
range:
source: http
uri: http://192.168.178.201:6060
method: GET
headers:
- content-type: application/json
jq: .data.electricRange.value