Mostrar Mensajes

Esta sección te permite ver todos los posts escritos por este usuario. Ten en cuenta que sólo puedes ver los posts escritos en zonas a las que tienes acceso en este momento.


Mensajes - Rubendgl

Páginas: 1 2 [3] 4 5
31
WeeWX / Problemas con los reinicios de weewx
« en: 07 de Mayo del 2020, 18:54:19 pm »
Buenas tardes, me explico.

Cada vez que reinicio/apago la Pi donde tengo instalado weewx para efectuar una actualización o simplemente reiniciar cuando lleva muchas semanas funcionando, ocurre que el arranque de weewx son todo problemas.

Ejemplo de hoy mismo, que he tenido que apagar la Pi por un corte de siministro electrico. Viendo que llevabamos ya 30 min. y el SAI no iba aguantar mucho mas, he apagado.
Pues bien, al iniciar ocurre que weewx no actualiza la web ni datos y salen varios errores.

Código: [Seleccionar]
pi@raspberrypi:/var/log $ tail -f weewx.log
May  7 16:15:38 raspberrypi weewx[320]: vantage: LOOP try #2; error: Expected to read 99 chars; got 17 instead
May  7 16:15:40 raspberrypi weewx[320]: engine: Launch of report thread aborted: existing report thread still running
May  7 16:15:47 raspberrypi weewx[320]: cheetahgenerator: Generated 20 files for report StandardReport in 8.00 seconds
May  7 16:15:50 raspberrypi weewx[320]: imagegenerator: Generated 13 images for StandardReport in 1.92 seconds
May  7 16:15:50 raspberrypi weewx[320]: copygenerator: copied 9 files to /var/www/html
May  7 16:20:16 raspberrypi weewx[320]: manager: Unable to add record 2020-05-07 16:10:00 UTC (1588867800) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
May  7 16:20:17 raspberrypi weewx[320]: restx: Wunderground-PWS: Published record 2020-05-07 16:10:00 UTC (1588867800)
May  7 16:20:19 raspberrypi weewx[320]: cheetahgenerator: Generated 20 files for report StandardReport in 3.24 seconds
May  7 16:20:21 raspberrypi weewx[320]: imagegenerator: Generated 13 images for StandardReport in 1.80 seconds
May  7 16:20:21 raspberrypi weewx[320]: copygenerator: copied 0 files to /var/www/html
May  7 16:25:19 raspberrypi weewx[320]: cheetahgenerator: Generated 20 files for report StandardReport in 2.92 seconds
May  7 16:25:21 raspberrypi weewx[320]: imagegenerator: Generated 13 images for StandardReport in 1.76 seconds
May  7 16:25:21 raspberrypi weewx[320]: copygenerator: copied 0 files to /var/www/html
^C
pi@raspberrypi:/var/log $ tail -f weewx.log
May  7 16:15:50 raspberrypi weewx[320]: imagegenerator: Generated 13 images for StandardReport in 1.92 seconds
May  7 16:15:50 raspberrypi weewx[320]: copygenerator: copied 9 files to /var/www/html
May  7 16:20:16 raspberrypi weewx[320]: manager: Unable to add record 2020-05-07 16:10:00 UTC (1588867800) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
May  7 16:20:17 raspberrypi weewx[320]: restx: Wunderground-PWS: Published record 2020-05-07 16:10:00 UTC (1588867800)
May  7 16:20:19 raspberrypi weewx[320]: cheetahgenerator: Generated 20 files for report StandardReport in 3.24 seconds
May  7 16:20:21 raspberrypi weewx[320]: imagegenerator: Generated 13 images for StandardReport in 1.80 seconds
May  7 16:20:21 raspberrypi weewx[320]: copygenerator: copied 0 files to /var/www/html
May  7 16:25:19 raspberrypi weewx[320]: cheetahgenerator: Generated 20 files for report StandardReport in 2.92 seconds
May  7 16:25:21 raspberrypi weewx[320]: imagegenerator: Generated 13 images for StandardReport in 1.76 seconds
May  7 16:25:21 raspberrypi weewx[320]: copygenerator: copied 0 files to /var/www/html
^C
pi@raspberrypi:/var/log $ sudo /etc/init.d/weewx reload
[ ok ] Reloading weewx configuration (via systemctl): weewx.service.
pi@raspberrypi:/var/log $ tail -f weewx.log
May  7 16:28:29 raspberrypi weewx[320]: engine: Starting up weewx version 3.9.2
May  7 16:28:29 raspberrypi weewx[320]: engine: Clock error is -455.44 seconds (positive is fast)
May  7 16:28:31 raspberrypi weewx[320]: engine: Starting main packet loop.
May  7 16:28:36 raspberrypi weewx[320]: vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead
May  7 16:28:44 raspberrypi weewx[320]: vantage: LOOP try #2; error: Expected to read 99 chars; got 0 instead

