jturlier a écrit:
Bonjour Maxime,
maxime1 a écrit:
Oui, je sais pour la version mais je n'ai jamais réussi à faire fonctionner la version la 3.015 trop de bug et de coupures, la 2.090 est très stable et c'est pourquoi je l'utilise...
Il n'y a aucune raison que la 3.015 ne fonctionne pas, elle est elle aussi très stable, à condition de ne surtout pas reprendre les fichiers de configuration des version 2.
Je ne crois pas que qui que ce soit pourra te fournir du support sur une version aussi ancienne. Tu es donc devant le choix de continuer à utiliser la 2.090 et la pluie ne pourra pas être mise à jour, ou installer une version plus récente pour laquelle nombre d'utilisateurs pourront t'aider.
Jean
Alors, avec la version 3.015 c'est pire la valeur annuelle est fausse (elle reste celle de fevrier 2014) voila le stylesheet que j'utilise:
<?xml version="1.0" encoding="iso-8859-1"?>
<stylesheet>
<image width="400" height="230" />
<!-- ================= Background ================= -->
<frame width="400" height="230" position-x="0" position-y="0">
<background color1="FF9999FF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1" />
<border cornerradius="0" color="FF555555" thick="1" />
</frame>
<!-- ================= Stats ================= -->
<textbox width="230" height="210" shadow="1" position-x="10" position-y="10" margin="10">
<background color1="FFAAAAFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1" />
<border cornerradius="10" color="FF999999" thick="1" />
<text alignement="left|top">
<line text="$Country" />
<line text="le $CurrentDate[%A %d %B %Y à %Hh%M]" />
<line text="" />
<line text="Pression relative : $Current[absolute_pressure] $Unit[Pressure] ($Current[rate_absolute_pressure] $Unit[Pressure]/h)" />
<line text="Humidité exterieure : $Current[outdoor_humidity] %" />
<line text="Rafale maximale : $Max[wind_gust] $Unit[Speed]"/>
<line text="Vitesse vent : $Current[wind_speed] $Unit[Speed]" />
<line text="Pluie 1h : $Current[rainfall_1h] $Unit[Rainfall]" />
<line text="Précipitations du jour : $Stats[Day,TotalRainfall] $Unit[Rainfall]" />
<line text="Précipitations du mois : $Stats[Month,TotalRainfall] $Unit[Rainfall]" />
<line text="Précipitations de l'année : $Stats[Year,TotalRainfall] $Unit[Rainfall]" />
<line text="" />
<line text="Prévision à 12h : $WeatherForecast[Comment]" />
<font color="FF000000" size="14" weight="400" italic="0" />
</text>
</textbox>
<textbox width="145" height="40" shadow="1" position-x="245" position-y="180" margin="10">
<background color1="FFAAAAFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1" />
<border cornerradius="10" color="FF999999" thick="1" />
<text alignement="4">
<line text="$Current[outdoor_temperature] $Unit[Temperature]" />
<font color="FF000000" size="22" weight="400" italic="0" />
</text>
<background color="00000000" />
</textbox>
<!-- ================= Icon ================= -->
<frame width="128" height="128" position-x="260" position-y="25">
<background color="ff0000ff" texture="$WeatherConditions[Icon]" stretch="1" />
</frame>
<frame width="36" height="36" position-x="110" position-y="177">
<background color="ff0000ff" texture="$WeatherForecast[Icon]" stretch="1" />
</frame>
</stylesheet>
merci