Software > WeeWX

Como modificar el tiempo grabación en base de datos de la RPI. ?

<< < (5/7) > >>

ELMASNOU:

--- Cita de: jantoni en 09 de Marzo de 2021, 09:13:30 ---Verifica que grabaste correctamente los cambios y reinicia la RPI, no solo reiniciar weewx

--- Fin de la cita ---

Si si, lo acabo de hacer. He recomprobado tiempo en consola etc. etc... incrementando ambos a 600 y nada

Continúa con sus 13.

2021-03-09 09:55:39   30.0270261163   56.7708609641   30.036   2980.4306087   4.74
2021-03-09 09:55:41   30.0270261163   56.7708609641   30.036   2980.4306087   4.74
2021-03-09 09:55:43   30.0270261163   56.7708609641   30.036   2980.4306087   4.74
2021-03-09 09:55:45   30.0270261163   56.7708609641   30.036   2980.4306087   4.74
2021-03-09 09:55:47   30.0270261163   56.7708609641   30.036   2980.4306087   4.74
2021-03-09 09:55:49   30.0270261163   57.3341299641   30.036   2980.4306087   4.74
2021-03-09 09:55:51   30.0270261163   56.7708609641   30.036   2980.4306087   4.74
2021-03-09 09:55:53   30.0270261163   56.7708609641   30.036   2980.4306087   4.74
2021-03-09 09:55:55   30.0270261163   56.7708609641   30.036   2980.4306087   4.74

El Meteotemplate de   meteoelmasnou.cat  actualiza bien cada 5'.

No será un tema del datalogger ? es el original via USB.
No se...

ELMASNOU:

--- Cita de: jmviper en 08 de Marzo de 2021, 22:43:49 ---El cambio de loop a archive lo hiciste ayer día 7 ??

Si es así cuando empezó el día a las 0:00 estaba todavía con loop como sale en esas líneas cada 2".

--- Fin de la cita ---

Los datos del post de arriba son datos con     

binding = archive

A no ser que no se aplique correctamente. Aunque lo dudo.

jmviper:
Tienes instalado en weewx la extensión weewx csv ?

https://github.com/weewx/weewx/wiki/csv

Es que tiene toda la pinta de ser cosa de esa extensión y no de meteotemplate.

Verás las extensiones que tienes en weewx con sudo wee_extension --list

Si aparece esa extensión de CSV será la que estará generando esos archivos y tendrías que ver su configuración en el weewx.conf que tendrá lo de binding = loop

ELMASNOU:

--- Cita de: jmviper en 09 de Marzo de 2021, 11:32:24 ---Tienes instalado en weewx la extensión weewx csv ?

https://github.com/weewx/weewx/wiki/csv

Es que tiene toda la pinta de ser cosa de esa extensión y no de meteotemplate.

Verás las extensiones que tienes en weewx con sudo wee_extension --list

Si aparece esa extensión de CSV será la que estará generando esos archivos y tendrías que ver su configuración en el weewx.conf que tendrá lo de binding = loop

--- Fin de la cita ---


Extension Name    Version   Description
ecowitt           1.1       A driver for the GW1000 Ecowitt
windguru          0.2       Upload weather data to WindGuru.
csv               0.10      Emit loop or archive data in CSV format.
weather365        1.3.6     Upload weather data weather365.net HiQ-Network
windy             0.7       Upload weather data to Windy.
wcloud            0.12      Upload weather data to WeatherCloud.
Belchertown       1.2       A clean modern skin with real time streaming updates and interactive charts. Modeled after BelchertownWeather.com
exfoliation       0.45      A minimalist layout with lots of data.
meteotemplate     0.9       Upload weather data to Meteotemplate.

Partes del weewx.conf

[[Meteotemplate]]
         password = *******
        server_url = **********
        # binding = loop
        binding = archive

[CSV]
    filename = /var/www/html/weewx/data-csv/data.csv
    timestamp_format = %Y-%m-%d %H:%M:%S
    datestamp_format = %Y-%m-%d

[StdArchive]
   
    # If the station hardware supports data logging then the archive interval
    # will be downloaded from the station. Otherwise, specify it (in seconds).
    archive_interval = 300

    # How long to wait (in seconds) before processing new archive data. Must
    # be greater than zero.
    # archive_delay = 15
   
    # If possible, new archive records are downloaded from the station
    # hardware. If the hardware does not support this, then new archive
    # records will be generated in software.
    # Set the following to "software" to force software record generation.
    record_generation = hardware
   
    # Whether to include LOOP data in hi/low statistics
    loop_hilo = True
   
    # The data binding used to save archive records
    data_binding = wx_binding

[Vantage]
    # This section is for a Davis VantagePro2, VantageVue or WeatherLinkIP
   
    # Connection type: serial or ethernet
    #  serial (the classic VantagePro)
    #  ethernet (the WeatherLinkIP)
    type = serial
   
    # If the connection type is serial, a port must be specified:
    #   Debian, Ubuntu, Redhat, Fedora, and SuSE:
    #     /dev/ttyUSB0 is a common USB port name
    #     /dev/ttyS0   is a common serial port name
    #   BSD:
    #     /dev/cuaU0   is a common serial port name
    # port = /dev/ttyAMA0
    port = /dev/ttyUSB0
   
    # If the connection type is ethernet, an IP Address/hostname is required:
    host = 1.2.3.4
   
    ######################################################
    # The rest of this section rarely needs any attention.
    # You can safely leave it "as is."
    ######################################################
   
    # Serial baud rate (usually 19200)
    baudrate = 19200
   
    # TCP port (when using the WeatherLinkIP)
    tcp_port = 22222
   
    # TCP send delay (when using the WeatherLinkIP):
    tcp_send_delay = 1
   
    # The id of your ISS station (usually 1)
    iss_id = 1
   
    # How long to wait for a response from the station before giving up (in
    # seconds; must be greater than 2)
    timeout = 5
   
    # How long to wait before trying again (in seconds)
    wait_before_retry = 1.2
   
    # How many times to try before giving up:
    max_tries = 4
   
    # The driver to use:
    driver = weewx.drivers.vantage

jmviper:
Pues ahí lo tienes, no sé para qué lo usas exactamente pero es el que te está generando esos archivos.

Es ahí en esa sección [CSV] del weewx.conf donde debes de poner lo del binding = archive

Después sudo service weewx reload pero ya digo que, puede que a veces instalemos cosas y no sepamos que están ahí o las desinstalemos y deje de funcionar algo  *+* *+*

Navegación

[0] Índice de Mensajes

[#] Página Siguiente

[*] Página Anterior

Ir a la versión completa