probleme de graphe avec sonde supplementaire

Une question, un bug ?
Répondre
baboyo34
Nouveau membre
Messages : 2
Inscription : lun. juin 21, 2010 9:29 am

probleme de graphe avec sonde supplementaire

Message par baboyo34 »

Bonjour, j' ai le même pb que Cookie. Je viens de rajouter une sonde (piscine) et je voudrait voir le graph dans graphweather.
(config: WMR200 + Xnet Meteo + GraphWeather). comment faire pour obtenir la feuille de style de Claudio.
note: je débute!!!
merci
Avatar de l’utilisateur
ardigier
Membre
Messages : 2260
Inscription : mar. mars 23, 2010 6:05 pm
Localisation : Le Thor 84250
Contact :

Re: probleme de graphe avec sonde supplementaire

Message par ardigier »

voila une solution
tu configures les options du csv avec "température 1 = 23
tu vérifies que ta sonde est configurée sur Ch 2 (canal2)
tu remplaces par la copie de la source ci dessous la source dans le stylesheet "tab-température" et tu renomme "temp piscine" par exemple ce nouveau stylesheet

<?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="left|top" 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="20" margin-bottom="40" margin-left="65">
<xaxis color="FF000000" grid="1" autoscale="0" min="0" max="0">
<title text="" alignement="vcenter|hcenter" angle="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</title>
<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="top" 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>
<data>
<temperature_1 axisbind="y1axis" legend="Température piscine." color1="FFFF0000" antialiasing="1" filled="0" hide="0" thick="1.2"/>
</data>
<legend orientation="0" margin="5" width="795" 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="820" 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 piscine. :\t $Min[temperature_1] $Unit[Temperature] - $MinDate[temperature_1,%d %b %Y à %Hh%M]\t\t$Max[temperature_1] $Unit[Temperature] - $MaxDate[temperature_1,%d %b %Y à %Hh%M]\t\t$Mean[temperature_1] $Unit[Temperature]"/>
<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
baboyo34
Nouveau membre
Messages : 2
Inscription : lun. juin 21, 2010 9:29 am

Re: probleme de graphe avec sonde supplementaire

Message par baboyo34 »

Bonjour, C'est bon, ça marche. Je te remercie beaucoup ...mais j'aimerai bien savoir comment créer ou modifier une stylesheet!
où peut-on trouver tutorial?
Répondre