-
Notifications
You must be signed in to change notification settings - Fork 0
/
evccproposedtemplatefile.yaml
56 lines (55 loc) · 1.89 KB
/
evccproposedtemplatefile.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Do Not use this, This was proposed to be merged but EVCC for the time being wants to not add another volvo template seen this is easy done via custom vehicle as per the wiki. use the template in the wiki. This file is stored here for maybe future merges
template: volvo4evcc
products:
- description:
generic: volvo4evcc
group: generic
requirements:
description:
en: Dedicated EVCC module (in contradiction to Volvo2mqtt) with enhancements in security and using weather data for solar charging, No broker needed comes with lightweight JSON API https://github.com/MartijnvanGeffen13/Volvo4evcc
de: Dediziertes EVCC-Modul (im Gegensatz zu Volvo2mqtt) mit Verbesserungen in Bezug auf Sicherheit und Verwendung von Wetterdaten für das Aufladen von Solarenergie, Kein Broker erforderlich kommt mit leichtgewichtiger JSON-API https://github.com/MartijnvanGeffen13/Volvo4evcc
params:
- name: title
- name: icon
default: car
advanced: true
- name: volvo4evcchostname
required: true
help:
de: Erforderlich, Beispiel http://192.168.1.1:6060
en: Required, example http://192.168.1.1:6060
- name: capacity
- preset: vehicle-identify
render: |
type: custom
{{- if .title }}
title: {{ .title }}
{{- end }}
{{- if .icon }}
icon: {{ .icon }}
{{- end }}
{{- if .capacity }}
capacity: {{ .capacity }}
{{- end }}
{{- include "vehicle-identify" . }}
soc:
source: http
uri: {{ .volvo4evcchostname }}
method: GET
headers:
- content-type: application/jso
jq: .data.batteryChargeLevel.value
status:
source: http
uri: {{ .volvo4evcchostname }}
method: GET
headers:
- content-type: application/json
jq: .data.EvccStatus.value
range:
source: http
uri: {{ ..volvo4evcchostname }}
method: GET
headers:
- content-type: application/json
jq: .data.electricRange.value