Je ne l'ai pas vu sur mon serveur, donc pour en avoir le coeur net, je viens de télécharger GW et de l'installer sur un autre PC. Installation "fraiche" et voici le contenu en fichiers xml. Pas de tab-uv à l'horizon.ardigier a écrit :ce fichier est dans GW stylesheet
WMR200 et sonde UV
Re: WMR200 et sonde UV
Vous ne pouvez pas consulter les pièces jointes insérées à ce message.
OS WMR 200 - Windows Home Server 2011 (2008R2)
Editeur xml : Notepad ++
GraphWeather : 2.0312
Serveur : Maison - 8 Go de RAM - qq To
Editeur xml : Notepad ++
GraphWeather : 2.0312
Serveur : Maison - 8 Go de RAM - qq To
- ardigier
- Membre
- Messages : 2260
- Inscription : mar. mars 23, 2010 6:05 pm
- Localisation : Le Thor 84250
- Contact :
Re: WMR200 et sonde UV
je te met le code correspondant
j'ai nommé ce fichier tab_UV mais tu peux l'appeler comme bon te semble
<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
<image width="900" height="560" />
<frame width="900" height="560" position-x="0" position-y="0" shadow="0">
<title text="" alignement="horizontal" angle="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
</title>
<background color1="FFBBBBFF" color2="FFFFFFFF" gradient="1" gradient-direction="135" stretch="1" />
<border cornerradius="0" color="55555555" thick="1" />
</frame>
<!-- ================= First Lineplot ================= -->
<lineplot width="880" height="300" shadow="0" position-x="10" position-y="10" margin-top="40" margin-right="70" margin-bottom="40" margin-left="65">
<xaxis color="FF000000" grid="1" autoscale="0" min="0" max="0">
<labels labelinterval="1" angle="0" side="left" hide="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="7" minorticks="3" side="bottom" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis color="FF000000" grid="1" autoscale="1" min="0" max="0" titleside="left" titlemargin="35">
<title text="Température ($Unit[Temperature])" alignement="vcenter|hcenter" angle="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</title>
<labels labelinterval="1" angle="0" format=".0" side="left" hide="0" >
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="4" minorticks="4" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<y2axis side="right" color="FF000000" grid="1" autoscale="0" min="0" max="10" titleside="right" titlemargin="40">
<title text="Indice UV ($UNIT[uv_index])" alignement="vcenter|hcenter" angle="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</title>
<labels labelinterval="1" angle="0" format=".0" side="right" hide="0" >
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="10" minorticks="0" side="2" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y2axis>
<data>
<uv_index axisbind="y2axis" legend="Indice UV" color1="44FFFF00" color2="44FF0000" antialiasing="1" filled="1" hide="0" thick="1.2"/>
<outdoor_temperature axisbind="y1axis" legend="Température ext." color1="FFFF0000" antialiasing="1" filled="0" hide="0" thick="1.2"/>
</data>
<legend orientation="0" margin="5" width="745" position-x="75" position-y="20" hide="0" shadow="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
<border cornerradius="0" color="55555555" thick="1" />
<background color1="FFBBBBFF" color2="FFFFFFFF" gradient="1" gradient-direction="90"/>
</legend>
<border cornerradius="0" color="55555555" thick="0" />
<background color1="00000000" stretch="1" />
<graphbackground color1="FFCCCCFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" />
</lineplot>
<!-- ================= Statistics ================= -->
<textbox width="750" height="230" shadow="0" position-x="70" position-y="320" margin="20" >
<border cornerradius="0" color="55555555" thick="1" />
<text alignement="left|top">
<line text="Rapport généré le $CurrentDate[%A %d %B %Y à %Hh%M]\n"/>
<line text="Du $StartDate[%A %d %B %Y à %Hh%M]"/>
<line text="Au $StopDate[%A %d %B %Y à %Hh%M]"/>
<line text=""/>
<line text="\t\t\t\tMini\t\t\t\t\tMaxi\t\t\t\tMoyenne"/>
<line text=""/>
<line text="Température ext. :\t $Min[outdoor_temperature] $Unit[Temperature] - $MinDate[outdoor_temperature,%d %b %Y à %Hh%M]\t\t$Max[outdoor_temperature] $Unit[Temperature] - $MaxDate[outdoor_temperature,%d %b %Y à %Hh%M]\t\t$Mean[outdoor_temperature] $Unit[Temperature]"/>
<line text="Indice UV :\t\t $Min[uv_index] - $MinDate[uv_index,%d %b %Y à %Hh%M]\t\t$Max[uv_index] - $MaxDate[uv_index,%d %b %Y à %Hh%M]\t\t"/>
<font color="FF000000" facename="Arial" size="14" weight="400" italic="1" />
</text>
<background color1="FFBBBBFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" />
</textbox>
<textbox width="62" height="230" shadow="0" position-x="10" position-y="320" margin="0" >
<border cornerradius="0" color="55555555" thick="1" />
<text text="Statistiques" alignement="relative" angle="90">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="1" />
</text>
<background color1="FFBBBBFF" color2="FFFFFFFF" gradient="1" gradient-direction="180" />
</textbox>
</stylesheet>
j'ai nommé ce fichier tab_UV mais tu peux l'appeler comme bon te semble
<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
<image width="900" height="560" />
<frame width="900" height="560" position-x="0" position-y="0" shadow="0">
<title text="" alignement="horizontal" angle="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
</title>
<background color1="FFBBBBFF" color2="FFFFFFFF" gradient="1" gradient-direction="135" stretch="1" />
<border cornerradius="0" color="55555555" thick="1" />
</frame>
<!-- ================= First Lineplot ================= -->
<lineplot width="880" height="300" shadow="0" position-x="10" position-y="10" margin-top="40" margin-right="70" margin-bottom="40" margin-left="65">
<xaxis color="FF000000" grid="1" autoscale="0" min="0" max="0">
<labels labelinterval="1" angle="0" side="left" hide="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="7" minorticks="3" side="bottom" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis color="FF000000" grid="1" autoscale="1" min="0" max="0" titleside="left" titlemargin="35">
<title text="Température ($Unit[Temperature])" alignement="vcenter|hcenter" angle="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</title>
<labels labelinterval="1" angle="0" format=".0" side="left" hide="0" >
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="4" minorticks="4" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<y2axis side="right" color="FF000000" grid="1" autoscale="0" min="0" max="10" titleside="right" titlemargin="40">
<title text="Indice UV ($UNIT[uv_index])" alignement="vcenter|hcenter" angle="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</title>
<labels labelinterval="1" angle="0" format=".0" side="right" hide="0" >
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="10" minorticks="0" side="2" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y2axis>
<data>
<uv_index axisbind="y2axis" legend="Indice UV" color1="44FFFF00" color2="44FF0000" antialiasing="1" filled="1" hide="0" thick="1.2"/>
<outdoor_temperature axisbind="y1axis" legend="Température ext." color1="FFFF0000" antialiasing="1" filled="0" hide="0" thick="1.2"/>
</data>
<legend orientation="0" margin="5" width="745" position-x="75" position-y="20" hide="0" shadow="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
<border cornerradius="0" color="55555555" thick="1" />
<background color1="FFBBBBFF" color2="FFFFFFFF" gradient="1" gradient-direction="90"/>
</legend>
<border cornerradius="0" color="55555555" thick="0" />
<background color1="00000000" stretch="1" />
<graphbackground color1="FFCCCCFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" />
</lineplot>
<!-- ================= Statistics ================= -->
<textbox width="750" height="230" shadow="0" position-x="70" position-y="320" margin="20" >
<border cornerradius="0" color="55555555" thick="1" />
<text alignement="left|top">
<line text="Rapport généré le $CurrentDate[%A %d %B %Y à %Hh%M]\n"/>
<line text="Du $StartDate[%A %d %B %Y à %Hh%M]"/>
<line text="Au $StopDate[%A %d %B %Y à %Hh%M]"/>
<line text=""/>
<line text="\t\t\t\tMini\t\t\t\t\tMaxi\t\t\t\tMoyenne"/>
<line text=""/>
<line text="Température ext. :\t $Min[outdoor_temperature] $Unit[Temperature] - $MinDate[outdoor_temperature,%d %b %Y à %Hh%M]\t\t$Max[outdoor_temperature] $Unit[Temperature] - $MaxDate[outdoor_temperature,%d %b %Y à %Hh%M]\t\t$Mean[outdoor_temperature] $Unit[Temperature]"/>
<line text="Indice UV :\t\t $Min[uv_index] - $MinDate[uv_index,%d %b %Y à %Hh%M]\t\t$Max[uv_index] - $MaxDate[uv_index,%d %b %Y à %Hh%M]\t\t"/>
<font color="FF000000" facename="Arial" size="14" weight="400" italic="1" />
</text>
<background color1="FFBBBBFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" />
</textbox>
<textbox width="62" height="230" shadow="0" position-x="10" position-y="320" margin="0" >
<border cornerradius="0" color="55555555" thick="1" />
<text text="Statistiques" alignement="relative" angle="90">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="1" />
</text>
<background color1="FFBBBBFF" color2="FFFFFFFF" gradient="1" gradient-direction="180" />
</textbox>
</stylesheet>
WMR200 - XNet meteo 2011-10-14a- graphweather V 3.0.35- Win10 x64
webcam installée orientation NE
http://le-thor-meteo.com/index.php
webcam installée orientation NE
http://le-thor-meteo.com/index.php
Re: WMR200 et sonde UV
@ ardigier : merci pour le code.
Voici le résultat sur décembre et janvier. D'où mes doutes...
Voici le résultat sur décembre et janvier. D'où mes doutes...
Vous ne pouvez pas consulter les pièces jointes insérées à ce message.
OS WMR 200 - Windows Home Server 2011 (2008R2)
Editeur xml : Notepad ++
GraphWeather : 2.0312
Serveur : Maison - 8 Go de RAM - qq To
Editeur xml : Notepad ++
GraphWeather : 2.0312
Serveur : Maison - 8 Go de RAM - qq To
- COULET
- Membre
- Messages : 805
- Inscription : sam. mai 13, 2006 5:04 pm
- Localisation : MONTPELLIER
- Contact :
Re: WMR200 et sonde UV
Salut a tous !
En ce qui me concerne la sonde UV marche fort bien !
Question : y-a-t-il une formule pour convertir l'indice UV en ensoleillement ?
A+
En ce qui me concerne la sonde UV marche fort bien !

Question : y-a-t-il une formule pour convertir l'indice UV en ensoleillement ?
A+
P COULET 
Vantage Vue - GW 3.0.15 - Windows 10 - Cumulus

Vantage Vue - GW 3.0.15 - Windows 10 - Cumulus