Meteoclimatic
Software => WeeWX => Mensaje iniciado por: sunbloquer en 24 de Diciembre del 2016, 11:55:25 am
-
En algun paso me he perdido o no he realizado bien, vamos a repasar.
Me voy a http://www.meteoclimatic.net/index/pg.0.plantilles.html?station_id=ESAST3300000033314A y me descargo la plantilla que he visto contiene mis datos, la ID y el SIG.
Hice lo que se habla en http://wiki.meteoclimatic.net/wiki/WeeWX_y_Meteoclimatic hay que indicar en la ficha de tu estación que vas a usar el software Weather Display y le cambie el nombre a meteoclimatic.htm.tmpl este archivo se encuentra en situado en
pi@raspberrypi:/etc/weewx/skins/Standard
*VER=DATA2
*COD=ESAST3300000033314A
*SIG= AQUI MI SIG
*UPD=%date% %time%
*TMP=%temp%
*WND=%10minavspeedinkmh%
*AZI=%avdir10minute%
*BAR=%baro%
*HUM=%hum%
*SUN=%VPsolar%
*UVI=%VPuv%
*DHTM=%maxtemp%
*DLTM=%mintemp%
*DHHM=%highhum%
*DLHM=%lowhum%
*DHBR=%highbaro%
*DLBR=%lowbaro%
*DGST=%todaygustspeedinkmh%
*DSUN=%highsolar%
*DHUV=%highuv%
*DPCP=%dayrn%
*WRUN=%windruntoday%
*MHTM=%monthtodatemaxtempcelsius%
*MLTM=%monthtodatemintemp%
*MHHM=%monthtodatemaxhum%
*MLHM=%monthtodateminhum%
*MHBR=%monthtodatemaxbaromb%
*MLBR=%monthtodateminbaromb%
*MGST=%monthtodatemaxgustkmh%
*MSUN=%mrecordhighsolar%
*MHUV=%mrecordhighuv%
*MPCP=%monthraininmm%
*YHTM=%yrecordhightemp%
*YLTM=%yrecordlowtemp%
*YHHM=%yrecordhighhum%
*YLHM=%yrecordlowhum%
*YHBR=%yrecordhighbaro%
*YLBR=%yrecordlowbaro%
*YGST=%yrecordwindgust%
*YSUN=%yrecordhighsolar%
*YHUV=%yrecordhighuv%
*YPCP=%yearlyraininmm%
*EOT*
Voy a sudo nano skin.conf y añado
[[[MobileRadar]]]
template = smartphone/radar.html.tmpl
[[[MeteoClimatic]]]
template = meteoclimatic.htm.tmpl
Me voy a la utilidad para el envio de datos, descargo el archivo y llevo los 4 a home/pi
sudo chown root:root meteoclimatic.sh
sudo chmod +x meteoclimatic.sh
introduzco los datos en meteoclimatic.ini es el fichero con la configuración de nuestra estación
Para los usuarios de mi imagen para weewx, debéis usar meteoclimatic_http.php
e inserto
Añado a /etc/crontab
# Envía datos a Meteoclimatic cada 15 minutos, empezando en el minuto 2 de cada hora
2-59/15 * * * * root /root/meteoclimatic.sh
La plantilla, en Weewx suele ser:
/var/www/weewx/meteoclimatic.htm
o
/var/www/weewx/meteoclimatic.html
el archivo meteoclimatic.htm lo tengo en pi@raspberrypi:/var/www/html/weewx
sudo /etc/init.d/weewx restart
Quizas sea algo obvio que se me pasa, de todas formas voy a cambiar para obtener el log que ahora esta deshabilitado y en el proximo post lo pongo.
El log a pesar de tenerlo como aparece por defecto en /var/log/meteoclimatic.log me lo crea en /home/pi
-- 15/03/2015 10:01:07 --
HTTP/1.1 202 Accepted
Date: Sun, 15 Mar 2015 10:01:01 GMT
Server: Apache/2.2.22 (Debian)
X-Powered-By: PHP/5.4.36-0+deb7u3
X-Error: 202 Accepted
X-DigestKey:
Vary: Accept-Encoding
Content-Length: 69
Content-Type: text/plain
Ver: 3a - ID: ESMAD2800000028522A
Query Length: 141
202: Accepted
Veo que la Key esta vacio a pesar de estar puesta bien, sera eso?
[Global]
Stations=ESAST3300000033314A
DigestKey=
[ESAST3300000033314A]
Path=/var/www/html/weewx/meteoclimatic.htm
Password= AQUI MI SIG
StationVendor=Davis
StationModel=Vantage Vue
Gracias
-
Mirando esto y ya digo de antemano que no tengo ni pajorela idea de esto, en la parte de añadir en /etc/crontab
2-59/15 * * * * root /home/pi/meteoclimatic.sh
que es lo que hace eso, meteoclimatic.sh la unica rutina que tiene es realizar el log no? no enviar datos, ::)
-
Me respondo a mi mismo, pi no tenia permisos para crear el log, cambio de permisos y
GET /?
T=;;;;;;&H=;;;;;;&B=;;;;;;&W=;;;;;&P=;;&S=;;;&V=;;;&U=3a;ESAST3300000033314A;4b285af9ba HTTP/1.0
HOST: pool.meteoclimatic.com
User-Agent: Meteoclimatic_HTTP/1.0 (Davis Vantage Vue)
-- 24/12/2016 13:32:06 --
HTTP/1.1 202 Accepted
Date: Sat, 24 Dec 2016 13:32:01 GMT
Server: Apache/2.4.10 (Debian)
X-Error: 202 Accepted
X-Errors: 1 < HUM < 100;1 < DHHM < 100;1 < DLHM < 100;1 < MHHM < 100;1 < MLHM < 100;1 < YHHM < 100;1 < YLHM < 100;950 < BAR < 1070;950 < DHBR < 1070;950 < DLBR < 1070;$
X-DigestKey:
Content-Length: 302
Content-Type: text/plain;charset=UTF-8
*ERR=1 < HUM < 100;1 < DHHM < 100;1 < DLHM < 100;1 < MHHM < 100;1 < MLHM < 100;1 < YHHM < 100;1 < YLHM < 100;950 < BAR < 1070;950 < DHBR < 1070;950 < DLBR < 1070;950 <$
Ver: 3a - ID: ESAST3300000033314A
Query Length: 87
202: Accepted
-
Tu pones esto en tu archivo meteoclimatic.html.tmpl :
*VER=DATA2
*COD=ESAST3300000033314A
*SIG= AQUI MI SIG
*UPD=%date% %time%
*TMP=%temp%
*WND=%10minavspeedinkmh%
*AZI=%avdir10minute%
*BAR=%baro%
*HUM=%hum%
*SUN=%VPsolar%
*UVI=%VPuv%
*DHTM=%maxtemp%
*DLTM=%mintemp%
*DHHM=%highhum%
*DLHM=%lowhum%
*DHBR=%highbaro%
*DLBR=%lowbaro%
*DGST=%todaygustspeedinkmh%
*DSUN=%highsolar%
*DHUV=%highuv%
*DPCP=%dayrn%
*WRUN=%windruntoday%
*MHTM=%monthtodatemaxtempcelsius%
*MLTM=%monthtodatemintemp%
*MHHM=%monthtodatemaxhum%
*MLHM=%monthtodateminhum%
*MHBR=%monthtodatemaxbaromb%
*MLBR=%monthtodateminbaromb%
*MGST=%monthtodatemaxgustkmh%
*MSUN=%mrecordhighsolar%
*MHUV=%mrecordhighuv%
*MPCP=%monthraininmm%
*YHTM=%yrecordhightemp%
*YLTM=%yrecordlowtemp%
*YHHM=%yrecordhighhum%
*YLHM=%yrecordlowhum%
*YHBR=%yrecordhighbaro%
*YLBR=%yrecordlowbaro%
*YGST=%yrecordwindgust%
*YSUN=%yrecordhighsolar%
*YHUV=%yrecordhighuv%
*YPCP=%yearlyraininmm%
*EOT*
Pero en el mismo manual que citas de la wiki te dice que lo rellenes con estos datos :
*VER=DATA2
*COD= <<<<<================= Indicar el código de estación en Meteoclimatic
*SIG= <<<<<================= Indicar el churro de letras y números que aparecen en el cmapo SIG de la plantilla descargada
*UPD=$current.dateTime.format("%d-%m-%Y %H:%M")
*TMP=$current.outTemp.formatted
*WND=$current.windSpeed.formatted
*AZI=$current.windDir.formatted
*BAR=$current.barometer.formatted
*HUM=$current.outHumidity.formatted
*SUN=$current.radiation.formatted
*UVI=$current.UV.formatted
*DHTM=$day.outTemp.max.formatted
*DLTM=$day.outTemp.min.formatted
*DHHM=$day.outHumidity.max.formatted
*DLHM=$day.outHumidity.min.formatted
*DHBR=$day.barometer.max.formatted
*DLBR=$day.barometer.min.formatted
*DGST=$day.windGust.max.formatted
*DSUN=$day.radiation.max.formatted
*DHUV=$day.UV.max.formatted
*DPCP=$day.rain.sum.formatted
*WRUN=
*MHTM=$month.outTemp.max.formatted
*MLTM=$month.outTemp.min.formatted
*MHHM=$month.outHumidity.max.formatted
*MLHM=$month.outHumidity.min.formatted
*MHBR=$month.barometer.max.formatted
*MLBR=$month.barometer.min.formatted
*MGST=$month.windGust.max.formatted
*MSUN=$month.radiation.max.formatted
*MHUV=$month.UV.max.formatted
*MPCP=$month.rain.sum.formatted
*YHTM=$year.outTemp.max.formatted
*YLTM=$year.outTemp.min.formatted
*YHHM=$year.outHumidity.max.formatted
*YLHM=$year.outHumidity.min.formatted
*YHBR=$year.barometer.max.formatted
*YLBR=$year.barometer.min.formatted
*YGST=$year.windGust.max.formatted
*YSUN=$year.radiation.max.formatted
*YHUV=$year.UV.max.formatted
*YPCP=$year.rain.sum.formatted
*EOT*
Creo que ese es tu error
-
Como te dice zapal has puesto la plantilla de Weather Display en vez de la de Weewx.
En la ficha de tu estación puedes poner Weewx como software utilizado y descargarte su plantilla o copiar y pegar a la que ya tienes los valores de Weewx.
-
Jeje, nos hemos solapado plau2 Esto es un soporte tecnico en condiciones.
-
Ok. Ya he editado yo la wiki quitando lo que hace referencia de WD en Weewx y meteoclimatic (http://wiki.meteoclimatic.net/wiki/WeeWX_y_Meteoclimatic) para que no haya más confusiones.
Ya se puede elegir Weewx como software y descargarse su plantilla directamente en la ficha de la estación.
Jeje, nos hemos solapado plau2 Esto es un soporte tecnico en condiciones.
Perfecto si hay doble soporte :D
-
Pues hecho. Si que es soporte si, a ver si se soluciona de esta apla3
Ahora esta así
DATA2
ESAST3300000033314A
AQUI MI SIG
%date% %time%
%temp%
%10minavspeedinkmh%
%avdir10minute%
%baro%
%hum%
%VPsolar%
%VPuv%
%maxtemp%
%mintemp%
%highhum%
%lowhum%
%highbaro%
%lowbaro%
%todaygustspeedinkmh%
%highsolar%
%highuv%
%dayrn%
%windruntoday%
%monthtodatemaxtempcelsius%
%monthtodatemintemp%
%monthtodatemaxhum%
%monthtodateminhum%
%monthtodatemaxbaromb%
%monthtodateminbaromb%
%monthtodatemaxgustkmh%
%mrecordhighsolar%
%mrecordhighuv%
%monthraininmm%
%yrecordhightemp%
%yrecordlowtemp%
%yrecordhighhum%
%yrecordlowhum%
%yrecordhighbaro%
%yrecordlowbaro%
%yrecordwindgust%
%yrecordhighsolar%
%yrecordhighuv%
%yearlyraininmm%
%date% %time%
GET /?
T=;;;;;;&H=;;;;;;&B=;;;;;;&W=;;;;;&P=;;&S=;;;&V=;;;&U=3a;ESAST3300000033314A;965674b285 HTTP/1.0
HOST: pool.meteoclimatic.com
User-Agent: Meteoclimatic_HTTP/1.0 (Davis Vantage Vue)
-- 24/12/2016 15:09:22 --
HTTP/1.1 202 Accepted
Date: Sat, 24 Dec 2016 15:09:16 GMT
Server: Apache/2.4.10 (Debian)
X-Error: 202 Accepted
X-Errors: 1 < HUM < 100;1 < DHHM < 100;1 < DLHM < 100;1 < MHHM < 100;1 < MLHM < 100;1 < YHHM < 100;1 < YLHM < 100;950 < BAR < 1070;950 < DHBR < 1070;950 < DLBR < 1070;950 < MHBR < 1070;950 < MLBR < 1070;950 < YHBR < 1070;950 < YLBR < 1070
X-DigestKey:
Content-Length: 302
Content-Type: text/plain;charset=UTF-8
*ERR=1 < HUM < 100;1 < DHHM < 100;1 < DLHM < 100;1 < MHHM < 100;1 < MLHM < 100;1 < YHHM < 100;1 < YLHM < 100;950 < BAR < 1070;950 < DHBR < 1070;950 < DLBR < 1070;950 < MHBR < 1070;950 < MLBR < 1070;950 < YHBR < 1070;950 < YLBR < 1070
Ver: 3a - ID: ESAST3300000033314A
Query Length: 87
202: Accepted
Cambie en skin.conf la metrica
group_altitude = meter # Options are 'foot' or 'meter'
group_degree_day = degree_C_day # Options are 'degree_F_day' or 'degree_C_day'
group_direction = degree_compass
group_moisture = centibar
group_percent = percent
group_pressure = mbar # Options are 'inHg', 'mmHg', 'mbar', or 'hPa'
group_radiation = watt_per_meter_squared
group_rain = mm # Options are 'inch', 'cm', or 'mm'
group_rainrate = mm_per_hour # Options are 'inch_per_hour', 'cm_per_hour', or 'mm_per_hour'
group_speed = km_per_hour # Options are 'mile_per_hour', 'km_per_hour', 'knot', or 'meter_per_second'
group_speed2 = km_per_hour2 # Options are 'mile_per_hour2', 'km_per_hour2', 'knot2', or 'meter_per_second2'
group_temperature = degree_C # Options are 'degree_F' or 'degree_C'
group_uv = uv_index
group_volt = volt
pero me da que esto sigue igual, no recoge ningun dato, temperatura, viento..... :; :; :; :; :; :; :;
-
Pero las lineas llevan un asterisco delante cada una. Lo tienes puesto ?
-
*VER=DATA2
*COD=ESAST3300000033314A
*SIG=
*UPD=$current.dateTime.format("%d-%m-%Y %H:%M")
*TMP=$current.outTemp.formatted
*WND=$current.windSpeed.formatted
*AZI=$current.windDir.formatted
*BAR=$current.barometer.formatted
*HUM=$current.outHumidity.formatted
*SUN=$current.radiation.formatted
*UVI=$current.UV.formatted
*DHTM=$day.outTemp.max.formatted
*DLTM=$day.outTemp.min.formatted
*DHHM=$day.outHumidity.max.formatted
*DLHM=$day.outHumidity.min.formatted
*DHBR=$day.barometer.max.formatted
*DLBR=$day.barometer.min.formatted
*DGST=$day.windGust.max.formatted
*DSUN=$day.radiation.max.formatted
*DHUV=$day.UV.max.formatted
*DPCP=$day.rain.sum.formatted
*WRUN=
*MHTM=$month.outTemp.max.formatted
*MLTM=$month.outTemp.min.formatted
*MHHM=$month.outHumidity.max.formatted
*MLHM=$month.outHumidity.min.formatted
*MHBR=$month.barometer.max.formatted
*MLBR=$month.barometer.min.formatted
*MGST=$month.windGust.max.formatted
*MSUN=$month.radiation.max.formatted
*MHUV=$month.UV.max.formatted
*MPCP=$month.rain.sum.formatted
*YHTM=$year.outTemp.max.formatted
*YLTM=$year.outTemp.min.formatted
*YHHM=$year.outHumidity.max.formatted
*YLHM=$year.outHumidity.min.formatted
*YHBR=$year.barometer.max.formatted
*YLBR=$year.barometer.min.formatted
*YGST=$year.windGust.max.formatted
*YSUN=$year.radiation.max.formatted
*YHUV=$year.UV.max.formatted
*YPCP=$year.rain.sum.formatted
*EOT*
Afirmativo
-
SOLUCIONADO *+*
Subiendo datos
-
Una simple aclaración.
Cuando se editó inicialmente la entrada en la wiki, no estaba implementado Weewx como software de Meteoclimatic.
Por eso había que indicar WD en Meteoclimatic, descargar la plantilla de WD y luego "transformarla" a la de Weewx.
Recientemente, se ha incorporado Weewx como software soportado por Meteoclimatic, por lo que se puede descargar directamente la plantilla.
Gracias a jmviper por editar la wiki.....sinceramente, no llego últimamente, me faltan 3 horas diarias.
-
Gracias a jmviper por editar la wiki.....sinceramente, no llego últimamente, me faltan 3 horas diarias.
No hay de qué jantoni... entre todos un poco cómo y cuando podamos a ver si vamos puliendo cosas como esta que se han quedado obsoletas en la wiki. Últimamente he visto ya a dos usuarios que les ha pasado lo mismo y por eso la edité. Mil disculpas ::)