von JoachimF » 18 Jun 2025 10:40
Werner hat geschrieben: ↑08 Jun 2025 12:17
Da die Custom-Funktion keine Signale zur Verfügung stellt, empfehle ich die Kombination Custom-Funktion und FOSHKplugin. Siehe auch Github Beschreibung.
FOSHKplugin habe ich installiert und Weewx verarbeitet auch dei GW3000 Daten.
Bei der Installation habe ich keine Weiterleitung gewählt, weil ich nur die Daten Lokal haben möchte.
Das Plugin bleibt für mich ein Rätsel:
sudo service foshkplugin status
○ foshkplugin.service - foshkplugin
Loaded: loaded (/etc/systemd/system/foshkplugin.service; enabled; preset: enabled)
Active: inactive (dead) since Wed 2025-06-18 11:00:44 CEST; 33min ago
Duration: 1.961s
Process: 263927 ExecStart=/opt/FOSHKplugin/foshkplugin.py (code=exited, status=0/SUCCESS)
Main PID: 263927 (code=exited, status=0/SUCCESS)
CPU: 1.799s
Jun 18 11:00:44 weewx1-2-neu systemd[1]: Stopped foshkplugin.service - foshkplugin.
Jun 18 11:00:44 weewx1-2-neu systemd[1]: foshkplugin.service: Consumed 1.799s CPU time.
INACTIVE und trotzdem erhlte ich die Daten.
Hier das log-foshkplugin.log
<OK> FOSHKplugin v0.10 Beta 250225 started
<OK> using configuration file /opt/FOSHKplugin/foshkplugin.conf
<OK> log level set to ALL (out of ERROR, WARNING, INFO, ALL (default))
<OK> Logging is globally enabled (loglog: True, sndlog: True, rawlog: True; loglevel: ALL - to disable set LOG_ENABLE = False in config
<OK> loaded stundenwerte data from /opt/FOSHKplugin/FOSHKplugin-8080-stundenwerte.pkl (180)
<OK> storm warning activated, will warn if air pressure rises/drops more than 1.75 hPa/hour or 3.75hPa/3hr with expiry time of 60 minutes
<OK> loaded lasthour data from /opt/FOSHKplugin/FOSHKplugin-8080-lasthour.pkl (10)
<OK> loaded min/max values from /opt/FOSHKplugin/FOSHKplugin-8080-minmax.pkl (262)
<OK> report watchdog activated, will warn if weather station did not report within 3 send-intervals
<OK> battery warning enabled, will warn if battery level of all known sensors is critical - to disable set BATTERY_WARNING = False in config
<OK> thunderstorm warning activated, will warn if lightning sensor WH57 present, count of lightnings is more than 1 and distance is less or equal 30km with expiry time of 15 minutes
<OK> leakage warning disabled - to enable set LEAKAGE_WARNING = True in config
<OK> CO2 warning disabled - to enable set CO2_WARNING = True in config
<OK> interval warning disabled - to enable set INTVL_WARNING = True in config
<OK> reboot warning enabled, will warn if station reboot is detected via key runtime - to disable set REBOOT_WARNING = False in config
<OK> automatic save/restore for lightning-data enabled - to disable set FIX_LIGHTNING = False in config
<OK> additional dew point calculation (indoor sensor, WH31, WH45) is deactivated - to enable set Export\ADD_DEWPT = True in config
<OK> additional spread calculation (indoor sensor, WH31, WH45) is deactivated - to enable set Export\ADD_SPREAD = True in config
<OK> additional VPD calculation (indoor sensor, WH31, WH45) is deactivated - to enable set Export\ADD_VPD = True in config
<OK> additional output of the signal quality activated - to disable set Export\ADD_SIGNAL = False in config
<OK> FWD warning disabled - to enable set FWD_WARNING = True in config
<OK> IoT processing disabled - to enable set IoT\IOT_ENABLE = True in config
<ERROR> can not open http-socket 192.168.8.145:8080
<OK> wrote stundenwerte to /opt/FOSHKplugin/FOSHKplugin-8080-stundenwerte.pkl (180)
<OK> wrote min/max values to /opt/FOSHKplugin/FOSHKplugin-8080-minmax.pkl (262)
<OK> wrote lasthour data to /opt/FOSHKplugin/FOSHKplugin-8080-lasthour.pkl (10)
<OK> FOSHKplugin v0.10 Beta 250225 stopped
Ist das Alles bedeutungslos?
[quote=Werner post_id=64039 time=1749381437 user_id=3]
Da die Custom-Funktion keine Signale zur Verfügung stellt, empfehle ich die Kombination Custom-Funktion und FOSHKplugin. Siehe auch Github Beschreibung.
[/quote]
FOSHKplugin habe ich installiert und Weewx verarbeitet auch dei GW3000 Daten.
Bei der Installation habe ich keine Weiterleitung gewählt, weil ich nur die Daten Lokal haben möchte.
Das Plugin bleibt für mich ein Rätsel:
[quote]sudo service foshkplugin status
○ foshkplugin.service - foshkplugin
Loaded: loaded (/etc/systemd/system/foshkplugin.service; enabled; preset: enabled)
Active: inactive (dead) since Wed 2025-06-18 11:00:44 CEST; 33min ago
Duration: 1.961s
Process: 263927 ExecStart=/opt/FOSHKplugin/foshkplugin.py (code=exited, status=0/SUCCESS)
Main PID: 263927 (code=exited, status=0/SUCCESS)
CPU: 1.799s
Jun 18 11:00:44 weewx1-2-neu systemd[1]: Stopped foshkplugin.service - foshkplugin.
Jun 18 11:00:44 weewx1-2-neu systemd[1]: foshkplugin.service: Consumed 1.799s CPU time.
[/quote]
[b]INACTIVE[/b] und trotzdem erhlte ich die Daten.
Hier das log-foshkplugin.log
[quote] <OK> FOSHKplugin v0.10 Beta 250225 started
<OK> using configuration file /opt/FOSHKplugin/foshkplugin.conf
<OK> log level set to ALL (out of ERROR, WARNING, INFO, ALL (default))
<OK> Logging is globally enabled (loglog: True, sndlog: True, rawlog: True; loglevel: ALL - to disable set LOG_ENABLE = False in config
<OK> loaded stundenwerte data from /opt/FOSHKplugin/FOSHKplugin-8080-stundenwerte.pkl (180)
<OK> storm warning activated, will warn if air pressure rises/drops more than 1.75 hPa/hour or 3.75hPa/3hr with expiry time of 60 minutes
<OK> loaded lasthour data from /opt/FOSHKplugin/FOSHKplugin-8080-lasthour.pkl (10)
<OK> loaded min/max values from /opt/FOSHKplugin/FOSHKplugin-8080-minmax.pkl (262)
<OK> report watchdog activated, will warn if weather station did not report within 3 send-intervals
<OK> battery warning enabled, will warn if battery level of all known sensors is critical - to disable set BATTERY_WARNING = False in config
<OK> thunderstorm warning activated, will warn if lightning sensor WH57 present, count of lightnings is more than 1 and distance is less or equal 30km with expiry time of 15 minutes
<OK> leakage warning disabled - to enable set LEAKAGE_WARNING = True in config
<OK> CO2 warning disabled - to enable set CO2_WARNING = True in config
<OK> interval warning disabled - to enable set INTVL_WARNING = True in config
<OK> reboot warning enabled, will warn if station reboot is detected via key runtime - to disable set REBOOT_WARNING = False in config
<OK> automatic save/restore for lightning-data enabled - to disable set FIX_LIGHTNING = False in config
<OK> additional dew point calculation (indoor sensor, WH31, WH45) is deactivated - to enable set Export\ADD_DEWPT = True in config
<OK> additional spread calculation (indoor sensor, WH31, WH45) is deactivated - to enable set Export\ADD_SPREAD = True in config
<OK> additional VPD calculation (indoor sensor, WH31, WH45) is deactivated - to enable set Export\ADD_VPD = True in config
<OK> additional output of the signal quality activated - to disable set Export\ADD_SIGNAL = False in config
<OK> FWD warning disabled - to enable set FWD_WARNING = True in config
<OK> IoT processing disabled - to enable set IoT\IOT_ENABLE = True in config
[size=150] <ERROR> can not open http-socket 192.168.8.145:8080[/size]
<OK> wrote stundenwerte to /opt/FOSHKplugin/FOSHKplugin-8080-stundenwerte.pkl (180)
<OK> wrote min/max values to /opt/FOSHKplugin/FOSHKplugin-8080-minmax.pkl (262)
<OK> wrote lasthour data to /opt/FOSHKplugin/FOSHKplugin-8080-lasthour.pkl (10)
<OK> FOSHKplugin v0.10 Beta 250225 stopped[/quote]
Ist das Alles bedeutungslos?