Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

add(solar tariff): api.akkudoktor.net#19434

Open
Glopix wants to merge5 commits intoevcc-io:master
base:master
Choose a base branch
Loading
fromGlopix:master

Conversation

Glopix
Copy link

@GlopixGlopix commentedMar 5, 2025
edited
Loading

@andig
Copy link
Member

Das unquote sollte es per#19443 nicht mehr brauchen. Schau Dir bitte auch die anderen Typendefinitionen an. Es wäre schön die Parameter konsistent zu halten, z.B. tilt -> dec.

Bevor wir weitere Forecast hinzu führen sollen möglichst alle Beschreibungen in defaults.yml überführt werden ein ggf. auch ein base-forecast Tempalte gebaut mit lat/lon/az/dec/kwp. Die scheinen recht universell.

@andigandig marked this pull request as draftMarch 5, 2025 10:59
@andigandig added the tariffsSpecific tariff support labelMar 5, 2025
@Glopix
Copy link
Author

Glopix commentedMar 6, 2025
edited
Loading

@andig Die Bezeichner wurden überarbeitet, um Typdefinitionen erweitert und an das Schema der vorhandenen forecast templates angepasst.

Dascommon-forecast schaue ich mir noch an

@Glopix
Copy link
Author

Glopix commentedMar 6, 2025
edited
Loading

Dasforecast-base preset wird nun für die gemeinsamen Parameter verwendet.

mgoetting reacted with thumbs up emoji

@GlopixGlopix marked this pull request as ready for reviewMarch 6, 2025 19:50
@naltatis
Copy link
Member

@Glopix ist mit#19474 schon im Master.

@Glopix
Copy link
Author

@naltatis dasforecast-base preset? Stimmt, das ist mir gestern auch aufgefallen. Deshalb habe ich es gestern in diesen PReingebunden.

naltatis reacted with thumbs up emoji

help:
en: "returns max- and min- generation from different weathermodels. default: 0"
de: "liefert Max- und Min- Erzeugung aus verschiedenen Wettermodellen. standard: 0"
type: int
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

was tut der Parameter?

Copy link
Author

@GlopixGlopixMar 11, 2025
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Das geht aus der API Doku leider nicht klar hervor:https://api.akkudoktor.net/#/pv%20generation%20calculation/getForecast
Die Beschreibung habe ich von dort übernommen. Der Parameter scheint auch nichts an der Rückgabe zu ändern. Lautmeta key im Response body ist das wohl ein boolean Parameter, der sich aber durch die Eingabe nicht verändert. Also egal ob 0,1 oder beliebig andere int Werte übergeben werden, bleibt"range": true

{  "meta": {    "lat": 55.45,    "lon": 8.14,     ...    "range": true,

@Glopix
Copy link
Author

Glopix commentedMar 11, 2025
edited
Loading

Aus allen Parameterbeschreibungen wurde der default entfernt und dafür bei fast allen Parametern eindefault: hinterlegt.
Da hierdurch immer Werte vorhanden sind, wurden die dazugehörigen Inline-Bedingungsausdrücke entfernt ({{ if .parameter}}&parameter={{ .parameter}}{{ end }} )

Keine defaults wurden hinterlegt für:

  • az / Azimuth (erforderlich),
  • horizon (optional),

da für beide mMn kein sinnvoller default möglich ist.

@github-actionsgithub-actionsbot added the staleOutdated and ready to close labelMar 18, 2025
@GlopixGlopix requested a review fromandigMarch 20, 2025 10:05
@github-actionsgithub-actionsbot removed the staleOutdated and ready to close labelMar 20, 2025
@github-actionsgithub-actionsbot added the staleOutdated and ready to close labelMar 27, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@andigandigAwaiting requested review from andig

Assignees
No one assigned
Labels
staleOutdated and ready to closetariffsSpecific tariff support
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@Glopix@andig@naltatis

[8]ページ先頭

©2009-2025 Movatter.jp