akkudoktoreos.prediction.prediction
Prediction module for weather and photovoltaic forecasts.
This module provides a Prediction class to manage and update a sequence of prediction providers. The Prediction class is a subclass of PredictionContainer and is initialized with a set of forecast providers, such as WeatherBrightSky, WeatherClearOutside, and PVForecastAkkudoktor.
- Usage:
Instantiate the Prediction class with the required providers, maintaining the necessary order. Then call the update method to refresh forecasts from all providers in sequence.
Example
# Create singleton prediction instance with prediction providers from akkudoktoreos.prediction.prediction import prediction
prediction.update_data() print(“Prediction:”, prediction)
- Classes:
Prediction: Manages a list of forecast providers to fetch and update predictions.
- akkudoktoreos.prediction.prediction.pvforecast_akkudoktor
Forecast provider for photovoltaic data.
- Type:
- akkudoktoreos.prediction.prediction.weather_brightsky
Weather forecast provider using BrightSky.
- Type:
- akkudoktoreos.prediction.prediction.weather_clearoutside
Weather forecast provider using ClearOutside.
- Type:
Functions
Gets the EOS prediction data. |
|
|
Main function to update and display predictions. |
Classes
|
Prediction container to manage multiple prediction providers. |
|
General Prediction Configuration. |