y ahí se paró sin dar mas lecturas.

Al final siempre acaba funcionando, no se muy bien el motivo ya que lo único que hago es, tras innumerables frases censurables, probar a enchufar y desenchufar el usb de la consola, probar con weewx stop/start/reload, etc, etc.

Pero imagino que apagar y encender la Pi debería ser algo normal para weewx, no un proceso traumático donde ya no sepa que hacer.

Algún truco para que inicie a la primera? ???.
Se agradecería.
Un saludo.

32
WeeWX / Re:No se me abre el cuadro de instalación de weewx
« en: 09 de Diciembre del 2019, 18:43:57 pm »
Buenas,
pues la base de datos no se te está actualizando desde el 30 noviembre.

Con respecto al estado de weewx, a mi me pasaba exactamente lo mismo y mi problema es que no se generó el archivo skin.conf en la carpeta /etc/weewx/skins/Standard ( yo utilizo el skin Standard).

Lo copié de otra instalación y fue reiniciar y problema resuelto.

En cualquier caso jmviper es el experto y te ayudará a resolverlo.

33
WeeWX / Re:weewx ha dejado de actualizar datos
« en: 04 de Diciembre del 2019, 23:35:40 pm »
Por si alguien mas le sucede esto, decir que Tema resuelto en este hilo:

https://forum.meteoclimatic.net/index.php/topic,2501.0.html

34
WeeWX / Re:No se me abre el cuadro de instalación de weewx
« en: 04 de Diciembre del 2019, 23:33:32 pm »
Perfecto, funcionando con la base de datos original.
La perdida de datos ya solo es de 22 días de noviembre y tengo esos registros en meteoclimatic con lo cual a ver si me animo a hacer pruebas con sqlite3 e ir añadiendolos.
Ojalá hubiera elegido en la instalación inicial, unidades en Metric,  :-\

Tema solucionado. !!!

Mil gracias por tu paciencia y ayuda.
 plau2

35
WeeWX / Re:No se me abre el cuadro de instalación de weewx
« en: 04 de Diciembre del 2019, 12:12:53 pm »
Bueno, bueno, bueno......

si te digo donde estaba el fallo......  :; :;

Resulta que revisando archivo por archivo, porque ya no sabia que mas hacer, me doy cuenta que en la carpeta /etc/weewx/skins/Standard falta el archivo skin.conf
No me digas como ya que fue una instalación limpia de weewx pero por algún motivo extrañísimo faltaba.
Lo copie de  la otra pi, lo puse en esa carpeta y al reiniciar weewx empezó a generar todo correctamente.

En cualquier caso, ojalá toquetear la base de datos de weewx fuera mas fácil porque la copia que tengo no funciona. Osea que algo mal grabado hay en ella.
Ahora estoy con la nueva y de momento he perdido los datos desde Agosto hasta el 23 de Noviembre.

36
WeeWX / Re:No se me abre el cuadro de instalación de weewx
« en: 04 de Diciembre del 2019, 00:10:42 am »
[StdReport]

    # Where the skins reside, relative to WEEWX_ROOT
    SKIN_ROOT = /etc/weewx/skins

    # Where the generated reports should go, relative to WEEWX_ROOT
    HTML_ROOT = /var/www/html
 
# The database binding indicates which data should be used in reports.
    data_binding = wx_binding

    # Whether to log a successful operation
    log_success = True

    # Whether to log an unsuccessful operation
    log_failure = False

    # Each of the following subsections defines a report that will be run.
    # See the customizing guide to change the units, plot types and line
    # colors, modify the fonts, display additional sensor data, and other
    # customizations. Many of those changes can be made here by overriding
    # parameters, or by modifying templates within the skin itself.

    [[SeasonsReport]]
        # The SeasonsReport uses the 'Seasons' skin, which contains the
        # images, templates and plots for the report.
        skin = Seasons
        enable = false

    [[SmartphoneReport]]
        # The SmartphoneReport uses the 'Smartphone' skin, and the images and
        # files are placed in a dedicated subdirectory.
        skin = Smartphone
        enable = false
        HTML_ROOT = /var/www/html/smartphone

    [[MobileReport]]
        # The MobileReport uses the 'Mobile' skin, and the images and files
        # are placed in a dedicated subdirectory.
        skin = Mobile
        enable = false
        HTML_ROOT = /var/www/html/mobile

    [[StandardReport]]
        # This is the old "Standard" skin. By default, it is not enabled.
        skin = Standard
        enable = true


pi@raspberrypi:/etc/weewx $ pip list
Package       Version
------------- -------
asn1crypto    0.24.0
Cheetah3      3.1.0 
configobj     5.0.6 
configparser  3.5.0b2
cryptography  2.6.1 
entrypoints   0.3   
enum34        1.1.6 
ipaddress     1.0.17
keyring       17.1.1
keyrings.alt  3.1.1 
olefile       0.46   
Pillow        5.4.1 
pip           18.1   
pycrypto      2.6.1 
PyGObject     3.30.4
pyserial      3.4   
pyusb         1.0.2 
pyxdg         0.25   
RPi.GPIO      0.7.0 
SecretStorage 2.3.1 
setuptools    40.8.0
six           1.12.0
wheel         0.32.3

37
WeeWX / Re:No se me abre el cuadro de instalación de weewx
« en: 03 de Diciembre del 2019, 22:32:55 pm »
En mi caso, despues de borrar la memoria del dataloger, como se explica lo siguiente: ??

1.- Graba los registros a la base de datos

dic 03 21:20:15 raspberrypi weewx[322]: manager: Added record 2019-12-03 21:20:00 UTC (1575408000) to database 'weewx.sdb'
dic 03 21:20:15 raspberrypi weewx[322]: manager: Added record 2019-12-03 21:20:00 UTC (1575408000) to daily summary in 'weewx.sdb'
dic 03 21:25:15 raspberrypi weewx[322]: manager: Added record 2019-12-03 21:25:00 UTC (1575408300) to database 'weewx.sdb'
dic 03 21:25:15 raspberrypi weewx[322]: manager: Added record 2019-12-03 21:25:00 UTC (1575408300) to daily summary in 'weewx.sdb'

2.- No actualiza nada de la carpeta /var/www/html/weewx

-rw-r--r-- 1 root root 14039 dic  2 21:33 index.html

3-. La base de datos se graba correctamente

-rw-r--r-- 1 root root 897024 dic  3 21:25 weewx.sdb

PD:
    Me acabo de dar cuenta ahora mismo que los datos que envia a Awekas y Wunderground, se actualizan correctamente y la estación está online.
Solo falla la generación de la web.

38
WeeWX / Re:No se me abre el cuadro de instalación de weewx
« en: 03 de Diciembre del 2019, 11:38:30 am »
Perdón por la intromisión en este hilo pero justamente eso me está pasando a mi ahora.
Ahora, desde que borré el dataloger graba los registros nuevos y se actualiza la base de datos.
Genera archivos pero no los copia a /var/www/html/weewx.
Yo desactivé en skin seasons y activé el standard, que es donde tengo todo.
La web lo muestra correctamente pero sigue a fecha de 1/12/2019  21:15
  :;

39
WeeWX / Re:weewx ha dejado de actualizar datos
« en: 02 de Diciembre del 2019, 23:21:54 pm »
Pues nada, me acabo de cargar los registros de memoria del dataloger.
Ahora esta

