Software > WeeWX

Problemas con weewx

<< < (5/5)

Mihuer:
Hola,
pare ce que el problema viene de los ajustes de las variables del script. En el post https://forum.meteoclimatic.net/index.php/topic,2509.0.html ponía numerosos comentarios al respecto, incluido algunos sobre el error en la variable de comprobación del estatus. Es posible que el problema esté por ahí.

Te copio cómo tengo fijadas las variables del script por si te es de ayuda (y recuerda que los directorios pueden ser distintos según tu tipo de instalación. Y otra obviedad: todo lo que esta tras el símbolo # son comentarios por lo que no tienen efecto):

doweewxrestart=1        # 1 means yes restart weewx as an attempt to re-establish communications
dohostreboot=1          # 1 means yes restart host if station is not reporting

# weewx stop, start commands -- these depend on your setup
#weewx_stop="sudo /etc/init.d/weewx stop"
weewx_stop="sudo systemctl stop weewx"
#weewx_start="sudo /etc/init.d/weewx start"
weewx_start="sudo systemctl start weewx"
#weewx_status="/etc/init.d/weewx status"
weewx_status="systemctl status weewx"
#host restart command
host_restart="sudo shutdown -r now"
# host_restart="sudo shutdown -r now"

# WMR300 handling of rain counter, which needs to be manually reset from time to time
doraincounterwarning=0  # 1 means yes check for rain counter warning (currently WMR300-specific)

# Whether to run wunderfixer each time the watchdog runs
# If enabled, will runs wunderfixer repeatwufixer times after an outage
# (e.g. for an hour based on a default watchdogsecs=900 # 10 minutes)
dowufixer=0             # 1 means yes run wunderfixer
repeatwufixer=12        # how many times to run wunderfixer after an outage
wufixerpath=/usr/share/weewx/bin/wunderfixer

#### *** Optional customizations
# Number of seconds without weewx records before taking action
# Note:  Not recommended to set less than 10 minutes in most cases
watchdogsecs=900 # 15 minutes

# Add wunderfixer timeout of 20 seconds to workaround WU "capacity" issues
wutimeout=20

# Add wunderfixer epsilon of 125 seconds to workaround WU "time drift" issues
wuepsilon=125

# Main weewx log file
weewx_main_log=/var/log/weewx.log

# Supplemental log
weewx_suppl_log=/var/log/weewx_watch.log

#weewx_suppl_log=/usr/share/weewx_log/weewx.log

Navegación

[0] Índice de Mensajes

[*] Página Anterior

Ir a la versión completa