Bonjour à tous,
Existe-t-il un moyen de convertir un template de Weatherdisplay en template Graphweather ?
C'est pour utiliser Graphweather avec l'application android PWS Pocket.
Voici le contenu XML :
Code :
<?xml version="1.0" encoding="ISO-8859-15" ?>
<maintag>
<!--MISC-->
<misc><misc data="station_location">%stationname%</misc></misc>
<!--STATION DATA-->
<realtime><data realtime="station_date">%date%</data></realtime>
<realtime><data realtime="station_time">%time%</data></realtime>
<realtime><data realtime="sunrise">%sunrise%</data></realtime>
<realtime><data realtime="sunset">%sunset%</data></realtime>
<realtime><data realtime="moonrise">%moonrise%</data></realtime>
<realtime><data realtime="moonset">%moonset%</data></realtime>
<!--TEMPERATURE-->
<realtime><data realtime="temp">%temp%</data></realtime>
<realtime><data realtime="high_temp">%maxtemp%</data></realtime>
<realtime><data realtime="low_temp">%mintemp%</data></realtime>
<realtime><data realtime="heatindex">%heati%</data></realtime>
<realtime><data realtime="high_heatindex">%maxheat%</data></realtime>
<!--HUMIDITY-->
<realtime><data realtime="hum">%hum%</data></realtime>
<realtime><data realtime="high_hum">%highhum%</data></realtime>
<realtime><data realtime="low_hum">%lowhum%</data></realtime>
<!--WIND-->
<realtime><data realtime="winddir" misc="imgwinddir">%dirlabel%</data></realtime>
<realtime><data realtime="windspeed">%gstspd%</data></realtime>
<realtime><data realtime="high_windspeed">%maxgst%</data></realtime>
<realtime><data realtime="windchill">%windch%</data></realtime>
<realtime><data realtime="low_windchill">%minwindch%</data></realtime>
<!--DEWPOINT-->
<realtime><data realtime="dew">%dew%</data></realtime>
<realtime><data realtime="high_dew">%maxdew%</data></realtime>
<realtime><data realtime="low_dew">%mindew%</data></realtime>
<!--BAROMETER-->
<realtime><data realtime="barometer">%baro%</data></realtime>
<realtime><data realtime="changebarometer">%trend%</data></realtime>
<realtime><data realtime="high_barometer">%highbaro%</data></realtime>
<realtime><data realtime="low_barometer">%lowbaro%</data></realtime>
<!--RAIN-->
<realtime><data realtime="todaysrain">%dayrn%</data></realtime>
<realtime><data realtime="rain_rate">%currentrainratehr%</data></realtime>
<realtime><data realtime="high_rain_rate">%maxrainratehr%</data></realtime>
<realtime><data realtime="storm_rate"></data></realtime>
<!--UNITS-->
<realtime><data units="windunit">%uomwind%</data></realtime>
<realtime><data units="rainunit">%uomrain% </data></realtime>
<realtime><data units="rateunit">%uomrain%/h</data></realtime>
<realtime><data units="barunit">%uombaro%</data></realtime>
<realtime><data units="tempunit">%uomtemp%</data></realtime>
<realtime><data units="humunit">%</data></realtime>
</maintag>
Merci.
Hugues
_________________
Météo Cahors
Davis Vantage Pro 2 6163eu + Graphweather v3 + Windows 7 64bits
http://www.meteo-cahors.fr![Image](http://www.meteo-cahors.fr/images/site/meteo/releves/signature.jpg)