dic 02 22:09:19 raspberrypi weewx[2140]: engine: Starting up weewx version 3.9.2
dic 02 22:09:19 raspberrypi weewx[2140]: engine: Clock error is -0.17 seconds (positive is fast)
dic 02 22:09:19 raspberrypi weewx[2140]: manager: Added record 2019-12-02 22:05:00 UTC (1575324300) to database 'weewx.sdb'
dic 02 22:09:19 raspberrypi weewx[2140]: manager: Added record 2019-12-02 22:05:00 UTC (1575324300) to daily summary in 'weewx.sdb'
dic 02 22:09:19 raspberrypi weewx[2140]: engine: Starting main packet loop.
dic 02 22:10:16 raspberrypi weewx[2140]: manager: Added record 2019-12-02 22:10:00 UTC (1575324600) to database 'weewx.sdb'
dic 02 22:10:16 raspberrypi weewx[2140]: manager: Added record 2019-12-02 22:10:00 UTC (1575324600) to daily summary in 'weewx.sdb'
dic 02 22:15:16 raspberrypi weewx[2140]: manager: Added record 2019-12-02 22:15:00 UTC (1575324900) to database 'weewx.sdb'
dic 02 22:15:16 raspberrypi weewx[2140]: manager: Added record 2019-12-02 22:15:00 UTC (1575324900) to daily summary in 'weewx.sdb'

Lo dejaré así y mañana a ver que me encuentro.
De lo que sea, dejaré comentario.
Mil gracias por toda la ayuda.

lsof no devuelve ningún resultado. La verdad que no entiendo nada de lo que está pasando. Son bastante sensibles y delicados estos aparatos por lo visto.

40
WeeWX / Re:weewx ha dejado de actualizar datos
« en: 02 de Diciembre del 2019, 23:11:03 pm »
Lo de lsof ????
de las dos formas y en ninguna sale nada

El volcar datos ya no me acuerdo, la verdad.
Llevo probado tantas cosas hoy que........ :;

41
WeeWX / Re:weewx ha dejado de actualizar datos
« en: 02 de Diciembre del 2019, 22:58:23 pm »
Pues entonces tiene que ver con el datalogger.

Prueba a vaciarlo y ver si puedes aprovechar los datos en él antes de borrarlo. En la documentación de weewx está el proceso:

http://www.weewx.com/docs/hardware.htm#vantage_dumping_the_logger_memory

Esa opción tambien la intenté de tarde y tambien da error:

pi@raspberrypi:/var/log $ sudo wee_device --dump
Using configuration file /etc/weewx/weewx.conf
Using Vantage driver version 3.1.1 (weewx.drivers.vantage)
Traceback (most recent call last):
  File "/usr/bin/wee_device", line 66, in <module>
    main()
  File "/usr/bin/wee_device", line 62, in main
    device.configure(config_dict)
  File "/usr/share/weewx/weewx/drivers/__init__.py", line 69, in configure
    self.do_options(options, parser, config_dict, prompt)
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1973, in do_options
    station = Vantage(**config_dict[DRIVER_NAME])
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 488, in __init__
    self._setup()
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1285, in _setup
    self.hardware_type = self._determine_hardware()
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1276, in _determine_hardware
    raise weewx.WeeWxIOError("Unable to read hardware type")
weewx.WeeWxIOError: Unable to read hardware type

42
WeeWX / Re:weewx ha dejado de actualizar datos
« en: 02 de Diciembre del 2019, 22:56:30 pm »
Por cierto, he visto en el log de weewx que la linea que lleva la palabra manager, siempre hacer referencia a añadir registros.
Pues ahora desde que tengo este problema sale así:

Dec  2 21:52:52 raspberrypi weewx[1902]: manager: Starting backfill of daily summaries

No se si puede indicar por donde va el problema ??.

43
WeeWX / Re:weewx ha dejado de actualizar datos
« en: 02 de Diciembre del 2019, 22:47:24 pm »
Nada, no sale registro ninguno.
La última entrada en la base de datos en con dateTime: 1575234900

De hecho, he probado a borrar los datos en la base de datos desde el día 25 de noviembre en adelante. Y que los complete de nuevo con lo que tiene el datalogger y nada.
Haciendo eso, sale lo siguiente:

pi@raspberrypi:/var/tmp $ service weewx status
● weewx.service - LSB: weewx weather system
   Loaded: loaded (/etc/init.d/weewx; generated)
   Active: active (exited) since Mon 2019-12-02 18:59:58 UTC; 12min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 954 ExecStart=/etc/init.d/weewx start (code=exited, status=0/SUCCESS)

dic 02 18:59:58 raspberrypi weewx[968]:     ****    File "/usr/share/weewx/weewx/engine.py", line 142, in loadServices
dic 02 18:59:58 raspberrypi weewx[968]:     ****      self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict))
dic 02 18:59:58 raspberrypi weewx[968]:     ****    File "/usr/share/weewx/weewx/engine.py", line 500, in __init__
dic 02 18:59:58 raspberrypi weewx[968]:     ****      self.setup_database(config_dict)
dic 02 18:59:58 raspberrypi weewx[968]:     ****    File "/usr/share/weewx/weewx/engine.py", line 617, in setup_database
dic 02 18:59:58 raspberrypi weewx[968]:     ****      _nrecs, _ndays = dbmanager.backfill_day_summary() # @UnusedVariable
dic 02 18:59:58 raspberrypi weewx[968]:     ****    File "/usr/share/weewx/weewx/manager.py", line 1447, in backfill_day_summary
dic 02 18:59:58 raspberrypi weewx[968]:     ****      timestamp_to_string(lastRecord)))
dic 02 18:59:58 raspberrypi weewx[968]:     ****  ViolatedPrecondition: lastUpdate(2019-12-01 21:15:00 UTC (1575234900)) > lastRecord(2019-1
dic 02 18:59:58 raspberrypi weewx[968]:     ****  Exiting.


He probado a eliminar directamente la base de datos y

dic 02 19:18:34 raspberrypi weewx[1072]: manager: Added record 2019-11-27 23:45:00 UTC (1574898300) to database 'weewx.sdb'
dic 02 19:18:34 raspberrypi weewx[1072]: manager: Added record 2019-11-27 23:45:00 UTC (1574898300) to daily summary in 'weewx.sdb'
dic 02 19:18:35 raspberrypi weewx[1072]: manager: Added record 2019-11-27 23:50:00 UTC (1574898600) to database 'weewx.sdb'
dic 02 19:18:35 raspberrypi weewx[1072]: manager: Added record 2019-11-27 23:50:00 UTC (1574898600) to daily summary in 'weewx.sdb'
dic 02 19:18:35 raspberrypi weewx[1072]: manager: Added record 2019-11-27 23:55:00 UTC (1574898900) to database 'weewx.sdb'
dic 02 19:18:35 raspberrypi weewx[1072]: manager: Added record 2019-11-27 23:55:00 UTC (1574898900) to daily summary in 'weewx.sdb'
dic 02 19:18:35 raspberrypi weewx[1072]: manager: Added record 2019-11-28 00:00:00 UTC (1574899200) to database 'weewx.sdb'
dic 02 19:18:35 raspberrypi weewx[1072]: manager: Added record 2019-11-28 00:00:00 UTC (1574899200) to daily summary in 'weewx.sdb'
dic 02 19:18:35 raspberrypi weewx[1072]: manager: Added record 2019-11-28 00:05:00 UTC (1574899500) to database 'weewx.sdb'
dic 02 19:18:35 raspberrypi weewx[1072]: manager: Added record 2019-11-28 00:05:00 UTC (1574899500) to daily summary in 'weewx.sdb'

empieza a añadir registros hasta que llega al de siempre, 01/12/2019  21:15 y ahí se acaba todo y sigue sin actualizar nada mas.

He instalado de nuevo el weewx en otra pi y el proceso siempre acaba igual, en ese registro.
Lo último que me queda por probar sería eliminar registros del datalogger ( ya he probado tambien a dejarlo desenchufado y sin pilas un rato )


44
WeeWX / Re:weewx ha dejado de actualizar datos
« en: 02 de Diciembre del 2019, 16:11:24 pm »
Buenas, esto sale.

raspberrypi:~ $ sudo /etc/init.d/weewx stop
[[ ok  Stopping weewx (via systemctl): weewx.service.
pi@raspberrypi:~ $ sudo weewxd /etc/weewx/weewx.conf
LOOP:   2019-12-02 15:03:02 UTC (1575298982) appTemp: 56.2522373949, barometer: 30.089,
cloudbase: 3663.78512166, consBatteryVoltage: 4.72, dateTime: 1575298982, dayET: 0.0, da
yRain: 0.0, dewpoint: 43.6973454647, extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0, ext
raAlarm4: 0, extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0, extraAlarm8: 0, forecastIco
n: 6, forecastRule: 51, heatindex: 59.4, humidex: 59.4, inDewpoint: 52.688036086, inHumi
dity: 81.0, insideAlarm: 0, inTemp: 58.5, leafWet4: 0.0, maxSolarRad: None, monthET: 0.0
, monthRain: 0.2677165355, outHumidity: 56.0, outsideAlarm1: 0, outsideAlarm2: 0, outTem
p: 59.4, rain: None, rainAlarm: 0, rainRate: 0.0, soilLeafAlarm1: 0, soilLeafAlarm2: 0,
soilLeafAlarm3: 0, soilLeafAlarm4: 0, stormRain: 0.0, sunrise: 1575276300, sunset: 15753
09840, trendIcon: -20, txBatteryStatus: 0, usUnits: 1, windchill: 59.4, windDir: 262.0,
windGust: 3.0, windGustDir: 262.0, windSpeed: 3.0, windSpeed10: 1.0, yearET: 0.0, yearRa
in: 16.661417327
LOOP:   2019-12-02 15:03:02 UTC (1575298982) appTemp: 56.2522373949, barometer: 30.089,
cloudbase: 3663.78512166, consBatteryVoltage: 4.72, dateTime: 1575298982, dayET: 0.0, da
yRain: 0.0, dewpoint: 43.6973454647, extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0, ext
raAlarm4: 0, extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0, extraAlarm8: 0, forecastIco
n: 6, forecastRule: 51, heatindex: 59.4, humidex: 59.4, inDewpoint: 52.688036086, inHumi
dity: 81.0, insideAlarm: 0, inTemp: 58.5, leafWet4: 0.0, maxSolarRad: None, monthET: 0.0
, monthRain: 0.2677165355, outHumidity: 56.0, outsideAlarm1: 0, outsideAlarm2: 0, outTem
p: 59.4, rain: 0.0, rainAlarm: 0, rainRate: 0.0, soilLeafAlarm1: 0, soilLeafAlarm2: 0, s
oilLeafAlarm3: 0, soilLeafAlarm4: 0, stormRain: 0.0, sunrise: 1575276300, sunset: 157530
9840, trendIcon: -20, txBatteryStatus: 0, usUnits: 1, windchill: 59.4, windDir: 262.0, w
indGust: 3.0, windGustDir: 262.0, windSpeed: 3.0, windSpeed10: 1.0, yearET: 0.0, yearRai
n: 16.661417327

LOOP:   2019-12-02 15:03:03 UTC (1575298983) appTemp: 56.1317982421, barometer: 30.089,
cloudbase: 3662.2445193, consBatteryVoltage: 4.72, dateTime: 1575298983, dayET: 0.0, day
Rain: 0.0, dewpoint: 43.6041241151, extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0, extr
aAlarm4: 0, extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0, extraAlarm8: 0, forecastIcon
: 6, forecastRule: 51, heatindex: 59.3, humidex: 59.3, inDewpoint: 52.688036086, inHumid
ity: 81.0, insideAlarm: 0, inTemp: 58.5, leafWet4: 0.0, maxSolarRad: None, monthET: 0.0,
 monthRain: 0.2677165355, outHumidity: 56.0, outsideAlarm1: 0, outsideAlarm2: 0, outTemp
: 59.3, rain: 0.0, rainAlarm: 0, rainRate: 0.0, soilLeafAlarm1: 0, soilLeafAlarm2: 0, so
ilLeafAlarm3: 0, soilLeafAlarm4: 0, stormRain: 0.0, sunrise: 1575276300, sunset: 1575309
840, trendIcon: -20, txBatteryStatus: 0, usUnits: 1, windchill: 59.3, windDir: 259.0, wi
ndGust: 3.0, windGustDir: 262.0, windSpeed: 3.0, windSpeed10: 1.0, yearET: 0.0, yearRain
: 16.661417327                                                                         
LOOP:   2019-12-02 15:03:06 UTC (1575298986) appTemp: 56.1317982421, barometer: 30.089,
cloudbase: 3662.2445193, consBatteryVoltage: 4.72, dateTime: 1575298986, dayET: 0.0, day
Rain: 0.0, dewpoint: 43.6041241151, extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0, extr
aAlarm4: 0, extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0, extraAlarm8: 0, forecastIcon
: 6, forecastRule: 51, heatindex: 59.3, humidex: 59.3, inDewpoint: 52.688036086, inHumid
ity: 81.0, insideAlarm: 0, inTemp: 58.5, leafWet4: 0.0, maxSolarRad: None, monthET: 0.0,
 monthRain: 0.2677165355, outHumidity: 56.0, outsideAlarm1: 0, outsideAlarm2: 0, outTemp
: 59.3, rain: 0.0, rainAlarm: 0, rainRate: 0.0, soilLeafAlarm1: 0, soilLeafAlarm2: 0, so
ilLeafAlarm3: 0, soilLeafAlarm4: 0, stormRain: 0.0, sunrise: 1575276300, sunset: 1575309
840, trendIcon: -20, txBatteryStatus: 0, usUnits: 1, windchill: 59.3, windDir: 235.0, wi
ndGust: 3.0, windGustDir: 262.0, windSpeed: 3.0, windSpeed10: 1.0, yearET: 0.0, yearRain
: 16.661417327

Aparentemente, lo esta leyendo bien no ???

45
WeeWX / weewx ha dejado de actualizar datos
« en: 02 de Diciembre del 2019, 00:43:27 am »
Buenas, una vez mas aquí vengo con mas problemas.
Esto es un sinvivir.
Te alejas dos dias de la pi y sin saber como........ en fin.
Pues el problema es que ha dejado de actualizar los archivos que sube a la web.
Lo cierto es que el sabado de tarde por un error mio la apagué desde el movil y así ha estado hasta la noche del domingo cuando he llegado de nuevo a casa.
La enciendo y veo que actualiza la web con los datos a las 21:15, meteoclimatic y todo correcto pero hasta ahí.
Desde ese momento ya no ha vuelvo a actualizarse nada.

He visto el log que genera al iniciar weewx y es este:

Dec  1 23:19:52 raspberrypi weewx[311]: engine: Initializing weewx version 3.9.2
Dec  1 23:19:52 raspberrypi weewx[311]: engine: Using Python 2.7.16 (default, Oct 10 2019, 22:02:15) #012[GCC 8.3.0]
Dec  1 23:19:52 raspberrypi weewx[311]: engine: Platform Linux-4.19.66-v7+-armv7l-with-debian-10.1
Dec  1 23:19:52 raspberrypi weewx[311]: engine: Locale is 'es_ES.UTF-8'
Dec  1 23:19:52 raspberrypi weewx[311]: engine: pid file is /var/run/weewx.pid
Dec  1 23:19:52 raspberrypi weewx[276]: Starting weewx weather system: weewx.
Dec  1 23:19:52 raspberrypi weewx[326]: engine: Using configuration file /etc/weewx/weewx.conf
Dec  1 23:19:52 raspberrypi weewx[326]: engine: Loading station type Vantage (weewx.drivers.vantage)
Dec  1 23:19:52 raspberrypi weewx[326]: engine: StdConvert target unit is 0x1
Dec  1 23:19:52 raspberrypi weewx[326]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_h$
Dec  1 23:19:52 raspberrypi weewx[326]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=$
Dec  1 23:19:52 raspberrypi weewx[326]: engine: Archive will use data binding wx_binding
Dec  1 23:19:52 raspberrypi weewx[326]: engine: Record generation will be attempted in 'hardware'
Dec  1 23:19:52 raspberrypi weewx[326]: engine: Using archive interval of 300 seconds (specified by hardware)
Dec  1 23:19:52 raspberrypi weewx[326]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Dec  1 23:19:52 raspberrypi weewx[326]: manager: Starting backfill of daily summaries
Dec  1 23:19:52 raspberrypi weewx[326]: restx: StationRegistry: Registration not requested.
Dec  1 23:19:52 raspberrypi weewx[326]: restx: Wunderground-PWS: Data for station INIGRN7 will be posted
Dec  1 23:19:52 raspberrypi weewx[326]: restx: PWSweather: Posting not enabled.
Dec  1 23:19:52 raspberrypi weewx[326]: restx: CWOP: Posting not enabled.
Dec  1 23:19:52 raspberrypi weewx[326]: restx: WOW: Posting not enabled.
Dec  1 23:19:52 raspberrypi weewx[326]: restx: AWEKAS: Data will be uploaded for user pnsc16
Dec  1 23:19:52 raspberrypi weewx[326]: engine: Starting up weewx version 3.9.2
Dec  1 23:19:52 raspberrypi weewx[326]: engine: Clock error is 58.12 seconds (positive is fast)
Dec  1 23:19:52 raspberrypi weewx[326]: vantage: Clock set to 2019-12-01 23:19:53 UTC (1575242393)
Dec  1 23:19:54 raspberrypi weewx[326]: engine: Starting main packet loop.
Dec  1 23:19:58 raspberrypi weewx[326]: vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead
Dec  1 23:20:04 raspberrypi weewx[326]: vantage: LOOP try #2; error: Expected to read 99 chars; got 0 instead
Dec  1 23:21:17 raspberrypi weewx[326]: vantage: LOOP try #1; error: Expected to read 99 chars; got 71 instead
Dec  1 23:21:26 raspberrypi weewx[326]: cheetahgenerator: Generated 20 files for report StandardReport in 70.44 seconds
Dec  1 23:21:29 raspberrypi weewx[326]: imagegenerator: Generated 13 images for StandardReport in 3.18 seconds
Dec  1 23:21:29 raspberrypi weewx[326]: copygenerator: copied 9 files to /var/www/html/weewx
Dec  1 23:25:20 raspberrypi weewx[326]: cheetahgenerator: Generated 20 files for report StandardReport in 3.78 seconds
Dec  1 23:25:22 raspberrypi weewx[326]: imagegenerator: Generated 13 images for StandardReport in 2.75 seconds
Dec  1 23:25:22 raspberrypi weewx[326]: copygenerator: copied 0 files to /var/www/html/weewx
Dec  1 23:30:20 raspberrypi weewx[326]: cheetahgenerator: Generated 20 files for report StandardReport in 3.74 seconds
Dec  1 23:30:22 raspberrypi weewx[326]: imagegenerator: Generated 13 images for StandardReport in 2.70 seconds
Dec  1 23:30:22 raspberrypi weewx[326]: copygenerator: copied 0 files to /var/www/html/weewx
Dec  1 23:35:20 raspberrypi weewx[326]: cheetahgenerator: Generated 20 files for report StandardReport in 4.01 seconds
Dec  1 23:35:23 raspberrypi weewx[326]: imagegenerator: Generated 13 images for StandardReport in 2.88 seconds
Dec  1 23:35:23 raspberrypi weewx[326]: copygenerator: copied 0 files to /var/www/html/weewx

y ejecutando service weewx status:

● weewx.service - LSB: weewx weather system
   Loaded: loaded (/etc/init.d/weewx; generated)
   Active: active (running) since Sun 2019-12-01 23:19:52 UTC; 19min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 276 ExecStart=/etc/init.d/weewx start (code=exited, status=0/SUCCESS)
    Tasks: 3 (limit: 2319)
   Memory: 36.7M
   CGroup: /system.slice/weewx.service
           └─326 python /usr/bin/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf

dic 01 23:21:29 raspberrypi weewx[326]: copygenerator: copied 9 files to /var/www/html/weewx
dic 01 23:25:20 raspberrypi weewx[326]: cheetahgenerator: Generated 20 files for report StandardReport in 3.78 seconds
dic 01 23:25:22 raspberrypi weewx[326]: imagegenerator: Generated 13 images for StandardReport in 2.75 seconds
dic 01 23:25:22 raspberrypi weewx[326]: copygenerator: copied 0 files to /var/www/html/weewx
dic 01 23:30:20 raspberrypi weewx[326]: cheetahgenerator: Generated 20 files for report StandardReport in 3.74 seconds
dic 01 23:30:22 raspberrypi weewx[326]: imagegenerator: Generated 13 images for StandardReport in 2.70 seconds
dic 01 23:30:22 raspberrypi weewx[326]: copygenerator: copied 0 files to /var/www/html/weewx
dic 01 23:35:20 raspberrypi weewx[326]: cheetahgenerator: Generated 20 files for report StandardReport in 4.01 seconds
dic 01 23:35:23 raspberrypi weewx[326]: imagegenerator: Generated 13 images for StandardReport in 2.88 seconds
dic 01 23:35:23 raspberrypi weewx[326]: copygenerator: copied 0 files to /var/www/html/weewx


aparentemente funciona pero no copia los archivos al directorio web.

Alguna idea del problema ????.
Mil gracias.

Páginas: 1 2 [3] 4 5