Pour ma part la température extérieure est la sonde noire (que je n'ai pas besoin dans ce code).
La température extérieure est la sonde "temperature_1".(sonde THGR810)
D'après moi, il faut donc que je remplace " outdoor_temperature" par "temperature_1" dans le code si dessous issu du fichier "gauges_modif_pluvio_Fr.xlm" de "paaubert".?
Avant de faire une bêtise (bien que j'ai sauvegardé le fichier) est-ce bien ça qu'il faut que je fasse ?
Merci de votre aide
Cordialement
Code : Tout sélectionner
<!-- ================= [b]Outdoor Temperature[/b] ================= -->
<lineargauge width="130" height="300" shadow="0" orientation="1" position-x="16" position-y="20" margin-top="26" margin-right="9" margin-bottom="77" margin-left="11" >
<title text="$Current[outdoor_temperature] $Unit[Temperature]" alignement="relative" angle="0" position-x="0.47" position-y="0.86">
<font color="FF000000" facename="Arial" size="20" weight="400" italic="1" />
</title>
<axis color="FF000000" min="-20" max="40" side="hcenter" titlemargin="20">
<title text="Température exterieure" alignement="vcenter|hcenter" angle="180">
<font color="FF000000" facename="Arial" size="18" weight="400" italic="1" />
</title>
<labels labelinterval="1" side="left" hide="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="1" />
</labels>
<ticks majorticks="7" minorticks="4" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_outdoor_temperature color1="FF000099" color2="FFFF0000" filled="1" side="left" thick="9" axisdelta="0"/>
<stats_day_max_outdoor_temperature texture="img_modern_index7_20x24.png" side="left" thick="9" axisdelta="0"/>
<stats_day_min_outdoor_temperature texture="img_modern_index_20x24.png" side="left" thick="9" axisdelta="0"/>
</index>
<border cornerradius="0" color="FF000000" thick="0" />
<background color="ff0000ff" texture="thermo_b.png" stretch="1" />
<gaugebackground color="FF000000" texture="" />
</lineargauge>
<frame width="130" height="300" position-x="16" position-y="20">
<background color="ff0000ff" texture="img_modern_thermo2_130x300.png" stretch="1" />
</frame>
<!-- ================= [b]texte température +[/b]- ================= -->
<frame width="150" height="128" position-x="5" position-y="230">
<title text=" ($Current[rate_outdoor_temperature] °C/h)" alignement="relative" angle="00" position-x="0.3" position-y="2.0">
<font color="FF003399" facename="Arial" size="15" weight="450" italic="0" />
</title>
</frame>
<!-- ================= [b]Dew Point[/b] ================= -->
<lineargauge width="130" height="300" shadow="0" orientation="1" position-x="455" position-y="20" margin-top="26" margin-right="9" margin-bottom="77" margin-left="11" >
<title text="$Current[dew_point] $Unit[Temperature]" alignement="relative" angle="0" position-x="0.47" position-y="0.86">
<font color="FF000000" facename="Arial" size="20" weight="400" italic="1" />
</title>
<axis color="FF000000" min="-20" max="40" side="hcenter" titlemargin="20">
<title text="Point de rosée" alignement="vcenter|hcenter" angle="180">
<font color="FF000000" facename="Arial" size="18" weight="400" italic="1" />
</title>
<labels labelinterval="1" side="left" hide="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="1" />
</labels>
<ticks majorticks="7" minorticks="4" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_dew_point color1="FFFF0000" color2="200000FF" filled="1" side="left" thick="9" axisdelta="0"/>
<stats_day_min_dew_point texture="img_modern_index_20x24.png" side="left" thick="9" axisdelta="0"/>
<stats_day_max_dew_point texture="img_modern_index7_20x24.png" side="left" thick="9" axisdelta="0"/>
</index>
<border cornerradius="0" color="FF000000" thick="0" />
<background color="ff0000ff" texture="thermo_r.png" stretch="1" />
<gaugebackground color="FF000000" texture="" />
</lineargauge>
<frame width="130" height="300" position-x="455" position-y="20">
<background color="ff0000ff" texture="img_modern_thermo2_130x300.png" stretch="1" />
</frame>