Autor Tema: Problemas con la Plantilla o configuración  (Leído 5693 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado sunbloquer

  • Jr. Member
  • **
  • Mensajes: 94
    • Ver Perfil
    • @pump_upp - best crypto pumps on telegram !
  • Estación: Quintes - Asturias - ESAST3300000033314A
Problemas con la Plantilla o configuración
« 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
« Última modificación: 24 de Diciembre del 2016, 12:25:24 pm por nostradamus »

Desconectado sunbloquer

  • Jr. Member
  • **
  • Mensajes: 94
    • Ver Perfil
    • @pump_upp - best crypto pumps on telegram !
  • Estación: Quintes - Asturias - ESAST3300000033314A
Re:Problemas con la Plantilla o configuración
« Respuesta #1 en: 24 de Diciembre del 2016, 14:13:26 pm »
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,  ::)

Desconectado sunbloquer

  • Jr. Member
  • **
  • Mensajes: 94
    • Ver Perfil
    • @pump_upp - best crypto pumps on telegram !
  • Estación: Quintes - Asturias - ESAST3300000033314A
Re:Problemas con la Plantilla o configuración
« Respuesta #2 en: 24 de Diciembre del 2016, 15:07:27 pm »
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

Desconectado zapal

  • Sr. Member
  • ****
  • Mensajes: 331
    • Ver Perfil
    • EL tiempo en los locos
  • Estación: torrevieja-los locos (ESPVA0300000003183A)
Re:Problemas con la Plantilla o configuración
« Respuesta #3 en: 24 de Diciembre del 2016, 15:13:34 pm »
Tu pones esto en tu archivo meteoclimatic.html.tmpl :
Citar
*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 :
Citar
*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

Desconectado jmviper

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 4.403
  • "Vortex Complex"
    • Ver Perfil
    • www.meteoarchena.es
  • Estación: Archena - ESMUR3000000030600B
Re:Problemas con la Plantilla o configuración
« Respuesta #4 en: 24 de Diciembre del 2016, 15:16:09 pm »
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.


Archena, Valle de Ricote (Murcia). 120 msnm. 19.622 hab.
Davis Vantage Pro2 Plus

www.meteoarchena.es

Desconectado zapal

  • Sr. Member
  • ****
  • Mensajes: 331
    • Ver Perfil
    • EL tiempo en los locos
  • Estación: torrevieja-los locos (ESPVA0300000003183A)
Re:Problemas con la Plantilla o configuración
« Respuesta #5 en: 24 de Diciembre del 2016, 15:22:39 pm »
Jeje, nos hemos solapado  plau2 Esto es un soporte tecnico en condiciones.

Desconectado jmviper

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 4.403
  • "Vortex Complex"
    • Ver Perfil
    • www.meteoarchena.es
  • Estación: Archena - ESMUR3000000030600B
Re:Problemas con la Plantilla o configuración
« Respuesta #6 en: 24 de Diciembre del 2016, 15:44:07 pm »
Ok. Ya he editado yo la wiki quitando lo que hace referencia de WD en 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
« Última modificación: 24 de Diciembre del 2016, 15:45:46 pm por jmviper »


Archena, Valle de Ricote (Murcia). 120 msnm. 19.622 hab.
Davis Vantage Pro2 Plus

www.meteoarchena.es

Desconectado sunbloquer

  • Jr. Member
  • **
  • Mensajes: 94
    • Ver Perfil
    • @pump_upp - best crypto pumps on telegram !
  • Estación: Quintes - Asturias - ESAST3300000033314A
Re:Problemas con la Plantilla o configuración
« Respuesta #7 en: 24 de Diciembre del 2016, 16:08:07 pm »
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..... :; :; :; :; :; :; :;
« Última modificación: 24 de Diciembre del 2016, 16:19:27 pm por nostradamus »

Desconectado zapal

  • Sr. Member
  • ****
  • Mensajes: 331
    • Ver Perfil
    • EL tiempo en los locos
  • Estación: torrevieja-los locos (ESPVA0300000003183A)
Re:Problemas con la Plantilla o configuración
« Respuesta #8 en: 24 de Diciembre del 2016, 16:25:10 pm »
Pero las lineas llevan un asterisco delante cada una. Lo tienes puesto ?

Desconectado sunbloquer

  • Jr. Member
  • **
  • Mensajes: 94
    • Ver Perfil
    • @pump_upp - best crypto pumps on telegram !
  • Estación: Quintes - Asturias - ESAST3300000033314A
Re:Problemas con la Plantilla o configuración
« Respuesta #9 en: 24 de Diciembre del 2016, 16:40:32 pm »
*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


Desconectado sunbloquer

  • Jr. Member
  • **
  • Mensajes: 94
    • Ver Perfil
    • @pump_upp - best crypto pumps on telegram !
  • Estación: Quintes - Asturias - ESAST3300000033314A
Re:Problemas con la Plantilla o configuración
« Respuesta #10 en: 26 de Diciembre del 2016, 15:49:59 pm »
SOLUCIONADO  *+*

Subiendo datos

Desconectado jantoni

  • Hero Member
  • *****
  • Mensajes: 3.754
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:Problemas con la Plantilla o configuración
« Respuesta #11 en: 29 de Diciembre del 2016, 22:12:10 pm »
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.

Desconectado jmviper

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 4.403
  • "Vortex Complex"
    • Ver Perfil
    • www.meteoarchena.es
  • Estación: Archena - ESMUR3000000030600B
Re:Problemas con la Plantilla o configuración
« Respuesta #12 en: 30 de Diciembre del 2016, 00:13:07 am »

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  ::)


Archena, Valle de Ricote (Murcia). 120 msnm. 19.622 hab.
Davis Vantage Pro2 Plus

www.meteoarchena.es