Estaciones Meteoclimatic > Envío de datos a Meteoclimatic
Utilidad para subir datos a Meteoclimatic con Linux
jmviper:
prueba a actualizarla
Tiempo Málaga:
Parece que mejora el asunto
--- Código: ---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
--- Fin del código ---
Ya imagino que los errores serán derivados de valores extremos, ¿es así?
jmviper:
Puedes copiar esa plantilla de meteoclimatic.html quitando el campo SIG ?
Tiempo Málaga:
*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*
jmviper:
Ok es lo normal si has empezado ahora con él, no coincidirán muchos valores.
Si usas MX en Windows puedes copiar el contenido de su carpeta data a donde tienes instalado MX en la Raspi. Debería de ir bien la plantilla si no tenías inconsistencias en Windows.
Ya solo te quedaría configurar el crontab en la Raspi.
Navegación
[#] Página Siguiente
[*] Página Anterior
Ir a la versión completa