Software > WeeWX
Puesta en marcha PCE-FWS 20 con Raspberry Pi y WeeWX
zann:
Este es el resultado:
pi@raspberrypi ~ $ tail -n 100 -f /var/log/weewx.log
Nov 14 19:32:57 raspberrypi weewx[2429]: fousb: polling mode is PERIODIC
Nov 14 19:32:57 raspberrypi weewx[2429]: fousb: polling interval is 300
Nov 14 19:32:57 raspberrypi weewx[2429]: fousb: found station on USB bus=001 device=004
Nov 14 19:32:57 raspberrypi weewx[2429]: engine: StdConvert target unit is 0x1
Nov 14 19:32:57 raspberrypi weewx[2429]: engine: Archive will use data binding wx_binding
Nov 14 19:32:57 raspberrypi weewx[2429]: engine: Record generation will be attempted in 'hardware'
Nov 14 19:33:12 raspberrypi weewx[2429]: fousb: get archive interval failed attempt 1 of 3: could not detach kernel driver from interface 0: No data available
Nov 14 19:33:27 raspberrypi weewx[2429]: fousb: get archive interval failed attempt 2 of 3: could not detach kernel driver from interface 0: No data available
Nov 14 19:33:42 raspberrypi weewx[2429]: fousb: get archive interval failed attempt 3 of 3: could not detach kernel driver from interface 0: No data available
Nov 14 19:33:42 raspberrypi weewx[2429]: engine: Caught WeeWxIOError: Unable to read archive interval after 3 tries
Nov 14 19:33:42 raspberrypi weewx[2429]: **** Waiting 60 seconds then retrying...
Nov 14 19:34:42 raspberrypi weewx[2429]: engine: retrying...
Nov 14 19:34:42 raspberrypi weewx[2429]: engine: Using configuration file /etc/weewx/weewx.conf
Nov 14 19:34:42 raspberrypi weewx[2429]: engine: Loading station type FineOffsetUSB (weewx.drivers.fousb)
Nov 14 19:34:42 raspberrypi weewx[2429]: fousb: driver version is 1.7
Nov 14 19:34:42 raspberrypi weewx[2429]: fousb: polling mode is PERIODIC
Nov 14 19:34:42 raspberrypi weewx[2429]: fousb: polling interval is 300
Nov 14 19:34:42 raspberrypi weewx[2429]: fousb: found station on USB bus=001 device=004
Nov 14 19:34:42 raspberrypi weewx[2429]: engine: StdConvert target unit is 0x1
Nov 14 19:34:42 raspberrypi weewx[2429]: engine: Archive will use data binding wx_binding
Nov 14 19:34:42 raspberrypi weewx[2429]: engine: Record generation will be attempted in 'hardware'
Nov 14 19:34:57 raspberrypi weewx[2429]: fousb: get archive interval failed attempt 1 of 3: could not detach kernel driver from interface 0: No data available
Nov 14 19:35:12 raspberrypi weewx[2429]: fousb: get archive interval failed attempt 2 of 3: could not detach kernel driver from interface 0: No data available
Nov 14 19:35:27 raspberrypi weewx[2429]: fousb: get archive interval failed attempt 3 of 3: could not detach kernel driver from interface 0: No data available
Nov 14 19:35:27 raspberrypi weewx[2429]: engine: Caught WeeWxIOError: Unable to read archive interval after 3 tries
Nov 14 19:35:27 raspberrypi weewx[2429]: **** Waiting 60 seconds then retrying...
Nov 14 19:36:27 raspberrypi weewx[2429]: engine: retrying...
Nov 14 19:36:27 raspberrypi weewx[2429]: engine: Using configuration file /etc/weewx/weewx.conf
Nov 14 19:36:27 raspberrypi weewx[2429]: engine: Loading station type FineOffsetUSB (weewx.drivers.fousb)
Nov 14 19:36:27 raspberrypi weewx[2429]: fousb: driver version is 1.7
Nov 14 19:36:27 raspberrypi weewx[2429]: fousb: polling mode is PERIODIC
Nov 14 19:36:27 raspberrypi weewx[2429]: fousb: polling interval is 300
Nov 14 19:36:27 raspberrypi weewx[2429]: fousb: found station on USB bus=001 device=004
Nov 14 19:36:27 raspberrypi weewx[2429]: engine: StdConvert target unit is 0x1
Nov 14 19:36:27 raspberrypi weewx[2429]: engine: Archive will use data binding wx_binding
Nov 14 19:36:27 raspberrypi weewx[2429]: engine: Record generation will be attempted in 'hardware'
Nov 14 19:36:42 raspberrypi weewx[2429]: fousb: get archive interval failed attempt 1 of 3: could not detach kernel driver from interface 0: No data available
Nov 14 19:36:57 raspberrypi weewx[2429]: fousb: get archive interval failed attempt 2 of 3: could not detach kernel driver from interface 0: No data available
Nov 14 19:37:12 raspberrypi weewx[2429]: fousb: get archive interval failed attempt 3 of 3: could not detach kernel driver from interface 0: No data available
Nov 14 19:37:12 raspberrypi weewx[2429]: engine: Caught WeeWxIOError: Unable to read archive interval after 3 tries
Nov 14 19:37:12 raspberrypi weewx[2429]: **** Waiting 60 seconds then retrying...
Nov 14 19:38:12 raspberrypi weewx[2429]: engine: retrying...
Nov 14 19:38:12 raspberrypi weewx[2429]: engine: Using configuration file /etc/weewx/weewx.conf
Nov 14 19:38:12 raspberrypi weewx[2429]: engine: Loading station type FineOffsetUSB (weewx.drivers.fousb)
Nov 14 19:38:12 raspberrypi weewx[2429]: fousb: driver version is 1.7
Nov 14 19:38:12 raspberrypi weewx[2429]: fousb: polling mode is PERIODIC
Nov 14 19:38:12 raspberrypi weewx[2429]: fousb: polling interval is 300
Nov 14 19:38:12 raspberrypi weewx[2429]: fousb: found station on USB bus=001 device=004
Nov 14 19:38:12 raspberrypi weewx[2429]: engine: StdConvert target unit is 0x1
Nov 14 19:38:12 raspberrypi weewx[2429]: engine: Archive will use data binding wx_binding
Nov 14 19:38:12 raspberrypi weewx[2429]: engine: Record generation will be attempted in 'hardware'
Nov 14 19:38:27 raspberrypi weewx[2429]: fousb: get archive interval failed attempt 1 of 3: could not detach kernel driver from interface 0: No data available
Nov 14 19:38:42 raspberrypi weewx[2429]: fousb: get archive interval failed attempt 2 of 3: could not detach kernel driver from interface 0: No data available
Nov 14 19:38:57 raspberrypi weewx[2429]: fousb: get archive interval failed attempt 3 of 3: could not detach kernel driver from interface 0: No data available
Nov 14 19:38:57 raspberrypi weewx[2429]: engine: Caught WeeWxIOError: Unable to read archive interval after 3 tries
Nov 14 19:38:57 raspberrypi weewx[2429]: **** Waiting 60 seconds then retrying...
Nov 14 19:39:57 raspberrypi weewx[2429]: engine: retrying...
Nov 14 19:39:58 raspberrypi weewx[2429]: engine: Using configuration file /etc/weewx/weewx.conf
Nov 14 19:39:58 raspberrypi weewx[2429]: engine: Loading station type FineOffsetUSB (weewx.drivers.fousb)
Nov 14 19:39:58 raspberrypi weewx[2429]: fousb: driver version is 1.7
Nov 14 19:39:58 raspberrypi weewx[2429]: fousb: polling mode is PERIODIC
Nov 14 19:39:58 raspberrypi weewx[2429]: fousb: polling interval is 300
Nov 14 19:39:58 raspberrypi weewx[2429]: fousb: found station on USB bus=001 device=004
Nov 14 19:39:58 raspberrypi weewx[2429]: engine: StdConvert target unit is 0x1
Nov 14 19:39:58 raspberrypi weewx[2429]: engine: Archive will use data binding wx_binding
Nov 14 19:39:58 raspberrypi weewx[2429]: engine: Record generation will be attempted in 'hardware'
Nov 14 19:40:13 raspberrypi weewx[2429]: engine: Terminating weewx version 3.2.1
Nov 14 19:40:28 raspberrypi weewx[2571]: engine: Initializing weewx version 3.2.1
Nov 14 19:40:28 raspberrypi weewx[2571]: engine: Using Python 2.7.3 (default, Mar 18 2014, 05:13:23) #012[GCC 4.6.3]
Nov 14 19:40:28 raspberrypi weewx[2571]: engine: Platform Linux-4.1.7-v7+-armv7l-with-debian-7.8
Nov 14 19:40:28 raspberrypi weewx[2571]: engine: pid file is /var/run/weewx.pid
Nov 14 19:40:28 raspberrypi weewx[2575]: engine: Using configuration file /etc/weewx/weewx.conf
Nov 14 19:40:28 raspberrypi weewx[2575]: engine: Loading station type FineOffsetUSB (weewx.drivers.fousb)
Nov 14 19:40:28 raspberrypi weewx[2575]: fousb: driver version is 1.7
Nov 14 19:40:28 raspberrypi weewx[2575]: fousb: polling mode is PERIODIC
Nov 14 19:40:28 raspberrypi weewx[2575]: fousb: polling interval is 300
Nov 14 19:40:28 raspberrypi weewx[2575]: fousb: found station on USB bus=001 device=004
Nov 14 19:40:28 raspberrypi weewx[2575]: engine: StdConvert target unit is 0x1
Nov 14 19:40:28 raspberrypi weewx[2575]: engine: Archive will use data binding wx_binding
Nov 14 19:40:28 raspberrypi weewx[2575]: engine: Record generation will be attempted in 'hardware'
Nov 14 19:40:43 raspberrypi weewx[2575]: fousb: get archive interval failed attempt 1 of 3: could not detach kernel driver from interface 0: No hay datos disponibles
Nov 14 19:40:58 raspberrypi weewx[2575]: fousb: get archive interval failed attempt 2 of 3: could not detach kernel driver from interface 0: No hay datos disponibles
Nov 14 19:41:13 raspberrypi weewx[2575]: fousb: get archive interval failed attempt 3 of 3: could not detach kernel driver from interface 0: No hay datos disponibles
Nov 14 19:41:13 raspberrypi weewx[2575]: engine: Caught WeeWxIOError: Unable to read archive interval after 3 tries
Nov 14 19:41:13 raspberrypi weewx[2575]: **** Waiting 60 seconds then retrying...
Nov 14 19:42:13 raspberrypi weewx[2575]: engine: retrying...
Nov 14 19:42:13 raspberrypi weewx[2575]: engine: Using configuration file /etc/weewx/weewx.conf
Nov 14 19:42:13 raspberrypi weewx[2575]: engine: Loading station type FineOffsetUSB (weewx.drivers.fousb)
Nov 14 19:42:13 raspberrypi weewx[2575]: fousb: driver version is 1.7
Nov 14 19:42:13 raspberrypi weewx[2575]: fousb: polling mode is PERIODIC
Nov 14 19:42:13 raspberrypi weewx[2575]: fousb: polling interval is 300
Nov 14 19:42:13 raspberrypi weewx[2575]: fousb: found station on USB bus=001 device=004
Nov 14 19:42:13 raspberrypi weewx[2575]: engine: StdConvert target unit is 0x1
Nov 14 19:42:13 raspberrypi weewx[2575]: engine: Archive will use data binding wx_binding
Nov 14 19:42:13 raspberrypi weewx[2575]: engine: Record generation will be attempted in 'hardware'
Nov 14 19:42:28 raspberrypi weewx[2575]: fousb: get archive interval failed attempt 1 of 3: could not detach kernel driver from interface 0: No hay datos disponibles
Nov 14 19:42:43 raspberrypi weewx[2575]: fousb: get archive interval failed attempt 2 of 3: could not detach kernel driver from interface 0: No hay datos disponibles
Nov 14 19:42:58 raspberrypi weewx[2575]: fousb: get archive interval failed attempt 3 of 3: could not detach kernel driver from interface 0: No hay datos disponibles
Nov 14 19:42:58 raspberrypi weewx[2575]: engine: Caught WeeWxIOError: Unable to read archive interval after 3 tries
Nov 14 19:42:58 raspberrypi weewx[2575]: **** Waiting 60 seconds then retrying...
jantoni:
Con ese log, se puede ver que detecta la consola, pero que no puede recuperar datos.
Esto ya es una lotería.
Primero mira que haya comunicación correcta con:
sudo wee_config_device --info
Si se ve un churro de datos es que hay comunicación.
Cambios a probar:
Poner ADAPTIVE en lugar de PERIODIC en el fichero de configuración en la sección de la Fine Offset
Poner que la generación es por software en lugar de por hardware, para pasar de la memoria de la consola, localiza el campo generation_record
Desconectar alimentación y baterías y dejar que la consola se reinicie.
Saludos.
zann:
sudo wee_config_device --info no me funciona nunca, probaré a conectar el ordenador y cambiar el tiempo de generación de la consola a 5 minutos con Easyweather, que era algo que tenía pendiente. A ver si así y toqueteando el tema me vuelve a arrancar...
Con lo bien que iba y sin errores... :-X
Gracias Jantoni ;)
zann:
Hola de nuevo, una pregunta bastante principiante :-[:
Las unidades de velocidad del viento según la configuración que tengo en el Weewx y meteoclimatic son en m/s, mientras que en otros servidores las tengo en Km/h. ¿Cómo cambiar esas unidades para que en Meteoclimatic salgan también en Km/h?
Gracias!
jantoni:
En meteoclimatic en m/s??? ???
Pon un ejemplo de lo que quieres modificar....es más ilustrativo.....
Navegación
[#] Página Siguiente
[*] Página Anterior
Ir a la versión completa