Solarprognose.de: remove default algorithm (#24496)
This commit is contained in:
parent
bd10db550a
commit
9739fe9680
1 changed files with 1 additions and 2 deletions
|
|
@ -37,7 +37,6 @@ params:
|
|||
description:
|
||||
en: Forecasting Algorithm (mosmix, own-v1 or clearsky)
|
||||
de: Prognosealgorithmus (mosmix, own-v1 oder clearsky)
|
||||
default: mosmix
|
||||
advanced: true
|
||||
- name: interval
|
||||
default: 1h
|
||||
|
|
@ -48,7 +47,7 @@ render: |
|
|||
forecast:
|
||||
source: http
|
||||
# Base URL with required params (format, type, algorithm, access token), then optional item-based parameters
|
||||
uri: https://www.solarprognose.de/web/solarprediction/api/v1?_format=json&type=hourly&algorithm={{ .algorithm }}&access-token={{ .token }}{{ if .item }}&item={{ .item }}{{ if .id }}&id={{ .id }}{{ else }}&token={{ unquote .uniquetoken }}{{ end }}{{ end }}
|
||||
uri: https://www.solarprognose.de/web/solarprediction/api/v1?_format=json&type=hourly{{ if .algorithm }}&algorithm={{ .algorithm }}{{ end }}&access-token={{ .token }}{{ if .item }}&item={{ .item }}{{ if .id }}&id={{ .id }}{{ else }}&token={{ unquote .uniquetoken }}{{ end }}{{ end }}
|
||||
jq: |
|
||||
[ .data | to_entries.[] | {
|
||||
"start": (.key | tonumber | strftime("%FT%TZ") ),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue