Autor Tema: No descarga plantilla  (Leído 11885 veces)

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

Conectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 3.837
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:No descarga plantilla
« Respuesta #15 en: 04 de Abril del 2016, 16:45:36 pm »
Ok. Entonces aclarado el tema del error 401.

En cuanto al otro problema, es que has descargado la plantilla desde Meteoclimatic, que viene para Weather Display, y luego tendrías que haberla modificado para Weewx.

Voy a ver la wiki, a ver si ese paso estaba claro.

Conectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 3.837
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:No descarga plantilla
« Respuesta #16 en: 04 de Abril del 2016, 16:56:18 pm »
Bueno, creo que ahora, la wiki ha quedado un poco más clara:

http://wiki.meteoclimatic.net/wiki/WeeWX_y_Meteoclimatic

Desconectado Secure440

  • Jr. Member
  • **
  • Mensajes: 92
    • Ver Perfil
  • Estación: Tordera-Niagara Parc-ESCAT0800000008490F
Re:No descarga plantilla
« Respuesta #17 en: 04 de Abril del 2016, 17:28:56 pm »
En la wiki estaba un poco confuso y con lo fácil que seria la descarga automática de la plantilla para weewx  ::) , pero eso ya es faena del webmaster :P
Ahora a ver si sube mi estacion los datos a meteoclimatic y a esperar si hay algun error.
Si todo va bien el siguente paso es crear una web personal :;( ala a meterme en otro fregao), si es que no paro jajaja ;D
Estación situada en la Urbanización Niagara Parc, a 3Km de Tordera y a 2Km de Fogars de la Selva. Altura, unos 60 m sobre el nivel del mar.
PCE FWS-20 + Garita artesana y peleandome con la Raspberry Pi 2 y Weewx3.7.1

Conectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 3.837
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:No descarga plantilla
« Respuesta #18 en: 04 de Abril del 2016, 17:31:34 pm »
Si, le tenemos que poner una vela al webmaster para que nos incorpore el Weewx a la lista de software.

Pero bastante tiene con mantener todo en orden.

Saludos.

Desconectado Secure440

  • Jr. Member
  • **
  • Mensajes: 92
    • Ver Perfil
  • Estación: Tordera-Niagara Parc-ESCAT0800000008490F
Re:No descarga plantilla
« Respuesta #19 en: 04 de Abril del 2016, 17:50:27 pm »
Bueno, o malo, no se si es pero consulto si sube datos y me responde esto

*VER=DATA3a
 *COD=ESCAT0800000008490G
 *TK=1459783022
 *UPD=04/04/2016 15:17:02 UTC
 *TMP=0
 *HUM=0
 *WND=0
 *AZI=
 *WRUN=0
 *BAR=0
 *HUM=0
 *SUN=0
 *UVI=0
 *DHTM=0
 *DLTM=0
 *DHHM=0
 *DLHM=0
 *DHBR=0
 *DLBR=0
 *DGST=0
 *DSUN=0
 *DHUV=0
 *DPCP=0
 *MHTM=0
 *MLTM=0
 *MHHM=0
 *MLHM=0
 *MHBR=0
 *MLBR=0
 *MGST=0
 *MSUN=0
 *MHUV=0
 *MPCP=0
 *YHTM=0
 *YLTM=0
 *YHHM=0
 *YLHM=0
 *YHBR=0
 *YLBR=0
 *YGST=0
 *YSUN=0
 *YHUV=0
 *YPCP=0
 *AGENT=Meteoclimatic_HTTP/1.0 (PCE FWS-20)
 *IP=88.5.239.66
 *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
 *EOT*
Estación situada en la Urbanización Niagara Parc, a 3Km de Tordera y a 2Km de Fogars de la Selva. Altura, unos 60 m sobre el nivel del mar.
PCE FWS-20 + Garita artesana y peleandome con la Raspberry Pi 2 y Weewx3.7.1

Conectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 3.837
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:No descarga plantilla
« Respuesta #20 en: 04 de Abril del 2016, 18:15:35 pm »
Adjúntame (recuerda de quitar el campo SIG):

/etc/weewx/skins/Standard/meteoclimatic.html.tmpl

/var/www/weewx/meteoclimatic.html


Desconectado Secure440

  • Jr. Member
  • **
  • Mensajes: 92
    • Ver Perfil
  • Estación: Tordera-Niagara Parc-ESCAT0800000008490F
Re:No descarga plantilla
« Respuesta #21 en: 04 de Abril del 2016, 19:08:07 pm »
*VER=DATA2
*COD=ESCAT0800000008490G
*SIG=xxxxxxxxxxxxxxxxxxxxxxxxx
*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*



*VER=DATA2
*COD=ESCAT0800000008490G
*SIG=xxxxxxxxxxxxxxxxxxxxxxxxx
*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*

Lo que veo es que en la ruta:
/var/www/weewx/meteoclimatic.html
el archivo que tengo no acaba con extensión .html, si no en htm, le falta la "L"
Estación situada en la Urbanización Niagara Parc, a 3Km de Tordera y a 2Km de Fogars de la Selva. Altura, unos 60 m sobre el nivel del mar.
PCE FWS-20 + Garita artesana y peleandome con la Raspberry Pi 2 y Weewx3.7.1

Conectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 3.837
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:No descarga plantilla
« Respuesta #22 en: 04 de Abril del 2016, 19:11:50 pm »
Pero no lo has modificado....sigues con las etiquetas de Weather Display.....tienes que cambiarlas por las de Weewx (en el skin).....la otra ya se cambia sola

Conectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 3.837
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:No descarga plantilla
« Respuesta #23 en: 04 de Abril del 2016, 19:14:51 pm »
Cierto....es htm.

Y me imagino que en /etc/weewx/skins/Standard/skin.conf habrás añadido:

        [[[Meteoclimatic]]]
            template = meteoclimatic.htm.tmpl

Algo así:

Citar
[CheetahGenerator]
    # This section is used by the generator CheetahGenerator, and specifies
    # which files are to be generated from which template.

    # Possible encodings are 'html_entities', 'utf8', or 'strict_ascii'
    encoding = html_entities

    [[SummaryByMonth]]
        # Reports that summarize "by month"
        [[[NOAA_month]]]
            encoding = strict_ascii
            template = NOAA/NOAA-YYYY-MM.txt.tmpl

    [[SummaryByYear]]
        # Reports that summarize "by year"
        [[[NOAA_year]]]
            encoding = strict_ascii
            template = NOAA/NOAA-YYYY.txt.tmpl
       
    [[ToDate]]
        # Reports that show statistics "to date", such as day-to-date,
        # week-to-date, month-to-date, etc.
        [[[day]]]
            template = index.html.tmpl

        [[[week]]]
            template = week.html.tmpl
       
        [[[month]]]
            template = month.html.tmpl
       
        [[[year]]]
            template = year.html.tmpl
           
        [[[RSS]]]
            template = RSS/weewx_rss.xml.tmpl
               
        [[[Mobile]]]
            template = mobile.html.tmpl
           
        [[[MobileSmartphone]]]
            template = smartphone/index.html.tmpl
           
        [[[MobileTempOutside]]]
            template = smartphone/temp_outside.html.tmpl

        [[[MobileRain]]]
            template = smartphone/rain.html.tmpl

        [[[MobileBarometer]]]
            template = smartphone/barometer.html.tmpl

        [[[MobileWind]]]
            template = smartphone/wind.html.tmpl

        [[[MobileRadar]]]
            template = smartphone/radar.html.tmpl

        [[[Meteoclimatic]]]
            template = meteoclimatic.htm.tmpl



Desconectado Secure440

  • Jr. Member
  • **
  • Mensajes: 92
    • Ver Perfil
  • Estación: Tordera-Niagara Parc-ESCAT0800000008490F
Re:No descarga plantilla
« Respuesta #24 en: 04 de Abril del 2016, 19:28:01 pm »
Pero no lo has modificado....sigues con las etiquetas de Weather Display.....tienes que cambiarlas por las de Weewx (en el skin).....la otra ya se cambia sola
Ok, a ver,e editado el archivo /meteoclimatic.html.tmpl y e cambiado su contenido por esto que esta en azul
*VER=DATA2
*COD=ESCAT0800000008490G
*SIG=xxxxxxxxxxxxxxxxxxxxxxxxx
*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*


Y si en /etc/weewx/skins/Standard/skin.conf esta añadido:

        [[[Meteoclimatic]]]
            template = meteoclimatic.htm.tmpl
y ahora si me sale la "L"
« Última modificación: 04 de Abril del 2016, 19:30:34 pm por Secure440 »
Estación situada en la Urbanización Niagara Parc, a 3Km de Tordera y a 2Km de Fogars de la Selva. Altura, unos 60 m sobre el nivel del mar.
PCE FWS-20 + Garita artesana y peleandome con la Raspberry Pi 2 y Weewx3.7.1

Desconectado Secure440

  • Jr. Member
  • **
  • Mensajes: 92
    • Ver Perfil
  • Estación: Tordera-Niagara Parc-ESCAT0800000008490F
Re:No descarga plantilla
« Respuesta #25 en: 04 de Abril del 2016, 19:46:31 pm »
 apla3 apla3 apla3
A ver si creáis una sección que se titule "wiki para torpes" como yo jajajajajja
Gracias Jantoni por tu santa paciencia :;
Estación situada en la Urbanización Niagara Parc, a 3Km de Tordera y a 2Km de Fogars de la Selva. Altura, unos 60 m sobre el nivel del mar.
PCE FWS-20 + Garita artesana y peleandome con la Raspberry Pi 2 y Weewx3.7.1

Conectado jantoni

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 3.837
    • Ver Perfil
  • Estación: ESMAD2800000028522A
Re:No descarga plantilla
« Respuesta #26 en: 04 de Abril del 2016, 20:00:55 pm »
Me alegro que al final la cosa vaya bien.

De todos modos, es que el formato wiki es una agonía para hacer documentos, sobre todo para darle formato.

Desconectado Ubik

  • Administrator
  • Hero Member
  • ******
  • Mensajes: 2.011
    • Ver Perfil
  • Estación: Villavieja de Yeltes ESCYL3700000037260A
Re:No descarga plantilla
« Respuesta #27 en: 04 de Abril del 2016, 21:40:19 pm »
Si, le tenemos que poner una vela al webmaster para que nos incorpore el Weewx a la lista de software.

Pero bastante tiene con mantener todo en orden.

Saludos.

En breve, en breve, . ..  en algún sitio ya está incluida, pero , . . .  un poco más de tiempo,  , , porfa, . . ;) ;)
                         
Davis pro2+cumulus+W7+Lenovo
 
Web http://www.meteovillavieja.es