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 - Tiempo Málaga

Páginas: 1 2 [3]
31
Davis Instruments / Re:Opiniones de datalogger alternativos
« en: 07 de Octubre del 2019, 13:05:24 pm »
Buenas,

Muy lento también en mi caso. Lo pagué el 15 de agosto y el 11 de septiembre me llegó un correo de paypal diciendo que ya estaba en camino. Para colmo, cuando en Royal Mail ponía el número de seguimiento que venía en el correo, no lo identificaba, así que le escribí a Rob. Me dijo hace ya 5 días que encontraría el número de seguimiento correcto, pero hoy le he vuelto a escribir al seguir sin saber nada. Estoy algo nervioso, espero que llegue ya y ponerlo en funcionamiento porque van a ser ya casi 2 meses desde que lo compré...

32
De acuerdo, pues ya supongo que todo en orden. Muchísimas gracias por tu ayuda, ya puedo ver en la web datos subidos con la raspberry.

33
*VER=DATA2 *COD=ESAND2900000029651A *SIG= *UPD=25/08/2019 23:51 *TMP=24,9 *WND=4,8 *AZI=ESE *BAR=1015,27 *HUM=79 *SUN=0 *UVI=0,0 *DHTM=26,5 *DLTM=0,0 *DHHM=79 *DLHM=0 *DHBR=1016,76 *DLBR=0,00 *DGST=22,5 *DSUN= *DHUV= *DPCP=0,0 *WRUN=30,0 *MHTM=28,1 *MLTM=24,8 *MHHM=79 *MLHM=54 *MHBR=1017,88 *MLBR=1014,73 *MGST=25,7 *MSUN= *MHUV= *MPCP=0,0 *YHTM=28,1 *YLTM=24,8 *YHHM=79 *YLHM=54 *YHBR=1017,88 *YLBR=1014,73 *YGST=25,7 *YSUN= *YHUV= *YPCP=0,0 *EOT*

34
Parece que mejora el asunto

Código: [Seleccionar]
pi@raspberrypi:~ $ /home/pi/star_meteoclimatic_linux/meteoclimatic.sh
+PHP Warning:  A non-numeric value encountered in /home/pi/star_meteoclimatic_linux/meteoclimatic_http.php.old on line 79
PHP Warning:  A non-numeric value encountered in /home/pi/star_meteoclimatic_linux/meteoclimatic_http.php.old on line 80
PHP Warning:  A non-numeric value encountered in /home/pi/star_meteoclimatic_linux/meteoclimatic_http.php.old on line 81
PHP Warning:  A non-numeric value encountered in /home/pi/star_meteoclimatic_linux/meteoclimatic_http.php.old on line 83
PHP Warning:  A non-numeric value encountered in /home/pi/star_meteoclimatic_linux/meteoclimatic_http.php.old on line 84
PHP Warning:  A non-numeric value encountered in /home/pi/star_meteoclimatic_linux/meteoclimatic_http.php.old on line 85
-- 25/08/2019 21:27:44 --
HTTP/1.1 202 Accepted
Date: Sun, 25 Aug 2019 21:27:39 GMT
Server: Apache/2.4.10 (Debian)
X-Error: 202 Accepted
X-Errors: DLTM < MLTM;DLTM < YLTM;DLHM < MLHM;DLHM < YLHM;1 < DLHM < 100;DLBR < MLBR;DLBR < YLBR;950 < DLBR < 1070
X-DigestKey:
Content-Length: 179
Content-Type: text/plain;charset=UTF-8

*ERR=DLTM < MLTM;DLTM < YLTM;DLHM < MLHM;DLHM < YLHM;1 < DLHM < 100;DLBR < MLBR;DLBR < YLBR;950 < DLBR < 1070
Ver: 3a - ID: ESAND2900000029651A
Query Length: 139
202: Accepted

Ya imagino que los errores serán derivados de valores extremos, ¿es así?

35
Sí, yo la veo ahí en el gestor de archivos. Lo que pasa es que no está actualizada porque no tengo la estación conectada ahora mismo, ¿puede ser por eso?

Código: [Seleccionar]
pi@raspberrypi:~ $ ls -l /home/pi
total 60
drwxr-xr-x 9 pi   pi   4096 ago 23 16:25 CumulusMX
drwxr-xr-x 2 pi   pi   4096 ago 25 14:34 Desktop
drwxr-xr-x 2 pi   pi   4096 jul 10 02:42 Documents
drwxr-xr-x 2 pi   pi   4096 jul 10 02:42 Downloads
drwxr-xr-x 2 pi   pi   4096 jul 10 02:15 MagPi
-rw-r--r-- 1 root root  479 ago 25 12:23 meteoclimatic.html
-rw-r--r-- 1 pi   pi    210 ago 25 22:52 meteoclimatic.sh
-rw-r--r-- 1 pi   pi    696 ago 23 15:48 meteoclimaticT.html
-rw-r--r-- 1 root root  479 ago 25 12:23 meteoclimaticT.htmltmp
drwxr-xr-x 2 pi   pi   4096 jul 10 02:42 Music
drwxr-xr-x 2 pi   pi   4096 jul 10 02:42 Pictures
drwxr-xr-x 2 pi   pi   4096 jul 10 02:42 Public
drwxr-xr-x 2 pi   pi   4096 ago 25 22:54 star_meteoclimatic_linux
drwxr-xr-x 2 pi   pi   4096 jul 10 02:42 Templates
drwxr-xr-x 2 pi   pi   4096 jul 10 02:42 Videos

36
Efectivamente, edité el archivo con el bloc de notas sin saber lo que podía pasar. Parece que va mejorando, pero me sale esto y no entiendo muy bien qué debo hacer ahora:

Código: [Seleccionar]
pi@raspberrypi:~ $ /home/pi/star_meteoclimatic_linux/meteoclimatic.sh
/home/pi/meteoclimatic.html?

37
Esa es la cosa, parece que falla el archivo .sh pero cuando me meto me parece que está bien. Lo he adjuntado en este mensaje.


38
Muchas gracias por la respuesta. Me sale esto:

Código: [Seleccionar]
pi@raspberrypi:~ $ sudo chmod +x /home/pi/star_meteoclimatic_linux/meteoclimatic.sh
pi@raspberrypi:~ $ ls -l /home/pi/star_meteoclimatic_linux
total 52
-rw-r--r-- 1 pi pi 19604 ago 25 12:04 meteoclimatic_http.php
-rw-r--r-- 1 pi pi 19049 ago 25 12:04 meteoclimatic_http.php.old
-rw-r--r-- 1 pi pi   179 ago 25 12:04 meteoclimatic.ini
-rw-r--r-- 1 pi pi   320 ago 25 12:04 meteoclimatic.log
-rwxr-xr-x 1 pi pi   220 ago 25 12:04 meteoclimatic.sh

Ahora tengo esto:
Código: [Seleccionar]
pi@raspberrypi:~ $ sudo /home/pi/star_meteoclimatic_linux/meteoclimatic.sh
/home/pi/star_meteoclimatic_linux/meteoclimatic.sh: 1: /home/pi/star_meteoclimat: not foundteoclimatic.sh:
/home/pi/star_meteoclimatic_linux/meteoclimatic.sh: 3: cd: can't cd to /home/pi/star_meteoclimatic_linux
Could not open input file: meteoclimatic_http.php.old
/home/pi/star_meteoclimatic_linux/meteoclimatic.sh: 8: /home/pi/star_meteoclimat: not foundteoclimatic.sh: exit
/home/pi/star_meteoclimatic_linux/meteoclimatic.sh: 9: /home/pi/star_meteoclimat: not foundteoclimatic.sh:
/home/pi/star_meteoclimatic_linux/meteoclimatic.sh: 10: /home/pi/star_meteoclima: not foundeteoclimatic.sh:

39
Buenas, hace poco que compré la Raspberry sin tener idea de cómo usarla... De momento he sido capaz de conectar la estación a CumulusMX y que el programa genere el archivo meteoclimatic.html en /home/pi. Pero encuentro problemas para ejecutar meteoclimatic.sh. En /home/pi tengo la carpeta star_meteoclimatic_linux con todos los archivos (el .ini, el log, php, php.old y el .sh). La cuestión es que cuando abro el terminal, pongo
Código: [Seleccionar]
pi@raspberrypi:~ $ sudo /home/pi/star_meteoclimatic_linux/meteoclimatic.shY la respuesta es:
Código: [Seleccionar]
pi@raspberrypi:~ $ sudo /home/pi/star_meteoclimatic_linux/meteoclimatic.sh
sudo: /home/pi/star_meteoclimatic_linux/meteoclimatic.sh: command not found

Y me extraña mucho porque veo que el directorio y el archivo están ahí, por eso no entiendo que me ponga command not found. Adjunto también los archivos .ini y el .sh

Código: [Seleccionar]
[Global]
Stations=ESAND2900000029651A
DigestKey=

[ESAND2900000029651A]
Path=/home/pi/meteoclimatic.html
Password=******
StationVendor=Davis
StationModel=Vantage Vue

Código: [Seleccionar]

#!/bin/bash

cd /home/pi/star_meteoclimatic_linux

#Si no quieres log

php meteoclimatic_http.php.old

#Si quieres log

#php meteoclimatic_http.php.old >> /home/pi/star_meteoclimatic_linux/meteoclimatic.log

exit

Agradezco vuestra ayuda.

Páginas: 1 2 [3]