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 - zann

Páginas: [1] 2
1
WeeWX / Re:Instalación de Weewx automatizada
« en: 25 de Junio del 2017, 16:49:46 pm »
Bueno pues al final lo he podido instalar, pero ahora no doy con el archivo weewx.conf para configurar más cosas... antes bastaba con entrar con el comando sudo nano /etc/weewx/weewx.conf pero ahora no debe estar en esa ruta  :'( :'( :'( :'( :;

2
WeeWX / Re:Instalación de Weewx automatizada
« en: 25 de Junio del 2017, 14:53:14 pm »
uy uy uy

He seguido todos los pasos y no hay manera! alguien sabe a qué puede ser debido? he tenido que crear una carpeta llamada ssh para poder acceder por Putty a la Raspberry pues con la nueva versión del Raspbian no me dejaba, no se si eso tiene algo que ver...

3
WeeWX / Re:Instalación de Weewx automatizada
« en: 25 de Junio del 2017, 12:12:27 pm »
Hola Jose Antonio,

Lo acabo de probar y en el punto 4 me sale esto:

pi@raspberrypi:~ $ sudo ./weewx.sh
./weewx.sh: 2: ./weewx.sh: Syntax error: newline unexpected

Hola a todos, a mi me sale ese error todo el rato y no se a qué puede deberse:

pi@raspberrypi:~ $ sudo ./weewx.sh
./weewx.sh: 2: ./weewx.sh: Syntax error: newline unexpected

 :;


4
WeeWX / Re:Puesta en marcha PCE-FWS 20 con Raspberry Pi y WeeWX
« en: 21 de Noviembre del 2015, 14:13:18 pm »
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!

5
WeeWX / Re:Puesta en marcha PCE-FWS 20 con Raspberry Pi y WeeWX
« en: 14 de Noviembre del 2015, 21:03:32 pm »
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  ;)

6
WeeWX / Re:Puesta en marcha PCE-FWS 20 con Raspberry Pi y WeeWX
« en: 14 de Noviembre del 2015, 20:38:01 pm »
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...

7
WeeWX / Re:Puesta en marcha PCE-FWS 20 con Raspberry Pi y WeeWX
« en: 14 de Noviembre del 2015, 19:27:06 pm »
Qué código hay que meter?  ::)

8
WeeWX / Re:Puesta en marcha PCE-FWS 20 con Raspberry Pi y WeeWX
« en: 14 de Noviembre del 2015, 12:33:48 pm »
Hola, esta mañana de repente la estación ha dejado de emitir datos. Si entro a syslog me sale lo siguente:


pi@raspberrypi ~ $ sudo tail -f /var/log/syslog
Nov 14 12:19:06 raspberrypi kernel: [   38.340621] uart-pl011 3f201000.uart: no DMA platform data
Nov 14 12:19:07 raspberrypi avahi-daemon[2420]: Server startup complete. Host name is raspberrypi.local. Local service cookie is 1478184763.
Nov 14 12:19:08 raspberrypi avahi-daemon[2420]: Service "raspberrypi" (/services/udisks.service) successfully established.
Nov 14 12:19:08 raspberrypi kernel: [   39.713005] cfg80211: Calling CRDA to update world regulatory domain
Nov 14 12:19:33 raspberrypi kernel: [   42.873077] cfg80211: Calling CRDA to update world regulatory domain
Nov 14 12:19:36 raspberrypi kernel: [   46.033054] cfg80211: Calling CRDA to update world regulatory domain
Nov 14 12:19:39 raspberrypi kernel: [   49.193098] cfg80211: Calling CRDA to update world regulatory domain
Nov 14 12:19:42 raspberrypi kernel: [   52.353105] cfg80211: Calling CRDA to update world regulatory domain
Nov 14 12:19:45 raspberrypi kernel: [   55.513111] cfg80211: Calling CRDA to update world regulatory domain
Nov 14 12:19:48 raspberrypi kernel: [   58.673093] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA

¿A qué puede deberse?

Gracias

