Meteoclimatic
Software => WeeWX => Mensaje iniciado por: burgati en 05 de Octubre del 2017, 16:09:13 pm
-
Hola, no sé que pasa que instalo weewx , alojo la plantilla en /etc/weewx/skins/Standard y voy a ver si me la ha generado en /var/www/html/weewx , pero no existe esa carpeta, solo tengo las siguientes:
(https://farm5.staticflickr.com/4512/37254933980_e90faf41eb_b.jpg) (https://flic.kr/p/YL6gVW)Sin título (https://flic.kr/p/YL6gVW) by david nuño (https://www.flickr.com/photos/130556449@N06/), en Flickr
Qué hago?
-
me lo vuelvo a descargar y me vuelve a pasar igual.... :-X
-
Hola burgati
Tienes esta línea HTML_ROOT = /var/www/weewx en el weewx.conf ?
-
hola....me temo que no me sale esto:
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2015 Tom Keffer <tkeffer@gmail.com>
# See the file LICENSE.txt for your rights.
##############################################################################
# This section is for general configuration information.
# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 0
# Root directory of the weewx data file hierarchy for this station
WEEWX_ROOT = /
# How long to wait before timing out a socket (FTP, HTTP) connection
socket_timeout = 20
# Do not modify this. It is used when installing and updating weewx.
-
PERDON!!!!!!, SI QUE ME SALE:
[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/weewx
# The database binding indicates which data should be used in reports.
data_binding = wx_binding
# Each of the following subsections defines a report that will be run.
nO SÉ POR QUÉ NO ENCUENTRO EL BOTON DE MODIFICAR MENSAJES ASIQUE SI ME EQUIVOCO PONDRÉ UNO NUEVO.....
-
Pues lo siguiente será ver el log de weewx.
Mira a ver qué pone en /var/log/weewx.log si instalaste la instalación de jantoni
Pon las últimas 50 líneas por ejemplo
-
Pues lo siguiente será ver el log de weewx.
Mira a ver qué pone en /var/log/weewx.log si instalaste la instalación de jantoni
Pon las últimas 50 líneas por ejemplo
a ver tengo un par de archivos uno es wwewx.log lo abro y está en blanco.
El otro es weewx.log.1 y en este si tengo cosaas escritas del otro día :
Oct 7 05:45:18 raspberrypi weewx[418]: **** self._fileMtime = os.path.getmtime(file)
Oct 7 05:45:18 raspberrypi weewx[418]: **** File "/usr/lib/python2.7/genericpath.py", line 62, in getmtime
Oct 7 05:45:18 raspberrypi weewx[418]: **** return os.stat(filename).st_mtime
Oct 7 05:45:18 raspberrypi weewx[418]: **** OSError: [Errno 2] No existe el fichero o el directorio: '/etc/weewx/skins/Standard/meteoclimatic.html.tmpl'
Oct 7 05:45:19 raspberrypi weewx[418]: cheetahgenerator: Generated 14 files for report StandardReport in 2.20 seconds
Oct 7 05:45:25 raspberrypi weewx[418]: imagegenerator: Generated 36 images for StandardReport in 6.29 seconds
Oct 7 05:45:25 raspberrypi weewx[418]: copygenerator: copied 0 files to /var/www/html/weewx
Oct 7 05:50:18 raspberrypi weewx[418]: cheetahgenerator: Generate failed with exception '<type 'exceptions.OSError'>'
Oct 7 05:50:18 raspberrypi weewx[418]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/Standard/meteoclimatic.html.tmpl
Oct 7 05:50:18 raspberrypi weewx[418]: cheetahgenerator: **** Reason: [Errno 2] No existe el fichero o el directorio: '/etc/weewx/skins/Standard/meteoclimatic.html.tmpl'
Oct 7 05:50:18 raspberrypi weewx[418]: **** Traceback (most recent call last):
Oct 7 05:50:18 raspberrypi weewx[418]: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 327, in generate
Oct 7 05:50:18 raspberrypi weewx[418]: **** filtersLib=weewx.cheetahgenerator)
Oct 7 05:50:18 raspberrypi weewx[418]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1259, in __init__
Oct 7 05:50:18 raspberrypi weewx[418]: **** self._compile(source, file, compilerSettings=compilerSettings)
Oct 7 05:50:18 raspberrypi weewx[418]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1546, in _compile
Oct 7 05:50:18 raspberrypi weewx[418]: **** self._fileMtime = os.path.getmtime(file)
Oct 7 05:50:18 raspberrypi weewx[418]: **** File "/usr/lib/python2.7/genericpath.py", line 62, in getmtime
Oct 7 05:50:18 raspberrypi weewx[418]: **** return os.stat(filename).st_mtime
Oct 7 05:50:18 raspberrypi weewx[418]: **** OSError: [Errno 2] No existe el fichero o el directorio: '/etc/weewx/skins/Standard/meteoclimatic.html.tmpl'
Oct 7 05:50:19 raspberrypi weewx[418]: cheetahgenerator: Generated 14 files for report StandardReport in 2.25 seconds
Oct 7 05:50:26 raspberrypi weewx[418]: imagegenerator: Generated 36 images for StandardReport in 7.28 seconds
Oct 7 05:50:26 raspberrypi weewx[418]: copygenerator: copied 0 files to /var/www/html/weewx
Oct 7 05:55:18 raspberrypi weewx[418]: cheetahgenerator: Generate failed with exception '<type 'exceptions.OSError'>'
Oct 7 05:55:18 raspberrypi weewx[418]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/Standard/meteoclimatic.html.tmpl
Oct 7 05:55:18 raspberrypi weewx[418]: cheetahgenerator: **** Reason: [Errno 2] No existe el fichero o el directorio: '/etc/weewx/skins/Standard/meteoclimatic.html.tmpl'
Oct 7 05:55:18 raspberrypi weewx[418]: **** Traceback (most recent call last):
Oct 7 05:55:18 raspberrypi weewx[418]: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 327, in generate
Oct 7 05:55:18 raspberrypi weewx[418]: **** filtersLib=weewx.cheetahgenerator)
Oct 7 05:55:18 raspberrypi weewx[418]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1259, in __init__
Oct 7 05:55:18 raspberrypi weewx[418]: **** self._compile(source, file, compilerSettings=compilerSettings)
Oct 7 05:55:18 raspberrypi weewx[418]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1546, in _compile
Oct 7 05:55:18 raspberrypi weewx[418]: **** self._fileMtime = os.path.getmtime(file)
Oct 7 05:55:18 raspberrypi weewx[418]: **** File "/usr/lib/python2.7/genericpath.py", line 62, in getmtime
Oct 7 05:55:18 raspberrypi weewx[418]: **** return os.stat(filename).st_mtime
Oct 7 05:55:18 raspberrypi weewx[418]: **** OSError: [Errno 2] No existe el fichero o el directorio: '/etc/weewx/skins/Standard/meteoclimatic.html.tmpl'
Oct 7 05:55:19 raspberrypi weewx[418]: cheetahgenerator: Generated 14 files for report StandardReport in 2.10 seconds
Oct 7 05:55:26 raspberrypi weewx[418]: imagegenerator: Generated 36 images for StandardReport in 7.22 seconds
Oct 7 05:55:26 raspberrypi weewx[418]: copygenerator: copied 0 files to /var/www/html/weewx
Oct 7 06:00:18 raspberrypi weewx[418]: cheetahgenerator: Generate failed with exception '<type 'exceptions.OSError'>'
Oct 7 06:00:18 raspberrypi weewx[418]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/Standard/meteoclimatic.html.tmpl
Oct 7 06:00:18 raspberrypi weewx[418]: cheetahgenerator: **** Reason: [Errno 2] No existe el fichero o el directorio: '/etc/weewx/skins/Standard/meteoclimatic.html.tmpl'
Oct 7 06:00:18 raspberrypi weewx[418]: **** Traceback (most recent call last):
Oct 7 06:00:18 raspberrypi weewx[418]: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 327, in generate
Oct 7 06:00:18 raspberrypi weewx[418]: **** filtersLib=weewx.cheetahgenerator)
Oct 7 06:00:18 raspberrypi weewx[418]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1259, in __init__
Oct 7 06:00:18 raspberrypi weewx[418]: **** self._compile(source, file, compilerSettings=compilerSettings)
Oct 7 06:00:18 raspberrypi weewx[418]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1546, in _compile
Oct 7 06:00:18 raspberrypi weewx[418]: **** self._fileMtime = os.path.getmtime(file)
Oct 7 06:00:18 raspberrypi weewx[418]: **** File "/usr/lib/python2.7/genericpath.py", line 62, in getmtime
Oct 7 06:00:18 raspberrypi weewx[418]: **** return os.stat(filename).st_mtime
Oct 7 06:00:18 raspberrypi weewx[418]: **** OSError: [Errno 2] No existe el fichero o el directorio: '/etc/weewx/skins/Standard/meteoclimatic.html.tmpl'
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on read.
Oct 7 06:00:19 raspberrypi weewx[418]: **** device reports readiness to read but returned no data (device disconnected or multiple access on port?)
Oct 7 06:00:19 raspberrypi weewx[418]: **** Is there a competing process running??
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: LOOP try #1; error: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct 7 06:00:19 raspberrypi weewx[418]: **** write failed: [Errno 5] Error de entrada/salida
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct 7 06:00:19 raspberrypi weewx[418]: **** write failed: [Errno 5] Error de entrada/salida
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct 7 06:00:19 raspberrypi weewx[418]: **** write failed: [Errno 5] Error de entrada/salida
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct 7 06:00:19 raspberrypi weewx[418]: **** write failed: [Errno 5] Error de entrada/salida
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: Unable to wake up console
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: LOOP try #2; error: Unable to wake up Vantage console
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct 7 06:00:19 raspberrypi weewx[418]: **** write failed: [Errno 5] Error de entrada/salida
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct 7 06:00:19 raspberrypi weewx[418]: **** write failed: [Errno 5] Error de entrada/salida
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct 7 06:00:19 raspberrypi weewx[418]: **** write failed: [Errno 5] Error de entrada/salida
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct 7 06:00:19 raspberrypi weewx[418]: **** write failed: [Errno 5] Error de entrada/salida
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: Unable to wake up console
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: LOOP try #3; error: Unable to wake up Vantage console
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct 7 06:00:19 raspberrypi weewx[418]: **** write failed: [Errno 5] Error de entrada/salida
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct 7 06:00:19 raspberrypi weewx[418]: **** write failed: [Errno 5] Error de entrada/salida
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct 7 06:00:19 raspberrypi weewx[418]: **** write failed: [Errno 5] Error de entrada/salida
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct 7 06:00:19 raspberrypi weewx[418]: **** write failed: [Errno 5] Error de entrada/salida
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: Unable to wake up console
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: LOOP try #4; error: Unable to wake up Vantage console
Oct 7 06:00:19 raspberrypi weewx[418]: vantage: LOOP max tries (4) exceeded.
Oct 7 06:00:19 raspberrypi weewx[418]: engine: Shutting down StdReport thread
Oct 7 06:00:19 raspberrypi weewx[418]: cheetahgenerator: Generated 14 files for report StandardReport in 3.01 seconds
Oct 7 06:00:28 raspberrypi weewx[418]: imagegenerator: Generated 36 images for StandardReport in 8.13 seconds
Oct 7 06:00:28 raspberrypi weewx[418]: copygenerator: copied 0 files to /var/www/html/weewx
Oct 7 06:00:28 raspberrypi weewx[418]: vantage: SerialException on write.
Oct 7 06:00:28 raspberrypi weewx[418]: **** write failed: [Errno 5] Error de entrada/salida
Oct 7 06:00:28 raspberrypi weewx[418]: engine: Caught WeeWxIOError: Max tries exceeded while getting LOOP data.
Oct 7 06:00:28 raspberrypi weewx[418]: **** Waiting 60 seconds then retrying...
Oct 7 06:01:28 raspberrypi weewx[418]: engine: retrying...
Oct 7 06:01:28 raspberrypi weewx[418]: engine: Using configuration file /etc/weewx/weewx.conf
Oct 7 06:01:28 raspberrypi weewx[418]: engine: Loading station type Vantage (weewx.drivers.vantage)
Oct 7 06:01:28 raspberrypi weewx[418]: import of driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No existe el fichero o el directorio: '/dev/ttyUSB0' (<class 'serial.serialutil.SerialException'>)
Oct 7 06:01:28 raspberrypi weewx[418]: engine: Unable to load driver: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No existe el fichero o el directorio: '/dev/ttyUSB0'
Oct 7 06:01:28 raspberrypi weewx[418]: **** Exiting...
-
OSError: [Errno 2] No existe el fichero o el directorio: '/etc/weewx/skins/Standard/meteoclimatic.html.tmpl'
Tienes la plantilla meteoclimatic.html.tmpl en esa ruta ??
También tienes una serie de errores al final leyéndote la estación.
-
Nada lo volví a reinstalar todo y ya lo tengo todo correcto.......el problema que tengo ahora es el de siempre, alojo los archivos de la utilidad de subida en /home/pi y la plantilla en /etc/weewx/skins/Standard........modifico meteoclimatic. sh y dejo esto
#!/bin/bash
cd /home/pi
#Si no quieres log
php meteoclimatic_http.php.old
#Si quieres log
php meteoclimatic_http.php.old >> /var/log/meteoclimatic.log
exit
en meteoclimatic.ini pongo el codigo de mi estacion y el SIG donde corresponde
Añado esta linea al crontab:
1-59/5 * * * * root /home/pi/meteoclimatic.sh
La plantilla se me actualiza correctamente en : /var/www/html/weewx
el weewx.log todo correcto tambien:
Oct 9 12:36:18 raspberrypi weewx[377]: engine: Initializing weewx version 3.7.1
Oct 9 12:36:18 raspberrypi weewx[377]: engine: Using Python 2.7.13 (default, Jan 19 2017, 14:48:08) #012[GCC 6.3.0 20170124]
Oct 9 12:36:18 raspberrypi weewx[377]: engine: Platform Linux-4.9.41-v7+-armv7l-with-debian-9.1
Oct 9 12:36:18 raspberrypi weewx[377]: engine: Locale is 'en_GB.UTF-8'
Oct 9 12:36:18 raspberrypi weewx[377]: engine: pid file is /var/run/weewx.pid
Oct 9 12:36:18 raspberrypi weewx[304]: Starting weewx weather system: weewx.
Oct 9 12:36:18 raspberrypi weewx[447]: engine: Using configuration file /etc/weewx/weewx.conf
Oct 9 12:36:18 raspberrypi weewx[447]: engine: Loading station type Vantage (weewx.drivers.vantage)
Oct 9 12:36:18 raspberrypi weewx[447]: import of driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0' (<class 'serial.serialutil.SerialException'>)
Oct 9 12:36:18 raspberrypi weewx[447]: engine: Unable to load driver: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Oct 9 12:36:18 raspberrypi weewx[447]: **** Exiting...
Oct 9 12:38:09 raspberrypi weewx[1048]: Stopping weewx weather system: weewx not running....
Oct 9 12:43:45 raspberrypi weewx[1488]: engine: Initializing weewx version 3.7.1
Oct 9 12:43:45 raspberrypi weewx[1488]: engine: Using Python 2.7.13 (default, Jan 19 2017, 14:48:08) #012[GCC 6.3.0 20170124]
Oct 9 12:43:45 raspberrypi weewx[1488]: engine: Platform Linux-4.9.41-v7+-armv7l-with-debian-9.1
Oct 9 12:43:45 raspberrypi weewx[1488]: engine: Locale is 'en_GB.UTF-8'
Oct 9 12:43:45 raspberrypi weewx[1488]: engine: pid file is /var/run/weewx.pid
Oct 9 12:43:45 raspberrypi weewx[1492]: engine: Using configuration file /etc/weewx/weewx.conf
Oct 9 12:43:45 raspberrypi weewx[1492]: engine: Loading station type Vantage (weewx.drivers.vantage)
Oct 9 12:43:45 raspberrypi weewx[1477]: Starting weewx weather system: weewx.
Oct 9 12:43:45 raspberrypi weewx[1492]: engine: StdConvert target unit is 0x1
Oct 9 12:43:46 raspberrypi weewx[1492]: 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
Oct 9 12:43:46 raspberrypi weewx[1492]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Oct 9 12:43:46 raspberrypi weewx[1492]: engine: Archive will use data binding wx_binding
Oct 9 12:43:46 raspberrypi weewx[1492]: engine: Record generation will be attempted in 'hardware'
Oct 9 12:43:46 raspberrypi weewx[1492]: engine: Using archive interval of 300 seconds (specified by hardware)
Oct 9 12:43:46 raspberrypi weewx[1492]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Oct 9 12:43:46 raspberrypi weewx[1492]: manager: Starting backfill of daily summaries
Oct 9 12:43:46 raspberrypi weewx[1492]: restx: StationRegistry: Registration not requested.
Oct 9 12:43:46 raspberrypi weewx[1492]: restx: Wunderground: Posting not enabled.
Oct 9 12:43:46 raspberrypi weewx[1492]: restx: PWSweather: Posting not enabled.
Oct 9 12:43:46 raspberrypi weewx[1492]: restx: CWOP: Posting not enabled.
Oct 9 12:43:46 raspberrypi weewx[1492]: restx: WOW: Posting not enabled.
Oct 9 12:43:46 raspberrypi weewx[1492]: restx: AWEKAS: Posting not enabled.
Oct 9 12:43:46 raspberrypi weewx[1492]: engine: Starting up weewx version 3.7.1
Oct 9 12:43:46 raspberrypi weewx[1492]: engine: Clock error is -51.41 seconds (positive is fast)
Oct 9 12:43:46 raspberrypi weewx[1492]: vantage: Clock set to 2017-10-09 12:43:47 UTC (1507553027)
Oct 9 12:43:47 raspberrypi weewx[1492]: manager: Added record 2017-10-09 12:40:00 UTC (1507552800) to database 'weewx.sdb'
Oct 9 12:43:47 raspberrypi weewx[1492]: manager: Added record 2017-10-09 12:40:00 UTC (1507552800) to daily summary in 'weewx.sdb'
Oct 9 12:43:50 raspberrypi weewx[1492]: engine: Starting main packet loop.
Oct 9 12:43:53 raspberrypi weewx[1530]: Reloading weewx weather system: weewx.
Oct 9 12:43:53 raspberrypi weewx[1492]: engine: Received signal HUP. Restarting.
Oct 9 12:43:53 raspberrypi weewx[1492]: engine: Using configuration file /etc/weewx/weewx.conf
Oct 9 12:43:53 raspberrypi weewx[1492]: engine: Loading station type Vantage (weewx.drivers.vantage)
Oct 9 12:43:53 raspberrypi weewx[1492]: engine: StdConvert target unit is 0x1
Oct 9 12:43:53 raspberrypi weewx[1492]: 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
Oct 9 12:43:53 raspberrypi weewx[1492]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Oct 9 12:43:53 raspberrypi weewx[1492]: engine: Archive will use data binding wx_binding
Oct 9 12:43:53 raspberrypi weewx[1492]: engine: Record generation will be attempted in 'hardware'
Oct 9 12:43:53 raspberrypi weewx[1492]: engine: Using archive interval of 300 seconds (specified by hardware)
Oct 9 12:43:53 raspberrypi weewx[1492]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Oct 9 12:43:53 raspberrypi weewx[1492]: manager: Starting backfill of daily summaries
Oct 9 12:43:53 raspberrypi weewx[1492]: restx: StationRegistry: Registration not requested.
Oct 9 12:43:53 raspberrypi weewx[1492]: restx: Wunderground: Posting not enabled.
Oct 9 12:43:54 raspberrypi weewx[1492]: restx: PWSweather: Posting not enabled.
Oct 9 12:43:54 raspberrypi weewx[1492]: restx: CWOP: Posting not enabled.
Oct 9 12:43:54 raspberrypi weewx[1492]: restx: WOW: Posting not enabled.
Oct 9 12:43:54 raspberrypi weewx[1492]: restx: AWEKAS: Posting not enabled.
Oct 9 12:43:54 raspberrypi weewx[1492]: engine: Starting up weewx version 3.7.1
Oct 9 12:43:54 raspberrypi weewx[1492]: engine: Clock error is 0.98 seconds (positive is fast)
Oct 9 12:43:54 raspberrypi weewx[1492]: engine: Starting main packet loop.
Oct 9 12:44:29 raspberrypi weewx[1492]: vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead
Oct 9 12:44:34 raspberrypi weewx[1492]: vantage: LOOP try #2; error: Expected to read 99 chars; got 0 instead
Oct 9 12:44:38 raspberrypi weewx[1492]: vantage: LOOP try #3; error: Expected to read 99 chars; got 0 instead
Oct 9 12:44:42 raspberrypi weewx[1492]: vantage: LOOP try #4; error: Expected to read 99 chars; got 0 instead
Oct 9 12:44:42 raspberrypi weewx[1492]: vantage: LOOP max tries (4) exceeded.
Oct 9 12:44:42 raspberrypi weewx[1492]: engine: Caught WeeWxIOError: Max tries exceeded while getting LOOP data.
Oct 9 12:44:42 raspberrypi weewx[1492]: **** Waiting 60 seconds then retrying...
Oct 9 12:45:42 raspberrypi weewx[1492]: engine: retrying...
Oct 9 12:45:42 raspberrypi weewx[1492]: engine: Using configuration file /etc/weewx/weewx.conf
Oct 9 12:45:42 raspberrypi weewx[1492]: engine: Loading station type Vantage (weewx.drivers.vantage)
Oct 9 12:45:42 raspberrypi weewx[1492]: engine: StdConvert target unit is 0x1
Oct 9 12:45:42 raspberrypi weewx[1492]: 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
Oct 9 12:45:42 raspberrypi weewx[1492]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Oct 9 12:45:42 raspberrypi weewx[1492]: engine: Archive will use data binding wx_binding
Oct 9 12:45:42 raspberrypi weewx[1492]: engine: Record generation will be attempted in 'hardware'
Oct 9 12:45:42 raspberrypi weewx[1492]: engine: Using archive interval of 300 seconds (specified by hardware)
Oct 9 12:45:42 raspberrypi weewx[1492]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Oct 9 12:45:42 raspberrypi weewx[1492]: manager: Starting backfill of daily summaries
Oct 9 12:45:42 raspberrypi weewx[1492]: restx: StationRegistry: Registration not requested.
Oct 9 12:45:42 raspberrypi weewx[1492]: restx: Wunderground: Posting not enabled.
Oct 9 12:45:42 raspberrypi weewx[1492]: restx: PWSweather: Posting not enabled.
Oct 9 12:45:42 raspberrypi weewx[1492]: restx: CWOP: Posting not enabled.
Oct 9 12:45:42 raspberrypi weewx[1492]: restx: WOW: Posting not enabled.
Oct 9 12:45:42 raspberrypi weewx[1492]: restx: AWEKAS: Posting not enabled.
Oct 9 12:45:42 raspberrypi weewx[1492]: engine: Starting up weewx version 3.7.1
Oct 9 12:45:42 raspberrypi weewx[1492]: engine: Clock error is 0.32 seconds (positive is fast)
Oct 9 12:45:42 raspberrypi weewx[1492]: manager: Added record 2017-10-09 12:45:00 UTC (1507553100) to database 'weewx.sdb'
Oct 9 12:45:42 raspberrypi weewx[1492]: manager: Added record 2017-10-09 12:45:00 UTC (1507553100) to daily summary in 'weewx.sdb'
Oct 9 12:45:43 raspberrypi weewx[1492]: engine: Starting main packet loop.
Oct 9 12:50:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 12:50:00 UTC (1507553400) to database 'weewx.sdb'
Oct 9 12:50:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 12:50:00 UTC (1507553400) to daily summary in 'weewx.sdb'
Oct 9 12:50:26 raspberrypi weewx[1492]: cheetahgenerator: Generated 14 files for report StandardReport in 9.63 seconds
Oct 9 12:50:28 raspberrypi weewx[1492]: imagegenerator: Generated 12 images for StandardReport in 1.93 seconds
Oct 9 12:50:28 raspberrypi weewx[1492]: copygenerator: copied 9 files to /var/www/html/weewx
Oct 9 12:55:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 12:55:00 UTC (1507553700) to database 'weewx.sdb'
Oct 9 12:55:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 12:55:00 UTC (1507553700) to daily summary in 'weewx.sdb'
Oct 9 12:55:21 raspberrypi weewx[1492]: cheetahgenerator: Generated 15 files for report StandardReport in 2.29 seconds
Oct 9 12:55:22 raspberrypi weewx[1492]: imagegenerator: Generated 12 images for StandardReport in 1.22 seconds
Oct 9 12:55:22 raspberrypi weewx[1492]: copygenerator: copied 0 files to /var/www/html/weewx
Oct 9 13:00:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:00:00 UTC (1507554000) to database 'weewx.sdb'
Oct 9 13:00:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:00:00 UTC (1507554000) to daily summary in 'weewx.sdb'
Oct 9 13:00:21 raspberrypi weewx[1492]: cheetahgenerator: Generated 15 files for report StandardReport in 2.22 seconds
Oct 9 13:00:28 raspberrypi weewx[1492]: imagegenerator: Generated 24 images for StandardReport in 6.95 seconds
Oct 9 13:00:28 raspberrypi weewx[1492]: copygenerator: copied 0 files to /var/www/html/weewx
Oct 9 13:05:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:05:00 UTC (1507554300) to database 'weewx.sdb'
Oct 9 13:05:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:05:00 UTC (1507554300) to daily summary in 'weewx.sdb'
Oct 9 13:05:21 raspberrypi weewx[1492]: cheetahgenerator: Generated 15 files for report StandardReport in 2.23 seconds
Oct 9 13:05:23 raspberrypi weewx[1492]: imagegenerator: Generated 12 images for StandardReport in 2.27 seconds
Oct 9 13:05:23 raspberrypi weewx[1492]: copygenerator: copied 0 files to /var/www/html/weewx
Oct 9 13:10:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:10:00 UTC (1507554600) to database 'weewx.sdb'
Oct 9 13:10:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:10:00 UTC (1507554600) to daily summary in 'weewx.sdb'
Oct 9 13:10:21 raspberrypi weewx[1492]: cheetahgenerator: Generated 15 files for report StandardReport in 2.26 seconds
Oct 9 13:10:23 raspberrypi weewx[1492]: imagegenerator: Generated 12 images for StandardReport in 2.30 seconds
Oct 9 13:10:23 raspberrypi weewx[1492]: copygenerator: copied 0 files to /var/www/html/weewx
Oct 9 13:15:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:15:00 UTC (1507554900) to database 'weewx.sdb'
Oct 9 13:15:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:15:00 UTC (1507554900) to daily summary in 'weewx.sdb'
Oct 9 13:15:22 raspberrypi weewx[1492]: cheetahgenerator: Generated 15 files for report StandardReport in 2.16 seconds
Oct 9 13:15:24 raspberrypi weewx[1492]: imagegenerator: Generated 12 images for StandardReport in 1.79 seconds
Oct 9 13:15:24 raspberrypi weewx[1492]: copygenerator: copied 0 files to /var/www/html/weewx
Oct 9 13:20:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:20:00 UTC (1507555200) to database 'weewx.sdb'
Oct 9 13:20:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:20:00 UTC (1507555200) to daily summary in 'weewx.sdb'
Oct 9 13:20:21 raspberrypi weewx[1492]: cheetahgenerator: Generated 15 files for report StandardReport in 2.17 seconds
Oct 9 13:20:22 raspberrypi weewx[1492]: imagegenerator: Generated 12 images for StandardReport in 1.22 seconds
Oct 9 13:20:22 raspberrypi weewx[1492]: copygenerator: copied 0 files to /var/www/html/weewx
Pero voy al meteoclimatic.log y me aparece en blanco :o
no sé que es lo que hago mal
-
Tienes apache2 funcionando ??
Prueba manualmente a subir la plantilla con sudo php /home/pi/meteoclimatic.sh
Mira a ver qué te sale y si sale algo en /var/log/meteoclimatic.log
-
Tienes apache2 funcionando ??
Prueba manualmente a subir la plantilla con sudo php /home/pi/meteoclimatic.sh
Mira a ver qué te sale y si sale algo en /var/log/meteoclimatic.log
si hago sudo php /home/pi/meteoclimatic.sh me pone lo siguiente:
comand not found
En cuanto al meteoclimatic.log alojado en /var/log me aparece el archivo pero lo abro y está en blanco
-
Estás como root o como usuario pi ? Si estás como usuario pi debes de poner el sudo delante y si lo haces como root no
-
Estás como root o como usuario pi ? Si estás como usuario pi debes de poner el sudo delante y si lo haces como root no
como pi.....puse el sudo
-
(https://farm5.staticflickr.com/4463/36926316733_14524cecd1.jpg) (https://flic.kr/p/Yg42tk)Sin título (https://flic.kr/p/Yg42tk) by david nuño (https://www.flickr.com/photos/130556449@N06/), en Flickr
-
Pues tiene pinta como de que apache2 y por lo tanto php no los tuvieses instalados.
Prueba a poner (como usuario pi) sudo /etc/init.d/apache2 status.
Si no está instalado haces sudo apt-get update después sudo apt-get upgrade y por último sudo apt-get install apache2
-
Me lo está instalando todo.....se ve que no lo tenía......vete diciendome que quieres ver luego para ir gestionandolo. Gracias
-
Me lo está instalando todo.....se ve que no lo tenía......vete diciendome que quieres ver luego para ir gestionandolo. Gracias
Ya está instalado, ya me aparecen carpetas de apache2 y demás en /var/log que ante no tenía.....pero el meteoclimatic.log sigue en blanco :'(
-
Creo que php no se instala por defecto con apache2 así que tendrás que instalarlo con sudo apt-get install php5 libapache2-mod-php5
-
Creo que php no se instala por defecto con apache2 así que tendrás que instalarlo con sudo apt-get install php5 libapache2-mod-php5
Hecho, sigue sin escribir nada en meteoclimatic.log.....quieres que te ponga como tengo configurado el meteoclimatic.sh; meteoclimatic.ini, el crontab y un volcado de directorios con ls -la?
-
meteoclimatic.sh:
#!/bin/bash
cd /home/pi
#Si no quieres log
#php meteoclimatic_http.php.old
#Si quieres log
php meteoclimatic_http.php.old >> /var/log/meteoclimatic.log
exit
meteoclimatic.ini:
[Global]
Stations=ESCYL0900000009001D
DigestKey=
[ESCYL0900000009001D]
Path=/var/www/html/weewx/meteoclimatic.htm
Password=MI SIG
StationVendor=Davis
StationModel=Vantage Vue
crontab:
/etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --repo$
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --repo$
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --repo$
#
1-59/5 * * * * root /home/pi/meteoclimatic.sh
ls -la:
total 27944
drwxr-xr-x 18 pi pi 4096 oct 9 16:28 .
drwxr-xr-x 3 root root 4096 sep 7 14:59 ..
-rw------- 1 pi pi 1115 oct 9 15:40 .bash_history
-rw-r--r-- 1 pi pi 220 sep 7 14:59 .bash_logout
-rw-r--r-- 1 pi pi 3523 sep 7 14:59 .bashrc
drwxr-xr-x 6 pi pi 4096 oct 9 12:30 .cache
drwx------ 10 pi pi 4096 oct 9 12:30 .config
drwxr-xr-x 2 pi pi 4096 oct 9 12:06 Desktop
drwxr-xr-x 5 pi pi 4096 sep 7 15:45 Documents
drwxr-xr-x 2 pi pi 4096 oct 9 12:06 Downloads
drwx------ 3 pi pi 4096 oct 9 12:06 .gnupg
-rw-r--r-- 1 pi pi 28442624 oct 9 12:08 jantoni-5.1.img
drwxr-xr-x 3 pi pi 4096 sep 7 15:45 .local
-rw-r--r-- 1 pi pi 19626 oct 11 2015 meteoclimatic_http.php
-rw-r--r-- 1 pi pi 19025 oct 11 2015 meteoclimatic_http.php.old
-rw-r--r-- 1 pi pi 203 oct 9 16:26 meteoclimatic.ini
-rw-r--r-- 1 pi pi 320 oct 11 2015 meteoclimatic.log
-rwxr-xr-x 1 root root 159 oct 9 15:24 meteoclimatic.sh
drwxr-xr-x 2 pi pi 4096 oct 9 12:06 Music
drwxr-xr-x 2 pi pi 4096 oct 9 12:06 Pictures
drwx------ 3 pi pi 4096 oct 9 12:30 .pki
-rw-r--r-- 1 pi pi 675 sep 7 14:59 .profile
drwxr-xr-x 2 pi pi 4096 oct 9 12:06 Public
drwxr-xr-x 2 pi pi 4096 sep 7 15:45 python_games
drwxr-xr-x 2 pi pi 4096 oct 9 12:06 Templates
drwxr-xr-x 3 pi pi 4096 oct 9 12:06 .themes
drwx------ 4 pi pi 4096 oct 9 12:07 .thumbnails
drwxr-xr-x 2 pi pi 4096 oct 9 12:06 Videos
-rwxr-xr-x 1 pi pi 5582 jul 18 18:21 weewx.sh
-rw------- 1 pi pi 56 oct 9 12:36 .Xauthority
-rw------- 1 pi pi 4194 oct 9 12:36 .xsession-errors
-rw------- 1 pi pi 4373 oct 9 12:35 .xsession-errors.old
-
Antes lo he puesto mal...
Pon sudo php meteoclimatic_http.php.old
a ver qué te sale
-
Por último te pongo enlace al hilo con el que conseguí subir los datos anteriormente y he configurado las cosas igual, por si te choca algo....:
https://forum.meteoclimatic.net/index.php/topic,1418.15.html
-
Antes lo he puesto mal...
Pon sudo php meteoclimatic_http.php.old
a ver qué te sale
Me sale esto:
pi@raspberrypi:~ $ sudo php meteoclimatic_http.php.old
-- 09/10/2017 16:32:37 --
HTTP/1.1 202 Accepted
Date: Mon, 09 Oct 2017 16:32:32 GMT
Server: Apache/2.4.10 (Debian)
X-Error: 202 Accepted
X-DigestKey:
Content-Length: 69
Content-Type: text/plain;charset=UTF-8
Ver: 3a - ID: ESCYL0900000009001D
Query Length: 140
202: Accepted
-
Ya me pone algo en el meteoclimatic log, esto:
-- 09/10/2017 16:26:07 --
HTTP/1.1 202 Accepted
Date: Mon, 09 Oct 2017 16:26:02 GMT
Server: Apache/2.4.10 (Debian)
X-Error: 202 Accepted
X-DigestKey:
Content-Length: 69
Content-Type: text/plain;charset=UTF-8
Ver: 3a - ID: ESCYL0900000009001D
Query Length: 140
202: Accepted
-- 09/10/2017 16:31:06 --
HTTP/1.1 202 Accepted
Date: Mon, 09 Oct 2017 16:31:01 GMT
Server: Apache/2.4.10 (Debian)
X-Error: 202 Accepted
X-DigestKey:
Content-Length: 69
Content-Type: text/plain;charset=UTF-8
Ver: 3a - ID: ESCYL0900000009001D
Query Length: 140
202: Accepted
osea lo mismo creo
-
Pues ya la está enviando... :) :)
-
Instalaste la instalación de jantoni ??
-
Pues ya la está enviando... :) :)
intalé lo que me bajé haciendo wget http://jantoni.no-ip.org/download/raspweather/weewx.sh
Hay que esperar un poco no?....de momento si entro a mi estación sigue igual todo....
-
Creo que ya me ha hecho el primer envío a la página :)......espero que no dé mas problemas.
jmviper, como siempre muchísimas gracias no sé que haría sin ti la verdad, bueno y sin el resto que asesoran en el foro. Un saludo a todos
-
Pues es raro porque el script de jantoni debería de haber instalado tanto apache2 como php.
Una vez te asegures que funciona bien yo quitaría lo de que meteoclimatic.sh te escribiera en el log ya que con el tiempo se hará muy grande.
Lo deberías de dejar así:
#!/bin/bash
cd /home/pi
#Si no quieres log
php meteoclimatic_http.php.old
#Si quieres log
#php meteoclimatic_http.php.old >> /var/log/meteoclimatic.log
exit
Comentas la línea que crea el log y descomentas la que no lo crea de php meteoclimatic_http.php.old
Creo que ya me ha hecho el primer envío a la página :)......espero que no dé mas problemas.
jmviper, como siempre muchísimas gracias no sé que haría sin ti la verdad, bueno y sin el resto que asesoran en el foro. Un saludo a todos
A ver si no te da problemas en bastante tiempo ;)
Saludos
-
Buenos días,
A mi tampoco me aparece la carpeta /var/www/. Ya he instalado el apache2 y el php, aunque me sale:
~ $ sudo php --version
sudo: php: command not found
Igualmente, la carpeta /var/www/ no la crea hasta que no se conecta a la consola y recibe los primeros datos o cuando lo ponemos en modo simulador, ¿es correcta mi suposición?
En la configuración puse directamente la estación [Vantage] y hasta que no se conecte no podré comprobar que genera la carpeta, tampoco sé como cambiarlo a modo [simulator] para comprobarlo de ésta forma, si lo cambio directamente en Weewx.conf veo que no está el capitulo de caracterización del simulador, únicamente aparece el de la Vantage.
Gracias de antemano.
-
Hola GarciaMiguel
Tiene pinta de no estar apache2 en funcionamiento...
prueba con sudo service apache2 status
Si no está en funcionamiento... es raspbian stretch el SO ??
-
Hola, gracias por la respuesta.
Ahora sí que me ha generado la carpeta /ets/www/ , aunque le ha costado 3 horas (contadas)...
pi@raspberrypi:~ $ sudo service apache2 status
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; ve
Active: active (running) since Sat 2018-01-27 10:37:17 UTC; 1h 4
Process: 1518 ExecStop=/usr/sbin/apachectl stop (code=exited, sta
Process: 1525 ExecStart=/usr/sbin/apachectl start (code=exited, s
Main PID: 1530 (apache2)
CGroup: /system.slice/apache2.service
├─1530 /usr/sbin/apache2 -k start
├─1532 /usr/sbin/apache2 -k start
└─1533 /usr/sbin/apache2 -k start
ene 27 10:37:17 raspberrypi systemd[1]: Starting The Apache HTTP Se
ene 27 10:37:17 raspberrypi apachectl[1525]: AH00558: apache2: Coul
ene 27 10:37:17 raspberrypi systemd[1]: Started The Apache HTTP Ser
...skipping...
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; ve
Active: active (running) since Sat 2018-01-27 10:37:17 UTC; 1h 4
Process: 1518 ExecStop=/usr/sbin/apachectl stop (code=exited, sta
Process: 1525 ExecStart=/usr/sbin/apachectl start (code=exited, s
Main PID: 1530 (apache2)
CGroup: /system.slice/apache2.service
├─1530 /usr/sbin/apache2 -k start
├─1532 /usr/sbin/apache2 -k start
└─1533 /usr/sbin/apache2 -k start
ene 27 10:37:17 raspberrypi systemd[1]: Starting The Apache HTTP Se
ene 27 10:37:17 raspberrypi apachectl[1525]: AH00558: apache2: Coul
ene 27 10:37:17 raspberrypi systemd[1]: Started The Apache HTTP Ser
~
Lo que no me genera es ningún aechvo weewx dado que la consola no está conectada y el log me da error de conexión con la consola, ¿es correcto? ¿o debería generar algo igualmente?
Jan 27 08:32:05 raspberrypi weewx[366]: Starting weewx weather system: weewxerror: unexpectedly disconnected from boot status daemon
Jan 27 08:32:06 raspberrypi weewx[525]: engine: Initializing weewx version 3.8.0
Jan 27 08:32:06 raspberrypi weewx[525]: engine: Using Python 2.7.13 (default, Nov 24 2017, 17:33:09) #012[GCC 6.3.0 20170516]
Jan 27 08:32:06 raspberrypi weewx[525]: engine: Platform Linux-4.9.59-v7+-armv7l-with-debian-9.3
Jan 27 08:32:06 raspberrypi weewx[525]: engine: Locale is 'en_GB.UTF-8'
Jan 27 08:32:06 raspberrypi weewx[525]: engine: pid file is /var/run/weewx.pid
Jan 27 08:32:06 raspberrypi weewx[366]: .
Jan 27 08:32:06 raspberrypi weewx[539]: engine: Using configuration file /etc/weewx/weewx.conf
Jan 27 08:32:06 raspberrypi weewx[539]: engine: Loading station type Vantage (weewx.drivers.vantage)
Jan 27 08:32:06 raspberrypi weewx[539]: import of driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0' (<class 'serial.serialutil.SerialException'>)
Jan 27 08:32:06 raspberrypi weewx[539]: engine: Unable to load driver: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Jan 27 08:32:06 raspberrypi weewx[539]: **** Exiting...
Lo que sí me sigue saliendo:
pi@raspberrypi:~ $ php --version
-bash: php: no se encontró la orden
Muchas gracias.
-
Si no decís que tipo de imagen habéis cargado es muy complicado el ayudar
EN RASPBERRY PI SIEMPRE HAY QUE USAR LA IMAGEN RASPBIAN LITERAL
Dejad ya de usar la cosa esa de NOOBBS.
Por otro lado, ojo no es necesario usarlo con sudo.
Si php no se ejecuta, es que no está instalado, aunque no es estrictamente necesario.
Para instalarlo habrá que hacerlo de la forma tradicional
sudo apt install php5
En cuanto a los directorios, no se a que os referís. Tenéis que ser un poco más explícitos en los mensajes. Mis dotes de adivino se han ido gastando con la edad.
Saludos
-
Hola.
Gracias por responder, y perdona la imprecisión.
Cargué la imagen de Raspbian Stretch with desktop de https://www.raspberrypi.org/downloads/raspbian/ y después descargué y ejecuté tu script http://jantoni.no-ip.org/download/raspweather/weewx.sh
No me instala php:
pi@raspberrypi:~ $ sudo apt install php5
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
El paquete php5 no está disponible, pero algún otro paquete hace referencia
a él. Esto puede significar que el paquete falta, está obsoleto o sólo se
encuentra disponible desde alguna otra fuente
E: El paquete «php5» no tiene un candidato para la instalación
pi@raspberrypi:~ $
Respecto a la no existencia de la carpeta /etc/www/, ya está solucionado dado que apache2 lo he instalado y funciona. Lo que no se me crean son las pàginas con los datos (index.htm, etc.) o la plantilla de meteoclimatic.htm , que yo creo que es porque la raspberry no está conectada a la consola de la estación, y me da los errores indicados en el mensaje anterior de que no encuentra la estación. No sé como cambiar a modo simulador en weewx.conf para poder probarlo.
Gracias.
-
Creo que php5 no está en el repositorio para la Raspbian de Stretch... prueba con php 7...
sudo apt-get install php7.0
-
Y por lo que te dice weewx está intentado cargar el driver de la vantage y al no tener nada conectado pues se sale.
Si lo pones en modo simulador si no recoge datos de ningún sitio no creo que tampoco escriba ni genere nada.
-
Muchas gracias.
Ahora con php7 y en modo simulador ya me lo ha generado todo, muchas gracias.
plau2