existe t il un nom de balise pour l'humidité interieure?

Une question, un bug ?
Répondre
lipban
Membre
Messages : 239
Inscription : jeu. août 31, 2006 12:53 pm
Localisation : ROUEN

existe t il un nom de balise pour l'humidité interieure?

Message par lipban »

Bonjour,
Je sais, ça n'a rien à voir avec la météo, mais puisque la donnée est enregistrée par la station intérieure, je souhaitais faire une petite étude comparative en fonction du chauffage, utilisation d"un insert, pose de fénétre à double vitrage, installation VMC, etc... Toutes choses n'ayant rien à voir avec la météo, mais ça m'intéresse actuellement, étant actuellement dans une démarche de recherche sur l'isolation.
Or j'ai essayé d'utiliser une variable "indoor_humidity" et ça ne marche pas. Mais comme je suis un "bricoleur" de feuille de style occasionnel, cela ne m'étonne pas! :lol:
merci
Win 7 - ws2308 - graphweather 2.0.x

Ma météo : http://leappy.free.fr/

Image
Avatar de l’utilisateur
jturlier
Membre
Messages : 3149
Inscription : mar. août 22, 2006 8:38 am
Localisation : 34410 Sérignan - Languedoc
Contact :

Re: existe t il un nom de balise pour l'humidité interieure?

Message par jturlier »

Bonsoir Lipban,
Le nom de la variable indoor_humidity est parfaitement correct si tu souhaites tracer des courbes (et fonctionne, je viens de faire l'essai). As-tu vérifié la liaison de la sonde du plugin de base avec la variable de ton fichier ou de ta table. (Difficile d'en dire plus sans type de station ni logiciel pilote)

Jean
lipban
Membre
Messages : 239
Inscription : jeu. août 31, 2006 12:53 pm
Localisation : ROUEN

Re: existe t il un nom de balise pour l'humidité interieure?

Message par lipban »

merci, tu as la réponse dans ma signature :wink:
le plus fort c'est que je viens de remplacer outdoor_humidity par indoor_humidity dans une autre feuille et que ça marche sans probléme. Mais comme ma méthode de "bricoleur du dimanche" consiste à partir d'une feuille pour remplacer des variables par d'autres, de supprimer des lignes quand ce n'est pas simplement d'introduire les caractère d'inactivation début et fin, ce n'est pas étonnant que je finisse par me planter! :mrgreen:
En tous cas, voici ma feuille :

Code : Tout sélectionner

<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
	<image width="1020" height="420" />
	<frame width="1020" height="420" position-x="0" position-y="0" shadow="0">
		<title text=""  alignement="3" angle="0" >
			<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
		</title>
		<background color1="FFBBBBFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" />
		<border cornerradius="0" color="FF555555" thick="1" />
	</frame>
<textbox width="85" height="50" shadow="0" position-x="5" position-y="10" margin="5" >
		<border cornerradius="10" color="FF909090" thick="1" />
		<text alignement="5">
			<line text="ROUEN\n2 jours" />
			<font color="FF000000" facename="Arial" size="20" weight="400" italic="1" />
		</text>
		<background texture="tex_bluegrad.png"  stretch="1"/>
	</textbox>
<textbox width="90" height="50" shadow="0" position-x="3" position-y="80" margin="2" >
		<border cornerradius="10" color="FF909090" thick="1" />
		<text alignement="5">
			 <line text="Prévision à 12h :\n\n $WEATHER_FORECAST[COMMENT]"/>
			<font color="FF000000" facename="Arial" size="15" weight="400" italic="1" />
		</text>
		<background texture="tex_bluegrad.png"  stretch="1"/>
	</textbox>
