Metainformationen zur Seite
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
plugins:foshkplugin:foshkplugin_generic_version [2025/02/25 20:38] – Oliver Engel | plugins:foshkplugin:foshkplugin_generic_version [2025/03/06 21:33] (aktuell) – Oliver Engel | ||
---|---|---|---|
Zeile 557: | Zeile 557: | ||
ADD_DEWPT = False # enable/ | ADD_DEWPT = False # enable/ | ||
ADD_SPREAD = False # enable/ | ADD_SPREAD = False # enable/ | ||
+ | ADD_VPD = False # enable/ | ||
ADD_SIGNAL = False # enable/ | ADD_SIGNAL = False # enable/ | ||
OUT_TEMP = # fake the temperature-value for outdoor-sensor with value of specific indoor-sensor e.g. temp1f | OUT_TEMP = # fake the temperature-value for outdoor-sensor with value of specific indoor-sensor e.g. temp1f | ||
Zeile 565: | Zeile 566: | ||
URL_REPAIR = True # automatically inserts a missing but required " | URL_REPAIR = True # automatically inserts a missing but required " | ||
LIMIT_WINDGUST = # limit from which windgustmph and maxdailygust are blocked for any further processing to prevent unrealistic values (e.g. WS80/WS90). | LIMIT_WINDGUST = # limit from which windgustmph and maxdailygust are blocked for any further processing to prevent unrealistic values (e.g. WS80/WS90). | ||
+ | ADD_SCRIPT = # script to globally integrate data from third party devices - see https:// | ||
[Forward] | [Forward] | ||
Zeile 3305: | Zeile 3307: | ||
The only difference is that some configuration changes in the LoxBerry version can be made via a web form. In the generic version, console access and an editor are required for [b]all[/b] configurations.\\ | The only difference is that some configuration changes in the LoxBerry version can be made via a web form. In the generic version, console access and an editor are required for [b]all[/b] configurations.\\ | ||
As this is also necessary for advanced configurations (e.g. forwards) in the LoxBerry version, you can also do this in general.\\ | As this is also necessary for advanced configurations (e.g. forwards) in the LoxBerry version, you can also do this in general.\\ | ||
+ | |||
+ | ++++ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | {{anchor: | ||
+ | |||
+ | ++++ Improved sunshine duration calculation and other solar topics | | ||
+ | |||
+ | **Improved sunshine duration calculation and other solar topics** | ||
+ | |||
+ | By default, FOSHKplugin checks whether the reported solar radiation value is higher than 120W/m² for the calculation of the daily sunshine duration in each transmission interval and if so, this minute is added to the sunshine duration.\\ | ||
+ | A better calculation according to [[https:// | ||
+ | |||
+ | <code syntaxhighlighter-pre> | ||
+ | [Coordinates] | ||
+ | # coordinates are only needed for calculating cloudbase and sunhours or export to Awekas-API, clientraw.txt, | ||
+ | ALT = # altitude in m e.g. 53 | ||
+ | LAT = # latitude in decimal grad e.g. 52.668759; North of the equator has no sign. South of the equator has a - sign. | ||
+ | LON = # longitude in decimal grad e.g. 13.266274; for longitudes left of Greenwich a - sign is needed. | ||
+ | </ | ||
+ | |||
+ | Sunduration\SUN_MIN can be used to specify the solar radiation threshold above which the detection is counted as sunshine. The calculation can be tweaked with Sunduration\SUN_COEF (default=0.92): | ||
+ | |||
+ | <code syntaxhighlighter-pre> | ||
+ | [Sunduration] | ||
+ | SUN_CALC = False # enable for better sunhours calculation (LAT, LON needed), disable to use static threshold of 120W/m² | ||
+ | SUN_MIN = 0 # from this value (W/m²) calculation starts | ||
+ | SUN_COEF = 0.92 # adjustment factor also depends on the location | ||
+ | SUNSHINE_HOLD = 0 # Hold time in seconds for value sunshine, this time continues to be output sunshine = True, even if there is no sunshine (default: 0) | ||
+ | </ | ||
+ | |||
+ | For compatibility reasons, the conventional calculation with a threshold value of 120W/m² - i.e. Sunduration\SUN_CALC = False - is the standard. The standard calculation is performed without specifying the geographical coordinates.\\ | ||
+ | \\ | ||
+ | FOSHKplugin outputs a few more light-specific entities, which are briefly explained here:\\ | ||
+ | \\ | ||
+ | last_suncheck = timestamp of the last time a sunshine check was performed\\ | ||
+ | last_suntime = timestamp when sunshine was last detected\\ | ||
+ | sunhours = shows the duration of daily sunshine in hours (solarradiation >= 120W/m² or - with Sunduration\SUN_CALC = True - with dynamic, location-dependent threshold value)\\ | ||
+ | sunmins = shows the duration of daily sunshine in minutes (solarradiation >= 120W/m² or - with Sunduration\SUN_CALC = True - with dynamic, location-dependent threshold value)\\ | ||
+ | sunshine = represents the presence of sunshine; can be artificially extended with Sunduration\SUNSHINE_HOLD to prevent constant changes\\ | ||
+ | theosunsr = Theoretical sunshine limit above which sunshine would be declared\\ | ||
+ | srsum = daily solar radiation sum since midnight (00:00)\\ | ||
+ | \\ | ||
++++ | ++++ |