EOS_connect icon indicating copy to clipboard operation
EOS_connect copied to clipboard

RFE: APIKey Support für forecast.solar

Open Wolfgang1966 opened this issue 3 months ago • 6 comments

Hallo zusammen,

ich habe gerade EOS_Connect frisch aufgesetzt und bin noch am rumprobieren. In meinem Setup läuft daneben eine EOS Instanz für die Optimierung, die Daten kommen aus einer openHAB. Steuerung ist noch nicht implementiert, werd ich aber voraussichtlich noch machen, bevor der Winter kommt.

Jetzt zu meinem Wunsch: Aktuell nutze ich openmeteo für die PV-Vorhersage, die dortigen Werte haben aber so gar nix mit meiner erlebten Realität zu tun. forecast.solar hab ich zwischendurch aktiviert, bin da aber sehr schnell ans Rate Limit gestoßen, und aus dem kommt man dann auch nicht mehr raus. Daher hab ich mir nen API Key besorgt und würde den gern nutzen. Aktuell kann man den aber noch nicht konfigurieren. Leider hab ich keine Ahnung von Python, daher kann ich auch keinen PR stellen, um das zu ergänzen. Daher meine Bitte: Könnte jemand den Support für API Keys für forecast.solar ergänzen?

Lt. https://doc.forecast.solar/api:estimate muss der API Key nur als zusätzlicher Pfad-Parameter in die URL eingehängt werden, das sieht nach einer überschaubaren Änderung aus.

Einen API-Key für Tests stelle ich gerne zur Verfügung, bitte kontaktiert mich per PM.

Danke schon mal!

Wolfgang

Wolfgang1966 avatar Aug 26 '26 08:08 Wolfgang1966

As I am not sure about the preferred language, here the request in english:

Hi everyone,

I’ve just set up EOS_Connect and am still experimenting with it. In my setup, an EOS instance runs alongside it for optimization, with data coming from openHAB. Control functionality isn't implemented yet, though I plan to add it before winter arrives.

Now for my request: I’m currently using openmeteo for PV forecasting, but the values ​​there bear absolutely no resemblance to the reality I’m experiencing. I tried enabling forecast.solar for a while, but I hit the rate limit very quickly—and there’s no way to get out of that state once it happens. So, I obtained an API key and would like to use it, but there’s currently no way to configure it. Unfortunately, I have no Python knowledge, so I can’t submit a PR to add this feature myself. Hence my request: Could someone add support for forecast.solar API keys?

According to https://doc.forecast.solar/api:estimate, the API key simply needs to be inserted into to the URL as an additional path parameter; it looks like a manageable change.

I’m happy to provide an API key for testing purposes—please contact me via PM.

Thanks in advance!

Wolfgang

Wolfgang1966 avatar Aug 26 '26 08:08 Wolfgang1966

Falls forecast.solar weiterhin Rate-Limits macht - Volcast (volcast.app) könnte als Alternative passen. Nutzt Satellitendaten + Kalman-Filter, der sich an die reale Produktion anpasst (nach ~1 Woche typisch 5-10% Abweichung statt der generischen Werte). Bietet eine API und per-String-Auflösung, was für EOS-Integrationen relevant sein könnte.

m-bartosiak avatar Aug 26 '26 12:08 m-bartosiak

check last develop

-> deutsch / englisch ist ja inzwischen durch automatische Übersetzung egal ... also daher - wie es gerade passt ;-)

bitte mal mit eigenen API keys testen ... ob die Integration wie erwartet funktioniert

ohAnd avatar Sep 02 '26 08:09 ohAnd

Works like a charm!!

Thank you!!

Wolfgang1966 avatar Sep 02 '26 09:09 Wolfgang1966

Maybe it would be helpful to also print out the forecasts of the single pv installations and not only the summary in debug logs. In my case I have 4 different orientations and it would be interesting to see how close the forecasts match the reality for the different strings.

However, I can also send the requests using curl, so no pressure :-)

Wolfgang1966 avatar Sep 02 '26 09:09 Wolfgang1966

will be nice ... (via curl) and also if you are in testing phase, you can configure only one installation at the time and you get the info ;-)

i guess - spent 'enough' effort for this specific feature ;-) (see last update for the specific auto adapted time frame resolution depending on free/ key/ prof key)

-> so we can also close here

ohAnd avatar Sep 03 '26 09:09 ohAnd