Solarwatt: Generalize Battery SoC (#6978)
This commit is contained in:
parent
a216a86707
commit
2bbde1fb02
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ render: |
|
|||
soc:
|
||||
source: http
|
||||
uri: http://{{ .host }}/rest/kiwigrid/wizard/devices # EnergyManager
|
||||
jq: .result.items[] | select(.deviceModel[].deviceClass == "com.kiwigrid.devices.solarwatt.MyReserve") | .tagValues.StateOfCharge.value
|
||||
jq: .result.items[] | select(.deviceModel[].deviceClass == "com.kiwigrid.devices.batteryconverter.BatteryConverter") | .tagValues.StateOfCharge.value
|
||||
{{- if ne .capacity "" }}
|
||||
capacity: {{ .capacity }} # kWh
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue