Forecast.solar: fill empty, enforce hourly (#18802)
This commit is contained in:
parent
e5e7377b5e
commit
f46ef1964a
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ render: |
|
|||
tariff: solar
|
||||
forecast:
|
||||
source: http
|
||||
uri: https://api.forecast.solar/{{ if .apikey }}{{ .apikey }}/{{ end }}estimate/{{ .lat }}/{{ .lon }}/{{ .dec }}/{{ .az }}/{{ .kwp }}?time=utc&no_sun=1
|
||||
uri: https://api.forecast.solar/{{ if .apikey }}{{ .apikey }}/{{ end }}estimate/{{ .lat }}/{{ .lon }}/{{ .dec }}/{{ .az }}/{{ .kwp }}?time=utc&full=1&resolution=60
|
||||
jq: |
|
||||
[ .result.watt_hours_period | to_entries.[] | {
|
||||
"start": (.key | strptime("%FT%T%z") | strftime("%FT%TZ")),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue