9
« en: 23 de Abril del 2020, 18:37:38 pm »
He borrado los datos del datalogger y creo que va mejor.
Sube los datos a Wunderground. Pero no genera plantillas. Hay algún error.
En la consola creo que tengo la hora UTC 0. Pero cuando pongo la hora arriba, luego al rato se cambia ella sola y le resta dos horas.
Puede que esto genere algún problema?
Luego miro el log y sale esto.
sudo tail -f /var/log/syslog
Apr 23 16:14:38 raspberrypi systemd[1]: Started LSB: weewx weather system.
Apr 23 16:17:01 raspberrypi CRON[1938]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Apr 23 16:23:04 raspberrypi systemd[1]: Starting Cleanup of Temporary Directories...
Apr 23 16:23:04 raspberrypi systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
Apr 23 16:23:04 raspberrypi systemd[1]: Started Cleanup of Temporary Directories.
Apr 23 16:25:51 raspberrypi systemd[1]: Stopping LSB: weewx weather system...
Apr 23 16:26:13 raspberrypi systemd[1]: weewx.service: Succeeded.
Apr 23 16:26:13 raspberrypi systemd[1]: Stopped LSB: weewx weather system.
Apr 23 16:26:13 raspberrypi systemd[1]: Starting LSB: weewx weather system...
Apr 23 16:26:15 raspberrypi systemd[1]: Started LSB: weewx weather system.
sudo tail -f /var/log/weewx.log
Apr 23 16:33:53 raspberrypi weewx[3136]: engine: Clock error is 7195.14 seconds (positive is fast)
Apr 23 16:33:53 raspberrypi weewx[3136]: vantage: Clock set to 2020-04-23 16:33:54 UTC (1587659634)
Apr 23 16:33:55 raspberrypi weewx[3136]: manager: Unable to add record 2020-04-23 16:20:00 UTC (1587658800) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
Apr 23 16:33:55 raspberrypi weewx[3136]: manager: Unable to add record 2020-04-23 16:30:00 UTC (1587659400) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime
Apr 23 16:33:55 raspberrypi weewx[3136]: engine: Starting main packet loop.
Apr 23 16:33:55 raspberrypi weewx[3136]: restx: AWEKAS: Bad login; waiting 60.0 minutes then retrying
Apr 23 16:33:56 raspberrypi weewx[3136]: restx: Wunderground-PWS: Published record 2020-04-23 16:20:00 UTC (1587658800)
Apr 23 16:33:57 raspberrypi weewx[3136]: restx: Wunderground-PWS: Published record 2020-04-23 16:30:00 UTC (1587659400)
Apr 23 16:33:59 raspberrypi weewx[3136]: vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead
Apr 23 16:34:05 raspberrypi weewx[3136]: vantage: LOOP try #2; error: Expected to read 99 chars; got 0 instead
sudo weewxd /etc/weewx/weewx.con
Traceback (most recent call last):
File "/usr/bin/weewxd", line 64, in <module>
weewx.engine.main(options, args)
File "/usr/share/weewx/weewx/engine.py", line 852, in main
sane = os.stat(config_path).st_ctime
OSError: [Errno 2] No existe el fichero o el directorio: '/etc/weewx/weewx.con'