OpenDTU: tolerate missing radio_stats in energy filter (#33279)
This commit is contained in:
parent
7dd4007cfa
commit
8abae0fd68
1 changed files with 2 additions and 1 deletions
|
|
@ -16,4 +16,5 @@ render: |
|
|||
energy:
|
||||
source: http
|
||||
uri: http://{{ .host }}/api/livedata/status
|
||||
jq: 'if all(.inverters[]; .radio_stats.rssi > -127) then .total.YieldTotal.v else empty end'
|
||||
# skip partial sums until all inverters are contacted; radio_stats needs firmware 2024.10.22+
|
||||
jq: 'if all(.inverters[]; .radio_stats.rssi == null or .radio_stats.rssi > -127) then .total.YieldTotal.v else empty end'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue