Excuse me Tom, for my mood movement. I also had other annoyances. Thank you for taking into account the main elements. I attach you the Hilo files that I use and which are still interesting. You are free to put them in your classic sauce with the gettext() and pgettext() and to integrate them into the skin.
Cordially, Pascal Le jeudi 2 juin 2022 à 18:07:27 UTC+2, Tom Keffer a écrit : > Geez, get a grip pal! > > I incorporated most of your changes, except for some keys that do not > occur in the Seasons skin, which you seem to think is my problem. > > I simply cannot accept every change uncritically or WeeWX will become an > even bigger "usine à gaz" than it already is. I hope you can understand > this. > > > > > On Thu, Jun 2, 2022 at 8:43 AM Blaise Cacramp <[email protected]> > wrote: > >> Oh basta ! >> >> Non, je répète que n'ai rien ajouté, ce n'est pas dans mes compétences. >> J'ai voulu faire avancer le projet et pour finir, je reçois des reproches. >> >> Je ne sais pas d'où vient ma version du skin Seasons, mais pas du dépôt >> GitHub . >> >> This is not a helpful comment. >> >> Désolé si vous n'avez pas une once d'humour. >> >> Je vous laisse avec votre usine à gaz, >> Bonne continuation ! >> Pascal >> Le 02-06-22 à 17:16, Tom Keffer a écrit : >> >> On Thu, Jun 2, 2022 at 5:59 AM Blaise Cacramp <[email protected]> >> wrote: >> >>> OK, >>> >>> I didn't add anything at all. These labels were displayed in the web >>> page, "Hig Low" part. I added them in the conf.fr to see if it was >>> going to work and won! >>> >>> They are only found in the 'hilo.inc' file. For instance : >>> Line 112: <td class="label">$obs.label.*wind_max*</td> >>> >> >> OK, that is what I am looking for. *But, this line does not occur in the >> Seasons skin!* Here is the version of hilo.inc >> <https://github.com/weewx/weewx/blob/master/skins/Seasons/hilo.inc> that >> comes with WeeWX. It must be something you added. I'm sure you can >> understand that WeeWX need not support custom additions such as this. >> >> It's up to you to tell me what it corresponds to 😉 >>> >> >> This is not a helpful comment. >> >> -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/0704ebca-232d-4b10-97dd-0a2cf020dd94n%40googlegroups.com.
hilo.inc.dpkg-dist
Description: Binary data
## hilo module for weewx skins
## Copyright Tom Keffer, Matthew Wall
## See LICENSE.txt for your rights
#set $archive_data = [('day', $day), ('week', $week), ('month', $month),
('year', $year)]
<div id='hilo_widget' class="widget">
<div class="widget_title">
<a href="statistics.html">Max / Min</a>
<a class="widget_control"
onclick="toggle_widget('hilo')">♦</a>
</div>
<div class="widget_contents">
<table>
<tbody>
<tr>
<td></td>
<th>Today</th>
<th class="hilo_week">Week</th>
<th class="hilo_month">Month</th>
<th class="hilo_year">Year</th>
<td></td>
</tr>
<tr>
<td class="label">$obs.label.outTemp</td>
#for $archive in $archive_data
<td class="data new_row hilo_$archive[0]">
<span title="$archive[1].outTemp.maxtime">
$archive[1].outTemp.max.formatted</span><br/>
<span title="$archive[1].outTemp.mintime">
$archive[1].outTemp.min.formatted</span>
</td>
#end for
<td class="units">$unit.label.outTemp</td>
</tr>
<tr>
<td class="label">$obs.label.heatindex</td>
#for $archive in $archive_data
<td class="data new_row hilo_$archive[0]">
<span title="$archive[1].heatindex.maxtime" class="hival">
$archive[1].heatindex.max.formatted</span>
</td>
#end for
<td class="units">$unit.label.heatindex</td>
</tr>
<tr>
<td class="label">$obs.label.windchill</td>
#for $archive in $archive_data
<td class="data new_row hilo_$archive[0]">
<span title="$archive[1].windchill.mintime" class="loval">
$archive[1].windchill.min.formatted</span>
</td>
#end for
<td class="units">$unit.label.windchill</td>
</tr>
<tr>
<td class="label">$obs.label.dewpoint</td>
#for $archive in $archive_data
<td class="data new_row hilo_$archive[0]">
<span title="$archive[1].dewpoint.maxtime">
$archive[1].dewpoint.max.formatted</span><br/>
<span title="$archive[1].dewpoint.mintime">
$archive[1].dewpoint.min.formatted</span>
</td>
#end for
<td class="units">$unit.label.dewpoint</td>
</tr>
<tr>
<td class="label">$obs.label.outHumidity</td>
#for $archive in $archive_data
<td class="data new_row hilo_$archive[0]">
<span title="$archive[1].outHumidity.maxtime">
$archive[1].outHumidity.max.formatted</span><br/>
<span title="$archive[1].outHumidity.mintime">
$archive[1].outHumidity.min.formatted</span>
</td>
#end for
<td class="units">$unit.label.outHumidity</td>
</tr>
<tr>
<td class="label">$obs.label.barometer</td>
#for $archive in $archive_data
<td class="data new_row hilo_$archive[0]">
<span title="$archive[1].barometer.maxtime">
$archive[1].barometer.max.formatted</span><br/>
<span title="$archive[1].barometer.mintime">
$archive[1].barometer.min.formatted</span>
</td>
#end for
<td class="units">$unit.label.barometer</td>
</tr>
<tr>
<td class="label">$obs.label.rain</td>
#for $archive in $archive_data
<td class="data new_row hilo_$archive[0]">
$archive[1].rain.sum.formatted</td>
#end for
<td class="units">$unit.label.rain</td>
</tr>
<tr>
<td class="label">$obs.label.rainRate</td>
#for $archive in $archive_data
<td class="data new_row hilo_$archive[0]">
<span title="$archive[1].rainRate.maxtime">
$archive[1].rainRate.max.formatted</span>
</td>
#end for
<td class="units">$unit.label.rainRate</td>
</tr>
<tr>
<td class="label">$obs.label.wind_max</td>
#for $archive in $archive_data
<td class="data new_row hilo_$archive[0]">
<span title="$archive[1].wind.maxtime">
$archive[1].wind.max.formatted</span><br/>
$archive[1].wind.gustdir.formatted
</td>
#end for
<td class="units">
$unit.label.wind<br/>
$unit.label.windDir
</td>
</tr>
<tr>
<td class="label">$obs.label.wind_avg</td>
#for $archive in $archive_data
<td class="data new_row hilo_$archive[0]">
$archive[1].wind.avg.formatted</td>
#end for
<td class="units">$unit.label.wind</td>
</tr>
<tr>
<td class="label">$obs.label.wind_rms</td>
#for $archive in $archive_data
<td class="data new_row hilo_$archive[0]">
$archive[1].wind.rms.formatted</td>
#end for
<td class="units">$unit.label.wind</td>
</tr>
<tr>
<td class="label">
$obs.label.vecavg<br/>
$obs.label.vecdir
</td>
#for $archive in $archive_data
<td class="data new_row hilo_$archive[0]">
$archive[1].wind.vecavg.formatted<br/>
$archive[1].wind.vecdir.formatted
</td>
#end for
<td class="units">
$unit.label.wind<br/>
$unit.label.windDir
</td>
</tr>
#if $day.UV.has_data
<tr>
<td class="label">$obs.label.UV</td>
#for $archive in $archive_data
<td class="data new_row hilo_$archive[0]">
<span title="$archive[1].UV.maxtime">
$archive[1].UV.max.formatted</span><br/>
<span title="$archive[1].UV.mintime">
$archive[1].UV.min.formatted</span>
</td>
#end for
<td class="units">$unit.label.UV</td>
</tr>
#end if
#if $day.ET.has_data and $day.ET.sum.raw > 0.0
<tr>
<td class="label">$obs.label.ET</td>
#for $archive in $archive_data
<td class="data new_row hilo_$archive[0]">
<span title="$archive[1].ET.maxtime">
$archive[1].ET.max.formatted</span><br/>
<span title="$archive[1].ET.mintime">
$archive[1].ET.min.formatted</span>
</td>
#end for
<td class="units">$unit.label.ET</td>
</tr>
#end if
#if $day.radiation.has_data
<tr>
<td class="label">$obs.label.radiation</td>
#for $archive in $archive_data
<td class="data new_row hilo_$archive[0]">
<span title="$archive[1].radiation.maxtime">
$archive[1].radiation.max.formatted</span><br/>
<span title="$archive[1].radiation.mintime">
$archive[1].radiation.min.formatted</span>
</td>
#end for
<td class="units">$unit.label.radiation</td>
</tr>
#end if
#if $day.inTemp.has_data
<tr>
<td class="label">$obs.label.inTemp</td>
#for $archive in $archive_data
<td class="data new_row hilo_$archive[0]">
<span title="$archive[1].inTemp.maxtime">
$archive[1].inTemp.max.formatted</span><br/>
<span title="$archive[1].inTemp.mintime">
$archive[1].inTemp.min.formatted</span>
</td>
#end for
<td class="units">$unit.label.inTemp</td>
</tr>
#end if
#if $day.extraTemp1.has_data
<tr>
<td class="label">$obs.label.extraTemp1</td>
#for $archive in $archive_data
<td class="data new_row hilo_$archive[0]">
<span title="$archive[1].extraTemp1.maxtime">
$archive[1].extraTemp1.max.formatted</span><br/>
<span title="$archive[1].extraTemp1.mintime">
$archive[1].extraTemp1.min.formatted</span>
</td>
#end for
<td class="units">$unit.label.extraTemp1</td>
</tr>
#end if
#if $day.extraTemp2.has_data
<tr>
<td class="label">$obs.label.extraTemp2</td>
#for $archive in $archive_data
<td class="data new_row hilo_$archive[0]">
<span title="$archive[1].extraTemp2.maxtime">
$archive[1].extraTemp2.max.formatted</span><br/>
<span title="$archive[1].extraTemp2.mintime">
$archive[1].extraTemp2.min.formatted</span>
</td>
#end for
<td class="units">$unit.label.extraTemp2</td>
</tr>
#end if
#if $day.extraTemp3.has_data
<tr>
<td class="label">$obs.label.extraTemp3</td>
#for $archive in $archive_data
<td class="data new_row hilo_$archive[0]">
<span title="$archive[1].extraTemp3.maxtime">
$archive[1].extraTemp3.max.formatted</span><br/>
<span title="$archive[1].extraTemp3.mintime">
$archive[1].extraTemp3.min.formatted</span>
</td>
#end for
<td class="units">$unit.label.extraTemp3</td>
</tr>
#end if
</tbody>
</table>
</div>
</div>