<frame width="40" height="40" position-x="30" position-y="85">
    <background color="ff0000ff" texture="$WEATHER_FORECAST[ICON]" stretch="1" />
  </frame>

	<!-- ================= First Lineplot =================  -->
	<lineplot width="1040" height="335" shadow="0" position-x="0" position-y="40" margin-top="0" margin-right="140" margin-bottom="0" margin-left="110">
		<title text="" alignement="20" angle="0">
			<font color="FF000000" facename="Arial" size="18" weight="400" italic="1" />
		</title>
    <xaxis color="FF000000" grid="1" autoscale="0" min="0" max="0">
      <title text="" alignement="20" angle="0">
        <font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
      </title>
      <labels labelinterval="1" angle="0"  side="2" hide="0">
        <font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
      </labels>
      <ticks majorticks="7" minorticks="7" side="32" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
    </xaxis>
    <y1axis color="FFFF0000" grid="1" autoscale="1" scalerange="20" min="-5" max="15" titleside="1" titlemargin="25">
      <title text="Température ($UNIT[TEMPERATURE])" alignement="20" angle="0">
        <font color="FFFF0000" facename="Arial" size="12" weight="400" italic="1" />
      </title>
      <labels labelinterval="1" angle="0" format=".0" side="2" hide="0" >
        <font color="FFFF0000" facename="Arial" size="12" weight="400" italic="1" />
      </labels>
      <ticks majorticks="5" minorticks="4" side="2" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
      </y1axis>
      <y3axis side="8" color="660000FF" grid="0" autoscale="0" min="0" max="100" titleside="8" ydelta="65" titlemargin="25">
      <title text="Humidité intérieure (%)" alignement="20" angle="0">
        <font color="660000FF" facename="Arial" size="12" weight="400" italic="1" />
      </title>
      <labels labelinterval="1" angle="0" format=".1" side="8" hide="0">
        <font color="660000FF" facename="Arial" size="12" weight="400" italic="1" />
      </labels>
      <ticks majorticks="5" minorticks="4" side="8" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
    </y3axis>
    <data>
      <indoor_humidity axisbind="y3axis" legend="Humidité extérieure" color1="3000FF00" color2="300000FF" antialiasing="1" filled="1" hide="0" />
      <indoor_humidity axisbind="y3axis" legend="Humidité extérieure" color1="300000FF" antialiasing="1" hidelegend="1" thick="1.2"/>
      <outdoor_temperature axisbind="y1axis" legend="Température ext." color1="FFFF0000" antialiasing="1" filled="0" hide="0" thick="1.2"/>
      <indoor_temperature axisbind="y1axis" legend="Température int." color1="FF0000FF" antialiasing="1" filled="0" hide="0" thick="1.2"/>
      <threshold axisbind="y1axis" legend="Limite 0°C" color1="FFFF0000" value="0" thick="1.5"/>-->
      <threshold axisbind="y1axis" color1="FF009000" value="30" thick="0.8"/>
      <threshold axisbind="y1axis" color1="FF009000" value="20" thick="0.8"/>
      <threshold axisbind="y1axis" color1="FF009000" value="10" thick="0.8"/>      
    </data>
    <legend orientation="0" width="790" margin="5" position-x="110" position-y="10" 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="00FFFFFF" gradient="1" gradient-direction="90" />
    </legend>
    <background color="00FFFFFF" stretch="0" />
    <graphbackground color1="FFCCCCFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" />
    <border cornerradius="0" color="FF000000" thick="0" />
	</lineplot> 
</stylesheet>
merci de votre patience ! :D
Win 7 - ws2308 - graphweather 2.0.x

Ma météo : http://leappy.free.fr/

Image
Avatar de l’utilisateur
jturlier
Membre
Messages : 3149
Inscription : mar. août 22, 2006 8:38 am
Localisation : 34410 Sérignan - Languedoc
Contact :

Re: existe t il un nom de balise pour l'humidité interieure?

Message par jturlier »

Bonjour
excuse moi pour ce que je n'avais pas vu :oops:

Quelques petites corrections :
lipban a écrit : <threshold axisbind="y1axis" legend="Limite 0°C" color1="FFFF0000" value="0" thick="1.5"/>-->
en trop
lipban a écrit : <y1axis color="FFFF0000" grid="1" autoscale="1" scalerange="20" min="-5" max="15" titleside="1" titlemargin="25">
Autoscale ne peut pas être à 1 si tu veux un maxi et un mini, c'est lui qui a priorité sur la max et le min.
scalerange ne sert à rien puisque tu n'est pas en autoscale et tu veux un maxi et un mini,
maxi à 15 tu ne vois pas ta température intérieure donc mets le à 35

Maintenant la grosse erreur :

Les axes Y commencent à 1 et suivent en séquence (y1axis y2... y3... et non pas y1axis et y3...). Il ne doit pas y avoir de trous dans la séquence, c'est ça la raison de ton non-affichage sur Y3.

Bonne soirée

Jean
Jean

Station : VP2 Pro Console Vue + anémomètre à Ultra-sons
Logiciels : Cumulus 1.9.4 + Cumulus2SQL
Serveur local : Apache + MySQL +PHP
PC : W10
Support Audio : FR

http://meteoserignan.ddns.net
Image
"Aide-toi d'abord toi-même et les autres t'aideront ... peut-être"
lipban
Membre
Messages : 239
Inscription : jeu. août 31, 2006 12:53 pm
Localisation : ROUEN

Re: existe t il un nom de balise pour l'humidité interieure?

Message par lipban »

youpi!!!ça marche :lol:
merci beaucoup Jean :D :D :D :D
Win 7 - ws2308 - graphweather 2.0.x

Ma météo : http://leappy.free.fr/

Image
Répondre