StefaE / PVForecast

Forecasts to optimize electricity consumption for rooftop PV (photo-voltaic) installations
GNU General Public License v3.0
50 stars 13 forks source link

PVForecast data only 2 days #14

Closed MyGitIT closed 1 year ago

MyGitIT commented 1 year ago

Hi,

since a few days, your program receives forecasts only for the upcoming 2 days. After a discussion with the solcast team they said, we should add the parameter 'hours=168' to the query.

THX

MyGitIT commented 1 year ago

I solved this issue quick and dirty with adding ", 'hours': 168" in the payload section of the base.py from PySolcast.

StefaE commented 1 year ago

Thx. MyGitIT.

See Discussion section - hope I can clean this up shortly.

StefaE commented 1 year ago

This issue has been resolved - an update to pysolcast is needed to make this work (but compatibility with old version is maintained).

If you are running Python prior to v3.9 (like me), see minimal requirements on how to install the updated version of PySolcast