9
WeeWX / Re:Puesta en marcha PCE-FWS 20 con Raspberry Pi y WeeWX
« en: 15 de Octubre del 2015, 19:43:13 pm »
Hola, tengo una duda, en la web generada por Weewx al traducir a mano todo al castellano y ponerla en marcha de nuevo en mi navegador (Mozilla)  salen errores en todas las letras que llevan tilde. Por lo que estoy viendo esto depende del navegador con el que entro, porque si entro desde el móvil no hay problema, pero ¿hay alguna forma de corregir eso?

Saludos

10
Software de Meteoclimatic / Re:Utilidad para subir datos a Meteoclimatic con Linux
« en: 15 de Octubre del 2015, 19:12:04 pm »
Zann, Meteoclimatic ya está cogiendo los datos.

Pero tu no necesitas la herramienta de Linux para nada. La herramienta de Linux es solo para mandar desde tu ordenador los datos a Meteoclimatic.

Y lo que estás haciendo ahora mismo es indicar a Meteoclimatic que recoja los datos en tu web.

Es parecido, pero la dirección del envío es inversa 8) 8) 8) 8) 8)

Si si, me di cuenta que el tema de Linux era desde ordenador  ;D de momento todo ok

Gracias!

11
Software de Meteoclimatic / Re:Utilidad para subir datos a Meteoclimatic con Linux
« en: 14 de Octubre del 2015, 20:20:44 pm »
Bueno pues hasta aquí todo bien. Ya se está publicando mi plantilla y estoy a la espera de que Meteoclimatic coja los datos del servidor web (http://meteopuenteromano.no-ip.org/weewx/meteoclimatic.htm) aunque de momento no ha pillado los datos. En la página de Meteoclimatic, donde pone "Software utilizado" no aparece como predefinido Weewx. ¿Qué opción habría que marcar?

12
WeeWX / Re:Puesta en marcha PCE-FWS 20 con Raspberry Pi y WeeWX
« en: 14 de Octubre del 2015, 09:04:26 am »
Muchísimas gracias Jantoni, todo OK  ;)

13
WeeWX / Re:Puesta en marcha PCE-FWS 20 con Raspberry Pi y WeeWX
« en: 13 de Octubre del 2015, 20:34:21 pm »
Hola de nuevo, algunos problemas detectados en el proceso de instalación:

En la dirección web que he elegido para el redireccionamiento (meteopuenteromano.no-ip.org) si no pongo /weewx no me sale la página de inicio. He copiado el archivo html de la carpeta weewx y lo he pegado fuera, pero sólo queda texto limpio ¿Qué hay que hacer para que la web salga sin necesidad de poner / y la carpeta ruta al index.html?

Por otro lado llevo un tiempo observando que sólo me marca la presión relativa, pese a que en la consola de la estación marca la presión absoluta. ¿A qué puede ser debido esto?  :-[

Gracias y saludos


14
Software de Meteoclimatic / Re:Utilidad para subir datos a Meteoclimatic con Linux
« en: 13 de Octubre del 2015, 17:46:23 pm »
Teóricamente no hay problema en dejarlo en /home/pi ya que en /etc/crontab le estás dando permiso de ejecución de root.

Saludos.

Ok. El tema de la plantilla de Meteoclimatic, la duda me surge porque la que descargo es Meteoclimatic.htm.html y yo pensaba que la extensión es simplemente htm.  ???

15
Software de Meteoclimatic / Re:Utilidad para subir datos a Meteoclimatic con Linux
« en: 13 de Octubre del 2015, 16:41:07 pm »
Una pregunta, quizá parezca una tontería pero con tanto dato me pierdo: ¿ meteoclimatic.htm es la plantilla que descargarmos del propio Meteoclimatic, renombrada y colocada en /etc/weewx/skins/Standard/ ? ¿Entiendo que esos cuatro archivos que se descargan puedo dejarlos por ejemplo en /home/pi para no darles muchas vueltas... ?

sudo mv origen destino va perfectamente, gracias!


Páginas: [1] 2