Solarprognose.de: remove default algorithm (#24496)

This commit is contained in:
Oakside15 2025-10-17 08:39:05 +02:00 • committed by GitHub
parent bd10db550a
commit 9739fe9680
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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") ),