Kostal Piko: consider sign in battery meter (#3346)
This commit is contained in:
parent
64caa9b816
commit
23d84af1c0
1 changed files with 2 additions and 2 deletions
|
|
@ -36,8 +36,8 @@ render: |
|
|||
{{- if eq .usage "battery" }}
|
||||
# Battery
|
||||
source: http
|
||||
uri: http://{{ .host }}/api/dxs.json?dxsEntries=33556226,33556238 # Battery Voltage * Energy
|
||||
jq: (.dxsEntries[] | select(.dxsId==33556226) | .value) * (.dxsEntries[] | select(.dxsId==33556238) | .value) | if . == null then 0 else . end
|
||||
uri: http://{{ .host }}/api/dxs.json?dxsEntries=33556226&dxsEntries=33556238&dxsEntries=33556230 # Battery Voltage * Energy * Charging Indicator
|
||||
jq: (.dxsEntries[] | select(.dxsId==33556226) | .value) * (.dxsEntries[] | select(.dxsId==33556238) | .value) * (if (.dxsEntries[] | select(.dxsId==33556230) | .value) == 0 then -1 else 1 end) | if . == null then 0 else . end
|
||||
soc:
|
||||
source: http
|
||||
uri: http://{{ .host }}/api/dxs.json?dxsEntries=33556229 # Battery SOC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue