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/20 17:14] – Oliver Engel | plugins:foshkplugin:foshkplugin_generic_version [2025/03/06 21:33] (aktuell) – Oliver Engel | ||
---|---|---|---|
Zeile 68: | Zeile 68: | ||
* new: with Config\LINK_ADR = address in Config file you may specify a name or address for all links created by FOSHKplugin (e.g. for use on public web server) | * new: with Config\LINK_ADR = address in Config file you may specify a name or address for all links created by FOSHKplugin (e.g. for use on public web server) | ||
* new: support of Debian Bookworm based distributions by using virtual environment venv (problem with installation of required Python libraries with pip - PEP 668) | * new: support of Debian Bookworm based distributions by using virtual environment venv (problem with installation of required Python libraries with pip - PEP 668) | ||
- | * new: with Export\ADD_DEWPT = True you can enable/ | + | * new: with Export\ADD_DEWPT = True you can enable/ |
* new: with Logging\COLOR_PRINT (default: True), messages in the console window are highlighted in colour (ERROR = red, WARNING = yellow and after a warning has been cancelled = green; can be deactivated with COLOR_PRINT = False | * new: with Logging\COLOR_PRINT (default: True), messages in the console window are highlighted in colour (ERROR = red, WARNING = yellow and after a warning has been cancelled = green; can be deactivated with COLOR_PRINT = False | ||
* new: get complete dictionary with http: | * new: get complete dictionary with http: | ||
Zeile 74: | Zeile 74: | ||
* new: Support for the old HP1001 console (conversion to WU format) | * new: Support for the old HP1001 console (conversion to WU format) | ||
* new: use "& | * new: use "& | ||
- | * new: with Export\ADD_SPREAD = True (default: False) there will be additionally spread values for indoor, outdoor and WH45 sensor as well as all WH31 calculated | + | * new: with Export\ADD_SPREAD = True (default: False) there will be additionally spread values for indoor, outdoor and WH45/WH46 sensor as well as all WH31 calculated |
* changed: all incoming get-requests will be URL-decoded now | * changed: all incoming get-requests will be URL-decoded now | ||
* new: enable signal quality acquisition on supported consoles with Export\ADD_SIGNAL = True (default: False) | * new: enable signal quality acquisition on supported consoles with Export\ADD_SIGNAL = True (default: False) | ||
Zeile 95: | Zeile 95: | ||
* fixed: During the first query of the day, the last values of the previous day could still be transmitted - now the reset for the daily rainfall amount takes place when the first data of the day is received | * fixed: During the first query of the day, the last values of the previous day could still be transmitted - now the reset for the daily rainfall amount takes place when the first data of the day is received | ||
* new: for use in Docker environments, | * new: for use in Docker environments, | ||
- | * improved: the target bucket | + | * new: Config\RUN_DESC = note - string is output as additional information in push notifications (behind |
+ | * improved: fixed some warnings regarding Python >= 3.11 string handling (" | ||
+ | * new: support of WH48 (guess!) | ||
+ | * new: enable more keys (radcompensation, | ||
+ | * fixed: queued data may not be forwarded to InfluxDB | ||
+ | * improved: Firmware-Update-Check for WebUI devices (to be done) | ||
+ | * new: overview pages for formats WU and IoT: http:// | ||
+ | * improved: variable Config\LB_IP falls back to "" | ||
+ | * new: globally define the key containing snow depth (e.g. depth_ch1) with Weatherstation\SNOW_DEPTH = keyname - a forward specific FWD_OPTION = SNOW_DEPTH=depth_chN overrules this global setting | ||
+ | * new: transmit snow depth to Awekas with AWEKAS forward - can be adjusted with FWD_OPTION = SNOW_DEPTH=depth_ch2 or the global setting Weatherstation\SNOW_DEPTH = keyname | ||
+ | * new: with Export\ADD_VPD = True you can enable/ | ||
**Version 0.09 - 02.04.2022** | **Version 0.09 - 02.04.2022** | ||
Zeile 302: | Zeile 313: | ||
* is able to feed a MQTT broker | * is able to feed a MQTT broker | ||
* connection to any database system possible via telegraf | * connection to any database system possible via telegraf | ||
- | * direct support of InfluxDB | + | * direct support of InfluxDB |
* saves the converted or imperial data sorted and / or extracted as CSV | * saves the converted or imperial data sorted and / or extracted as CSV | ||
* enables forwarding to up to 100 servers that are not supported by the weather station itself (e.g. [[https:// | * enables forwarding to up to 100 servers that are not supported by the weather station itself (e.g. [[https:// | ||
Zeile 366: | Zeile 377: | ||
{{anchor: | {{anchor: | ||
- | **Installation**: | + | **Installation**: |
{{anchor: | {{anchor: | ||
Zeile 546: | 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 554: | 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 3294: | 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)\\ | ||
+ | \\ | ||
++++ | ++++ |