Plugin ‚solarforecast‘ Konfiguration
Im folgenden sind etwaige Anforderungen und unterstützte Hardware beschrieben. Danach folgt die Beschreibung, wie das Plugin solarforecast konfiguriert wird. Außerdem ist im folgenden beschrieben, wie das Plugin in den Item Definitionen genutzt werden kann. [1]
Es handelt sich bei diesem Plugin um ein web Plugin.
Beschreibung
Anforderungen
Minimum SmartHomeNG Version: 1.10.0
Konfiguration
Im folgenden ist beschrieben, wie das Plugin solarforecast konfiguriert wird. Außerdem ist im folgenden beschrieben, wie das Plugin in den Item Definitionen genutzt werden kann.
Parameter
Das Plugin verfügt über folgende Parameter, die in der Datei ../etc/plugin.yaml konfiguriert werden:
azimuth
Datentyp: num
Minimalwert: -180
Maximalwert: 180
declination
Datentyp: num
Minimalwert: 0
Maximalwert: 90
kwp
Datentyp: num
Minimalwert: 0
latitude
Datentyp: num
Minimalwert: -90
Maximalwert: 90
longitude
Datentyp: num
Minimalwert: -180
Maximalwert: 180
service
Datentyp: str
Standardwert: solarforecast
Mögliche Werte:
solarforecast
Item Attribute
Das Plugin unterstützt folgende Item Attribute, die in den Dateien im Verzeichnis ../items verwendet werden:
solarforecast_attribute
Datentyp: str
Mögliche Werte:
energy_tomorrow
energy_today
date_tomorrow
date_today
watts_hourly
Item-Structs
Das Plugin stellt die folgenden Item-Structs zur Verfügung. Diese Informationen sind aus der plugin.yaml entnommen und möglicherweise nicht vollständig.
hourly
- hourly (dict, —)
data_hour (num, —)
- hours (foo, —)
- h0 (num, data for current hour (in reference to data_hour))
g5 (bool, flag if produced solar power is estimated to be more than 500 watts)
g10 (bool, flag if produced solar power is estimated to be more than 1000 watts)
g15 (bool, flag if produced solar power is estimated to be more than 1500 watts)
g20 (bool, flag if produced solar power is estimated to be more than 2000 watts)
g25 (bool, flag if produced solar power is estimated to be more than 2500 watts)
g30 (bool, flag if produced solar power is estimated to be more than 3000 watts)
g35 (bool, flag if produced solar power is estimated to be more than 3500 watts)
- h1 (num, data for current hour + 1 (in reference to data_hour))
g5 (bool, flag if produced solar power is estimated to be more than 500 watts)
g10 (bool, flag if produced solar power is estimated to be more than 1000 watts)
g15 (bool, flag if produced solar power is estimated to be more than 1500 watts)
g20 (bool, flag if produced solar power is estimated to be more than 2000 watts)
g25 (bool, flag if produced solar power is estimated to be more than 2500 watts)
g30 (bool, flag if produced solar power is estimated to be more than 3000 watts)
g35 (bool, flag if produced solar power is estimated to be more than 3500 watts)
- h2 (num, data for current hour + 2 (in reference to data_hour))
g5 (bool, flag if produced solar power is estimated to be more than 500 watts)
g10 (bool, flag if produced solar power is estimated to be more than 1000 watts)
g15 (bool, flag if produced solar power is estimated to be more than 1500 watts)
g20 (bool, flag if produced solar power is estimated to be more than 2000 watts)
g25 (bool, flag if produced solar power is estimated to be more than 2500 watts)
g30 (bool, flag if produced solar power is estimated to be more than 3000 watts)
g35 (bool, flag if produced solar power is estimated to be more than 3500 watts)
- h3 (num, data for current hour + 3 (in reference to data_hour))
g5 (bool, flag if produced solar power is estimated to be more than 500 watts)
g10 (bool, flag if produced solar power is estimated to be more than 1000 watts)
g15 (bool, flag if produced solar power is estimated to be more than 1500 watts)
g20 (bool, flag if produced solar power is estimated to be more than 2000 watts)
g25 (bool, flag if produced solar power is estimated to be more than 2500 watts)
g30 (bool, flag if produced solar power is estimated to be more than 3000 watts)
g35 (bool, flag if produced solar power is estimated to be more than 3500 watts)
- h4 (num, data for current hour + 4 (in reference to data_hour))
g5 (bool, flag if produced solar power is estimated to be more than 500 watts)
g10 (bool, flag if produced solar power is estimated to be more than 1000 watts)
g15 (bool, flag if produced solar power is estimated to be more than 1500 watts)
g20 (bool, flag if produced solar power is estimated to be more than 2000 watts)
g25 (bool, flag if produced solar power is estimated to be more than 2500 watts)
g30 (bool, flag if produced solar power is estimated to be more than 3000 watts)
g35 (bool, flag if produced solar power is estimated to be more than 3500 watts)
- h5 (num, data for current hour + 5 (in reference to data_hour))
g5 (bool, flag if produced solar power is estimated to be more than 500 watts)
g10 (bool, flag if produced solar power is estimated to be more than 1000 watts)
g15 (bool, flag if produced solar power is estimated to be more than 1500 watts)
g20 (bool, flag if produced solar power is estimated to be more than 2000 watts)
g25 (bool, flag if produced solar power is estimated to be more than 2500 watts)
g30 (bool, flag if produced solar power is estimated to be more than 3000 watts)
g35 (bool, flag if produced solar power is estimated to be more than 3500 watts)
- h6 (num, data for current hour + 6 (in reference to data_hour))
g5 (bool, flag if produced solar power is estimated to be more than 500 watts)
g10 (bool, flag if produced solar power is estimated to be more than 1000 watts)
g15 (bool, flag if produced solar power is estimated to be more than 1500 watts)
g20 (bool, flag if produced solar power is estimated to be more than 2000 watts)
g25 (bool, flag if produced solar power is estimated to be more than 2500 watts)
g30 (bool, flag if produced solar power is estimated to be more than 3000 watts)
g35 (bool, flag if produced solar power is estimated to be more than 3500 watts)
- power500 (foo, flag if power is estimated to be more than 500 watts)
h1 (bool, flag if power is estimed to be more than 500 watts for the next 1 hours (in reference to data_hour))
h2 (bool, flag if power is estimed to be more than 500 watts for the next 2 hours (in reference to data_hour))
h3 (bool, flag if power is estimed to be more than 500 watts for the next 3 hours (in reference to data_hour))
h4 (bool, flag if power is estimed to be more than 500 watts for the next 4 hours (in reference to data_hour))
h5 (bool, flag if power is estimed to be more than 500 watts for the next 5 hours (in reference to data_hour))
- power1000 (foo, flag if power is estimated to be more than 1000 watts)
h1 (bool, flag if power is estimed to be more than 1000 watts for the next 1 hours (in reference to data_hour))
h2 (bool, flag if power is estimed to be more than 1000 watts for the next 2 hours (in reference to data_hour))
h3 (bool, flag if power is estimed to be more than 1000 watts for the next 3 hours (in reference to data_hour))
h4 (bool, flag if power is estimed to be more than 1000 watts for the next 4 hours (in reference to data_hour))
h5 (bool, flag if power is estimed to be more than 1000 watts for the next 5 hours (in reference to data_hour))
- power1500 (foo, flag if power is estimated to be more than 1500 watts)
h1 (bool, flag if power is estimed to be more than 1500 watts for the next 1 hours (in reference to data_hour))
h2 (bool, flag if power is estimed to be more than 1500 watts for the next 2 hours (in reference to data_hour))
h3 (bool, flag if power is estimed to be more than 1500 watts for the next 3 hours (in reference to data_hour))
h4 (bool, flag if power is estimed to be more than 1500 watts for the next 4 hours (in reference to data_hour))
h5 (bool, flag if power is estimed to be more than 1500 watts for the next 5 hours (in reference to data_hour))
- power2000 (foo, flag if power is estimated to be more than 2000 watts)
h1 (bool, flag if power is estimed to be more than 2000 watts for the next 1 hours (in reference to data_hour))
h2 (bool, flag if power is estimed to be more than 2000 watts for the next 2 hours (in reference to data_hour))
h3 (bool, flag if power is estimed to be more than 2000 watts for the next 3 hours (in reference to data_hour))
h4 (bool, flag if power is estimed to be more than 2000 watts for the next 4 hours (in reference to data_hour))
h5 (bool, flag if power is estimed to be more than 2000 watts for the next 5 hours (in reference to data_hour))
- power2500 (foo, flag if power is estimated to be more than 2500 watts)
h1 (bool, flag if power is estimed to be more than 2500 watts for the next 1 hours (in reference to data_hour))
h2 (bool, flag if power is estimed to be more than 2500 watts for the next 2 hours (in reference to data_hour))
h3 (bool, flag if power is estimed to be more than 2500 watts for the next 3 hours (in reference to data_hour))
h4 (bool, flag if power is estimed to be more than 2500 watts for the next 4 hours (in reference to data_hour))
h5 (bool, flag if power is estimed to be more than 2500 watts for the next 5 hours (in reference to data_hour))
- power3000 (foo, flag if power is estimated to be more than 3000 watts)
h1 (bool, flag if power is estimed to be more than 3000 watts for the next 1 hours (in reference to data_hour))
h2 (bool, flag if power is estimed to be more than 3000 watts for the next 2 hours (in reference to data_hour))
h3 (bool, flag if power is estimed to be more than 3000 watts for the next 3 hours (in reference to data_hour))
h4 (bool, flag if power is estimed to be more than 3000 watts for the next 4 hours (in reference to data_hour))
h5 (bool, flag if power is estimed to be more than 3000 watts for the next 5 hours (in reference to data_hour))
- power3500 (foo, flag if power is estimated to be more than 3500 watts)
h1 (bool, flag if power is estimed to be more than 3500 watts for the next 1 hours (in reference to data_hour))
h2 (bool, flag if power is estimed to be more than 3500 watts for the next 2 hours (in reference to data_hour))
h3 (bool, flag if power is estimed to be more than 3500 watts for the next 3 hours (in reference to data_hour))
h4 (bool, flag if power is estimed to be more than 3500 watts for the next 4 hours (in reference to data_hour))
h5 (bool, flag if power is estimed to be more than 3500 watts for the next 5 hours (in reference to data_hour))
Logik Parameter
Das Plugin verfügt über folgende Parameter, die in der Datei ../etc/logic.yaml konfiguriert werden:
Keine Logik Parameter in den Metadaten beschrieben - Bitte in der README nachsehen (siehe Fußnote)
Plugin Functions
Das Plugin verfügt über folgende öffentliche Funktionen, die z.B. in Logiken aufgerufen werden können.
is_power_available(power, hours=2)
Ergebnistyp der Funktion: bool
- power
Datentyp: int
Minimalwert: 0
- hours
Datentyp: int
Standardwert: 2
Minimalwert: 1