Templates: add vehicle-identify for Tronity, EVNotify (#7831)
This commit is contained in:
parent
a46ac0ecd5
commit
27f0a1471e
6 changed files with 14 additions and 11 deletions
|
|
@ -19,11 +19,11 @@ params:
|
|||
- preset: vehicle-identify
|
||||
render: |
|
||||
type: custom
|
||||
{{- if ne .title "" }}
|
||||
{{- if .title }}
|
||||
title: {{ .title }}
|
||||
{{- end }}
|
||||
capacity: {{ .capacity }}
|
||||
{{- if ne .phases "" }}
|
||||
{{- if .phases }}
|
||||
phases: {{ .phases }}
|
||||
{{- end }}
|
||||
soc:
|
||||
|
|
@ -31,3 +31,4 @@ render: |
|
|||
uri: https://app.evnotify.de/soc?akey={{ .akey }}&token={{ .token }} # evNotify Server + AKEY
|
||||
method: GET
|
||||
jq: .soc_display
|
||||
{{ include "vehicle-identify" . }}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ params:
|
|||
- preset: vehicle-identify
|
||||
render: |
|
||||
type: niu
|
||||
{{- if ne .title "" }}
|
||||
{{- if .title }}
|
||||
title: {{ .title }}
|
||||
{{- end }}
|
||||
{{- if ne .icon "" }}
|
||||
|
|
@ -33,3 +33,4 @@ render: |
|
|||
password: {{ .password }} # NIU app password
|
||||
serial: {{ .serial }} # NIU E-Scooter serial number like shown in app
|
||||
capacity: {{ .capacity }}
|
||||
{{ include "vehicle-identify" . }}
|
||||
|
|
|
|||
|
|
@ -23,14 +23,14 @@ params:
|
|||
render: |
|
||||
type: custom
|
||||
features: ["offline"]
|
||||
{{- if ne .title "" }}
|
||||
{{- if .title }}
|
||||
title: {{ .title }}
|
||||
{{- end }}
|
||||
{{- if ne .icon "" }}
|
||||
icon: {{ .icon }}
|
||||
{{- end }}
|
||||
capacity: {{ .capacity }} # kWh
|
||||
{{- if ne .phases "" }}
|
||||
{{- if .phases }}
|
||||
phases: {{ .phases }}
|
||||
{{- end }}
|
||||
soc: # fixed - no Soc available
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ params:
|
|||
- preset: vehicle-identify
|
||||
render: |
|
||||
type: ovms
|
||||
{{- if ne .title "" }}
|
||||
{{- if .title }}
|
||||
title: {{ .title }}
|
||||
{{- end }}
|
||||
{{- if ne .icon "" }}
|
||||
|
|
@ -36,7 +36,7 @@ render: |
|
|||
password: {{ .password }}
|
||||
vehicleid: {{ .vehicleid }} # vehicle id
|
||||
capacity: {{ .capacity }}
|
||||
{{- if ne .phases "" }}
|
||||
{{- if .phases }}
|
||||
phases: {{ .phases }}
|
||||
{{- end }}
|
||||
server: dexters-web.de # used ovms server [dexters-web.de or api.openvehicles.com]
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ params:
|
|||
- preset: vehicle-identify
|
||||
render: |
|
||||
type: tesla
|
||||
{{- if ne .title "" }}
|
||||
{{- if .title }}
|
||||
title: {{ .title }}
|
||||
{{- end }}
|
||||
{{- if ne .icon "" }}
|
||||
|
|
@ -50,7 +50,7 @@ render: |
|
|||
access: {{ .accessToken }}
|
||||
refresh: {{ .refreshToken }}
|
||||
capacity: {{ .capacity }}
|
||||
{{- if ne .phases "" }}
|
||||
{{- if .phases }}
|
||||
phases: {{ .phases }}
|
||||
{{- end }}
|
||||
{{- if ne .vin "" }}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ params:
|
|||
- preset: vehicle-identify
|
||||
render: |
|
||||
type: tronity
|
||||
{{- if ne .title "" }}
|
||||
{{- if .title }}
|
||||
title: {{ .title }}
|
||||
{{- end }}
|
||||
{{- if ne .icon "" }}
|
||||
|
|
@ -33,9 +33,10 @@ render: |
|
|||
id: {{ .user }}
|
||||
secret: {{ .password }}
|
||||
capacity: {{ .capacity }}
|
||||
{{- if ne .phases "" }}
|
||||
{{- if .phases }}
|
||||
phases: {{ .phases }}
|
||||
{{- end }}
|
||||
{{- if ne .vin "" }}
|
||||
vin: {{ .vin }}
|
||||
{{- end }}
|
||||
{{ include "vehicle-identify" . }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue