Software > WeeWX

No se me abre el cuadro de instalación de weewx

<< < (10/19) > >>

jmviper:
Como dice Ruben la base de datos está sin ser tocada (por weewx) desde el 30 de noviembre.... hace ya bastantes días.

Lo mejor sería ver el log para ver qué ocurre cuando arranca weewx.

Sigue estos pasos de la wiki para crear un log dedicado a weewx que creará su log en /var/log/weewx.log

http://wiki.meteoclimatic.net/wiki/FAQ_WeeWX#El_log_de_Weewx_se_mezcla_con_el_del_sistema_operativo._.C2.BFPuedo_tener_un_log_individual_para_Weewx.3F

Una vez que lo esté creando y tras reiniciar weewx cópialo y pégalo en un adjunto a ver si podemos ver qué falla.

gonchoCT:
Dec  9 20:27:37 raspberrypi weewx[434]: engine: Initializing weewx version 3.9.2
Dec  9 20:27:37 raspberrypi weewx[434]: engine: Using Python 2.7.16 (default, Oct 10 2019, 22:02:15) #012[GCC 8.3.0]
Dec  9 20:27:37 raspberrypi weewx[434]: engine: Platform Linux-4.19.75-v7+-armv7l-with-debian-10.2
Dec  9 20:27:37 raspberrypi weewx[434]: engine: Locale is 'es_ES.UTF-8'
Dec  9 20:27:37 raspberrypi weewx[434]: engine: pid file is /var/run/weewx.pid
Dec  9 20:27:37 raspberrypi weewx[345]: Starting weewx weather system: weewx.
Dec  9 20:27:37 raspberrypi weewx[533]: engine: Using configuration file /etc/weewx/weewx.conf
Dec  9 20:27:37 raspberrypi weewx[533]: engine: Loading station type Vantage (weewx.drivers.vantage)
Dec  9 20:27:37 raspberrypi weewx[533]: engine: StdConvert target unit is 0x1
Dec  9 20:27:37 raspberrypi weewx[533]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware
Dec  9 20:27:37 raspberrypi weewx[533]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Dec  9 20:27:37 raspberrypi weewx[533]: engine: Archive will use data binding wx_binding
Dec  9 20:27:37 raspberrypi weewx[533]: engine: Record generation will be attempted in 'hardware'
Dec  9 20:27:37 raspberrypi weewx[533]: engine: The archive interval in the configuration file (300) does not match the station hardware interval (900).
Dec  9 20:27:37 raspberrypi weewx[533]: engine: Using archive interval of 900 seconds (specified by hardware)
Dec  9 20:27:38 raspberrypi weewx[533]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Dec  9 20:27:38 raspberrypi weewx[533]: manager: Starting backfill of daily summaries
Dec  9 20:27:38 raspberrypi weewx[533]: restx: StationRegistry: Registration not requested.
Dec  9 20:27:38 raspberrypi weewx[533]: restx: Wunderground: Posting not enabled.
Dec  9 20:27:38 raspberrypi weewx[533]: restx: PWSweather: Posting not enabled.
Dec  9 20:27:38 raspberrypi weewx[533]: restx: CWOP: Posting not enabled.
Dec  9 20:27:38 raspberrypi weewx[533]: restx: WOW: Posting not enabled.
Dec  9 20:27:38 raspberrypi weewx[533]: restx: AWEKAS: Posting not enabled.
Dec  9 20:27:38 raspberrypi weewx[533]: engine: Starting up weewx version 3.9.2
Dec  9 20:27:38 raspberrypi weewx[533]: engine: Clock error is 27.51 seconds (positive is fast)
Dec  9 20:27:38 raspberrypi weewx[533]: vantage: Clock set to 2019-12-09 20:27:39 CET (1575919659)
Dec  9 20:27:40 raspberrypi weewx[533]: engine: Starting main packet loop.
Dec  9 20:27:44 raspberrypi weewx[533]: vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead

jmviper:
Pon las siguientes líneas a esas.

