Seite 2 von 2

Re: FOSHKplugin Variablen nicht immer verfügbar

Verfasst: 26 Apr 2024, 17:23
von Werner
Ich habe gerade festgestellt, dass beim GW2000 bei mir auch die Signale fehlen
Kommando zurück - jetzt sind die Signale da, um 17:12 erfolgte ja der Neutstart von FOSHKplugin

Code: Alles auswählen

26.04.2024 17:12:27.663 <OK> FOSHKplugin v0.10 Beta 240401 stopped
26.04.2024 17:12:30.506 <OK> FOSHKplugin v0.10 Beta 240401 started
26.04.2024 17:12:30.507 <OK> using configuration file /opt/FOSHKplugin3/foshkplugin.conf
26.04.2024 17:12:30.508 <OK> log level set to WARNING (out of ERROR, WARNING, INFO, ALL (default))
26.04.2024 17:12:30.508 <OK> Logging is globally enabled (loglog: True, sndlog: True, rawlog: False; loglevel: WARNING - to disable set LOG_ENABLE = False in config
26.04.2024 17:12:30.509 <OK> loaded stundenwerte from /opt/FOSHKplugin3/FOSHKplugin-8083-stundenwerte.pkl (675)
26.04.2024 17:12:30.510 <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
26.04.2024 17:12:30.511 <OK> loaded min/max values from /opt/FOSHKplugin3/FOSHKplugin-8083-minmax.pkl (230)
26.04.2024 17:12:30.513 <OK> report watchdog activated, will warn if weather station did not report within 10 send-intervals
26.04.2024 17:12:30.513 <OK> battery warning disabled - to enable set BATTERY_WARNING = True in config
26.04.2024 17:12:30.514 <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
26.04.2024 17:12:30.514 <OK> leakage warning disabled - to enable set LEAKAGE_WARNING = True in config
26.04.2024 17:12:30.514 <OK> CO2 warning disabled - to enable set CO2_WARNING = True in config
26.04.2024 17:12:30.515 <OK> interval warning disabled - to enable set INTVL_WARNING = True in config
26.04.2024 17:12:30.515 <OK> reboot warning enabled, will warn if station reboot is detected via key runtime - to disable set REBOOT_WARNING = False in config
26.04.2024 17:12:30.516 <OK> automatic save/restore for lightning-data enabled - to disable set FIX_LIGHTNING = False in config
26.04.2024 17:12:30.516 <OK> enhanced sunhours calculation with dynamic threshold enabled
26.04.2024 17:12:30.516 <OK> additional dew point calculation (indoor sensor, WH31, WH45) is deactivated - to enable set Export\ADD_DEWPT = True in config
26.04.2024 17:12:30.517 <OK> additional spread calculation (indoor sensor, WH31, WH45) is deactivated - to enable set Export\ADD_SPREAD = True in config
26.04.2024 17:12:30.639 <OK> additional output of the signal quality activated - to disable set Export\ADD_SIGNAL = False in config
26.04.2024 17:12:30.640 <OK> FWD warning enabled, warns if a forward had 10 (specified globally or individually by FWD_WARNINT) unsuccessful attempts - to disable set FWD_WARNING = False in config
26.04.2024 17:12:30.661 <OK> local http-socket 192.168.0.133:8083 bound
26.04.2024 17:12:30.662 <OK> local UDP-socket 192.168.0.133:12344 bound
26.04.2024 17:12:30.662 <OK> remote UDP-sending disabled
26.04.2024 17:12:30.663 <OK> open CSV-file /data/FOSHKplugin/ecowitt3.csv
26.04.2024 17:12:30.663 <OK> write daily values to CSV-dayfile /data/FOSHKplugin/dayfile3.csv
26.04.2024 17:12:48.271 <OK> CSV-header-file /tmp/FOSHKplugin-8083.csvheader written
Ist mir bisher gar nicht aufgefallen, da Sie bei der WS3910 immer vorhanden sind.
Allerdings hat Wilfried schon eine neuere Beta (240419) ich nutze die 240401

Re: FOSHKplugin Variablen nicht immer verfügbar

Verfasst: 26 Apr 2024, 17:38
von olicat
Hi!

Ich habe eine mögliche Problemquelle identifiziert und arbeite an einer Lösung.

Oliver

Re: FOSHKplugin Variablen nicht immer verfügbar

Verfasst: 26 Apr 2024, 23:34
von olicat
Hi!

Es ist KEINE offizielle Beta - ich habe noch ein, zwei Baustellen im Source, die soweit aber funktionieren sollten. Auch ist das Paperwork noch nicht fertig. Das Problem mit den fehlenden Signal-Werten sollte jedoch damit behoben sein.

https://foshkplugin.phantasoft.de/files ... 240426.zip

Update wie ueblich via:

Code: Alles auswählen

sudo -u username ./generic-FOSHKplugin-install.sh -upgrade generic-FOSHKplugin-0.0.10Beta240426.zip
sudo -u username ./generic-FOSHKplugin-install.sh -repair
Viel Erfolg und gerne eine Rueckmeldung!
Danke!

Oliver

Re: FOSHKplugin Variablen nicht immer verfügbar

Verfasst: 27 Apr 2024, 02:09
von moppedhausi
Guten Morgen Oliver,

die Signalwerte sind da. :thumbup: :D
Ob auch die sunminswerte da sind, kann ich über Tag erst sehen.

@Edit:

die sunmins Werte fehlen leider noch:
sunhours = 0.26
$sunmins = 0

Re: FOSHKplugin Variablen nicht immer verfügbar

Verfasst: 27 Apr 2024, 16:35
von exxes
Hallo Oliver,

bei mir das selbe. Nach dem Update sind die Signalwerte vorhanden. :thumbup:
Sunmins fehlern noch.

Re: FOSHKplugin Variablen nicht immer verfügbar

Verfasst: 27 Apr 2024, 17:17
von olicat
Hi!

Fehlen die sunmins nur bei der Tagfile-Erzeugung oder wird auch per http://ipaddress0:port/getvalue?key=sunmins oder direkt bei http://ipaddress:port/ nur eine 0 ausgegeben?

Oliver

Re: FOSHKplugin Variablen nicht immer verfügbar

Verfasst: 27 Apr 2024, 17:22
von Werner
Vor dem Updaten haben die Signale wieder gefehlt.
Nach dem Update sind sie aber auch nicht wiedergekommen (gestern schon)
Auch nach einem zweiten Restart nicht.

Code: Alles auswählen

27.04.2024 16:36:00.069 <OK> FOSHKplugin v0.10 Beta 240401 stopped
27.04.2024 16:36:04.609 <OK> FOSHKplugin v0.10 Beta 240426 started
27.04.2024 16:36:04.612 <OK> using configuration file /opt/FOSHKplugin3/foshkplugin.conf
27.04.2024 16:36:04.612 <OK> log level set to WARNING (out of ERROR, WARNING, INFO, ALL (default))
27.04.2024 16:36:04.613 <OK> Logging is globally enabled (loglog: True, sndlog: True, rawlog: False; loglevel: WARNING - to disable set LOG_ENABLE = False in config
27.04.2024 16:36:04.614 <OK> loaded stundenwerte data from /opt/FOSHKplugin3/FOSHKplugin-8083-stundenwerte.pkl (675)
27.04.2024 16:36:04.615 <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
27.04.2024 16:36:04.616 <OK> loaded min/max values from /opt/FOSHKplugin3/FOSHKplugin-8083-minmax.pkl (230)
27.04.2024 16:36:04.632 <OK> report watchdog activated, will warn if weather station did not report within 10 send-intervals
27.04.2024 16:36:04.632 <OK> battery warning disabled - to enable set BATTERY_WARNING = True in config
27.04.2024 16:36:04.633 <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
27.04.2024 16:36:04.633 <OK> leakage warning disabled - to enable set LEAKAGE_WARNING = True in config
27.04.2024 16:36:04.634 <OK> CO2 warning disabled - to enable set CO2_WARNING = True in config
27.04.2024 16:36:04.634 <OK> interval warning disabled - to enable set INTVL_WARNING = True in config
27.04.2024 16:36:04.634 <OK> reboot warning enabled, will warn if station reboot is detected via key runtime - to disable set REBOOT_WARNING = False in config
27.04.2024 16:36:04.635 <OK> automatic save/restore for lightning-data enabled - to disable set FIX_LIGHTNING = False in config
27.04.2024 16:36:04.635 <OK> enhanced sunhours calculation with dynamic threshold enabled
27.04.2024 16:36:04.635 <OK> additional dew point calculation (indoor sensor, WH31, WH45) is deactivated - to enable set Export\ADD_DEWPT = True in config
27.04.2024 16:36:04.636 <OK> additional spread calculation (indoor sensor, WH31, WH45) is deactivated - to enable set Export\ADD_SPREAD = True in config
27.04.2024 16:36:04.753 <OK> additional output of the signal quality activated - to disable set Export\ADD_SIGNAL = False in config
27.04.2024 16:36:04.754 <OK> FWD warning enabled, warns if a forward had 10 (specified globally or individually by FWD_WARNINT) unsuccessful attempts - to disable set FWD_WARNING = False in config
27.04.2024 16:36:04.760 <OK> local http-socket 192.168.0.133:8083 bound
27.04.2024 16:36:04.760 <OK> local UDP-socket 192.168.0.133:12344 bound
27.04.2024 16:36:04.761 <OK> remote UDP-sending disabled
27.04.2024 16:36:04.761 <OK> open CSV-file /data/FOSHKplugin/ecowitt3.csv
27.04.2024 16:36:04.762 <OK> write daily values to CSV-dayfile /data/FOSHKplugin/dayfile3.csv
27.04.2024 16:36:18.725 <OK> CSV-header-file /tmp/FOSHKplugin-8083.csvheader written
27.04.2024 16:48:19.249 <OK> local UDP-socket 192.168.0.133:12344 closed
27.04.2024 16:48:19.249 <OK> close CSV-file /data/FOSHKplugin/ecowitt3.csv
27.04.2024 16:48:19.259 <OK> wrote stundenwerte to /opt/FOSHKplugin3/FOSHKplugin-8083-stundenwerte.pkl (675)
27.04.2024 16:48:19.262 <OK> wrote min/max values to /opt/FOSHKplugin3/FOSHKplugin-8083-minmax.pkl (230)
27.04.2024 16:48:19.264 <OK> wrote lasthour data to /opt/FOSHKplugin3/FOSHKplugin-8083-lasthour.pkl (10)
27.04.2024 16:48:19.264 <OK> FOSHKplugin v0.10 Beta 240426 stopped

Re: FOSHKplugin Variablen nicht immer verfügbar

Verfasst: 27 Apr 2024, 17:28
von moppedhausi
olicat hat geschrieben: 27 Apr 2024, 17:17
Fehlen die sunmins nur bei der Tagfile-Erzeugung oder wird auch per http://ipaddress0:port/getvalue?key=sunmins oder direkt bei http://ipaddress:port/ nur eine 0 ausgegeben?
Hallo Oliver,

sunmins fehlt bei http://ipaddress:port/
bei http://ipaddress0:port/getvalue?key=sunmins wird eine 0 ausgegeben.