Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Solcast #9454

Draft
wants to merge 25 commits into
base: master
Choose a base branch
from
Draft

Add Solcast #9454

wants to merge 25 commits into from

Conversation

andig
Copy link
Member

@andig andig commented Aug 20, 2023

Fix #12746

  • integrate with loadpoint for vehicles max power
  • merge not only co2 but also (feedin) prices
  • add ?adjusted=true query parameter to tariff api
  • Add ui flag for testing
  • add ?adjusted=true query parameter to planner api
  • fix savings test

@naltatis kannst du hier helfen? Der Test möchte einen Preis haben ohne dass es den Tarif überhaupt gäbe. Fällt erst auf seitdem das ein pointer ist.

@andig andig added the enhancement New feature or request label Aug 20, 2023
@andig andig marked this pull request as draft August 20, 2023 08:06
@StefaE
Copy link

StefaE commented Aug 20, 2023

Eine Bemerkung zu SolCast Integration - vielleicht hilft Euch das später:

  • von SolCast bekommt man nur eine bestimmte Anzahl Credits um deren Service aufzurufen - typischerweise 10x/Tag.
  • in PVForecast habe ich optimiert, wie man diese Credits ausgeben will: gleichmässig über den Tag, nur zwischen Sonnenauf- und untergang
  • für Debugging gibt's ein kleines stand-alone script, das diesen Algorithmus über's Jahr testet.

Zweite Bemerkung: Forecast Horizon ist default 48h - aber kann verändert werden. Ist aber soviel ich weiss nicht dokumentiert.

@andig
Copy link
Member Author

andig commented Aug 20, 2023

Im Moment bekomme ich noch antworten- evtl. wurde das für Hobby wieder entschärft.

@StefaE
Copy link

StefaE commented Aug 20, 2023

Im Moment bekomme ich noch antworten- evtl. wurde das für Hobby wieder entschärft.

Wenn Du eingeloggt bist, solltest Du eigentlich oben im Fenster sehen, wie Deine credits für heute stehen ...; würde mich interessieren um ev. Default Settings bei mir anzupassen.

@andig
Copy link
Member Author

andig commented Aug 20, 2023

You have used 17 of 50 API requests available in your daily API usage limit. Usage resets at midnight UTC.

@VolkerK62
Copy link
Contributor

Interessant. Anfangs hatte ich auch mal 50.
Aktuell sind 6 von 10 verbraucht.
Kann es sein, dass man als "Neukunde" ein Zeit lang 50 Abfragen zur Verfügung hat?

@naltatis
Copy link
Member

@andig ich hab jetzt nil checks auf den tariff an einigen Stellen hinzugefügt. Damit sind die Tests wieder ok. Mir ist aber noch nicht klar wieso du das überhaupt optional gemacht hast.

@andig
Copy link
Member Author

andig commented Aug 20, 2023

Weil es vorher auch keinen Tarif gab. Warum sollte der also einen Preis haben?

@naltatis
Copy link
Member

naltatis commented Aug 23, 2023

Added a "use solar forecast" checkbox. It will be shown if you have a generation tariff and experimentals are activated. The state of the checkbox is not persistat yet.

solar.forecast.webm

👆 shows my todays tibber prices + forecast of a 7,7kWp solar array

@andig andig force-pushed the feature/solcast branch 2 times, most recently from 19819bc to 75c5d2f Compare August 25, 2023 14:26
@andig andig added the ux User experience/ interface label Aug 29, 2023
@github-actions github-actions bot added the stale Outdated and ready to close label Oct 5, 2023
@andig andig removed the stale Outdated and ready to close label Oct 7, 2023
@github-actions github-actions bot added the stale Outdated and ready to close label Oct 28, 2023
@andig andig added backlog Things to do later and removed enhancement New feature or request stale Outdated and ready to close labels Nov 1, 2023
@schenlap
Copy link
Contributor

schenlap commented Dec 8, 2023

Hebelt man damit nicht die PV geführte Regelung aus? Wenn der aktuelle Slot auf Grund des Forcasts günstig ist, dann wird mit maximaler Leistung geladen, unabhängig wie viel PV Leistung zur Verfügung steht.

@volzinnovation
Copy link
Sponsor

Fände es super, wenn das bald in Master gemerged wird, würde gerne den Forecast nutzen.

Fände es noch besser, wenn Forecast nur im Planner zu sehen wäre, sondern analog der aktuellen Gerätestats eine kummulierte Prognose (erwartete kwh oder km (umgerechnet) Überschuss heute / morgen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Things to do later ux User experience/ interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Anbindung von Solarprognose.de / Ladeplanung anhand von PV-Ertrags-Prognose
6 participants