gonchoCT:
Dec  9 20:27:37 raspberrypi weewx[434]: engine: Initializing weewx version 3.9.2
Dec  9 20:27:37 raspberrypi weewx[434]: engine: Using Python 2.7.16 (default, Oct 10 2019, 22:02:15) #012[GCC 8.3.0]
Dec  9 20:27:37 raspberrypi weewx[434]: engine: Platform Linux-4.19.75-v7+-armv7l-with-debian-10.2
Dec  9 20:27:37 raspberrypi weewx[434]: engine: Locale is 'es_ES.UTF-8'
Dec  9 20:27:37 raspberrypi weewx[434]: engine: pid file is /var/run/weewx.pid
Dec  9 20:27:37 raspberrypi weewx[345]: Starting weewx weather system: weewx.
Dec  9 20:27:37 raspberrypi weewx[533]: engine: Using configuration file /etc/weewx/weewx.conf
Dec  9 20:27:37 raspberrypi weewx[533]: engine: Loading station type Vantage (weewx.drivers.vantage)
Dec  9 20:27:37 raspberrypi weewx[533]: engine: StdConvert target unit is 0x1
Dec  9 20:27:37 raspberrypi weewx[533]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware
Dec  9 20:27:37 raspberrypi weewx[533]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Dec  9 20:27:37 raspberrypi weewx[533]: engine: Archive will use data binding wx_binding
Dec  9 20:27:37 raspberrypi weewx[533]: engine: Record generation will be attempted in 'hardware'
Dec  9 20:27:37 raspberrypi weewx[533]: engine: The archive interval in the configuration file (300) does not match the station hardware interval (900).
Dec  9 20:27:37 raspberrypi weewx[533]: engine: Using archive interval of 900 seconds (specified by hardware)
Dec  9 20:27:38 raspberrypi weewx[533]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Dec  9 20:27:38 raspberrypi weewx[533]: manager: Starting backfill of daily summaries
Dec  9 20:27:38 raspberrypi weewx[533]: restx: StationRegistry: Registration not requested.
Dec  9 20:27:38 raspberrypi weewx[533]: restx: Wunderground: Posting not enabled.
Dec  9 20:27:38 raspberrypi weewx[533]: restx: PWSweather: Posting not enabled.
Dec  9 20:27:38 raspberrypi weewx[533]: restx: CWOP: Posting not enabled.
Dec  9 20:27:38 raspberrypi weewx[533]: restx: WOW: Posting not enabled.
Dec  9 20:27:38 raspberrypi weewx[533]: restx: AWEKAS: Posting not enabled.
Dec  9 20:27:38 raspberrypi weewx[533]: engine: Starting up weewx version 3.9.2
Dec  9 20:27:38 raspberrypi weewx[533]: engine: Clock error is 27.51 seconds (positive is fast)
Dec  9 20:27:38 raspberrypi weewx[533]: vantage: Clock set to 2019-12-09 20:27:39 CET (1575919659)
Dec  9 20:27:40 raspberrypi weewx[533]: engine: Starting main packet loop.
Dec  9 20:27:44 raspberrypi weewx[533]: vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead
Dec  9 20:30:32 raspberrypi weewx[533]: cheetahgenerator: Generated 8 files for report SeasonsReport in 14.59 seconds
Dec  9 20:30:45 raspberrypi weewx[533]: imagegenerator: Generated 28 images for SeasonsReport in 11.45 seconds
Dec  9 20:30:47 raspberrypi weewx[533]: copygenerator: copied 5 files to /var/www/html/weewx
Dec  9 20:45:20 raspberrypi weewx[533]: cheetahgenerator: Generated 8 files for report SeasonsReport in 3.30 seconds
Dec  9 20:45:26 raspberrypi weewx[533]: imagegenerator: Generated 28 images for SeasonsReport in 6.21 seconds
Dec  9 20:45:26 raspberrypi weewx[533]: copygenerator: copied 0 files to /var/www/html/weewx
Dec  9 21:00:20 raspberrypi weewx[533]: cheetahgenerator: Generated 8 files for report SeasonsReport in 2.87 seconds
Dec  9 21:00:26 raspberrypi weewx[533]: imagegenerator: Generated 28 images for SeasonsReport in 6.05 seconds
Dec  9 21:00:26 raspberrypi weewx[533]: copygenerator: copied 0 files to /var/www/html/weewx
Dec  9 21:15:25 raspberrypi weewx[533]: cheetahgenerator: Generated 8 files for report SeasonsReport in 2.85 seconds
Dec  9 21:15:32 raspberrypi weewx[533]: imagegenerator: Generated 28 images for SeasonsReport in 6.97 seconds
Dec  9 21:15:32 raspberrypi weewx[533]: copygenerator: copied 0 files to /var/www/html/weewx
Dec  9 21:30:20 raspberrypi weewx[533]: cheetahgenerator: Generated 8 files for report SeasonsReport in 3.28 seconds
Dec  9 21:30:31 raspberrypi weewx[533]: imagegenerator: Generated 28 images for SeasonsReport in 10.80 seconds
Dec  9 21:30:31 raspberrypi weewx[533]: copygenerator: copied 0 files to /var/www/html/weewx
Dec  9 21:45:20 raspberrypi weewx[533]: cheetahgenerator: Generated 8 files for report SeasonsReport in 3.05 seconds
Dec  9 21:45:27 raspberrypi weewx[533]: imagegenerator: Generated 28 images for SeasonsReport in 6.98 seconds
Dec  9 21:45:27 raspberrypi weewx[533]: copygenerator: copied 0 files to /var/www/html/weewx


ESto es todo lo que tengo

jmviper:
Veamos...

Un problema menor es que weewx tiene el intervalo de datos en 300 segundos (cada 5 minutos) y la Davis tiene guardados datos en su datalogger cada 900 segundos (15 minutos). Después vemos un ajuste del reloj de 27 segundos y un LOOP con error.

Lo que no se ve es que esté grabando algo en la base de datos... y sí que genera imágenes etc etc pero sin actualizar nada ya que no coge nada nuevo de la base de datos.

Probamos a mover la base de datos a otro sitio y a empezar con una nueva a ver si lee datalogger.

Si quieres, como lo tienes, que la Davis tenga los datos cada cuarto de hora en su datalogger cambiamos de archive_interval = 300 a archive_interval = 900 en weewx.conf

A continuación paras weewx con sudo service weewx stop y mueves la base de datos a otro sitio con sudo mv /var/lib/weewx/weewx.sdb /home/pi

Una vez hecho esto inicia weewx con sudo service weewx start y a esperar al primer cuarto de hora a ver si actualiza los datos.

El problema viene con toda probabilidad en que no usas la raspi con weewx y la Davis continuamente y si apagas la raspi viene con una hora errónea y weewx se hace un lío al intentar descargar los datos del datalogger.

Lo mejor es tener todo en marcha siempre y no estar apagando y encendiendo raspberry.

Navegación

[0] Índice de Mensajes

[#] Página Siguiente

[*] Página Anterior

Ir a la versión completa