Page 1 of 1

Hist files in public/weather directory

Posted: Fri Apr 10, 2009 8:47 pm
by HeinrichH
In the public/weather directory are a number of files starting with hist- but they don't have an extension.
I presume it are history files in asci because I can read them eith notepad.
Does somebody know how to use this files or is there an application somewhere to generate a all-time record graph as Weather Display does?

Re:Hist files in public/weather directory

Posted: Fri Apr 10, 2009 10:32 pm
by skyewright
HeinrichH wrote:Does somebody know how to use this files or is there an application somewhere to generate a all-time record graph as Weather Display does?
I think that the HTML Template feature of Meteohub is what you are looking for.
I don't have a copy of the PDF manual on this PC so I can't give a reference, but if you look in the table of contents or just search for "HTML Template" you should find the relevant sections.

Re:Hist files in public/weather directory

Posted: Fri Apr 10, 2009 11:45 pm
by HeinrichH
I think that's possible but I don't know much from creating webpages or so.
Maybe there somebody who created a webpage that can be used as a template?

Re:Hist files in public/weather directory

Posted: Sat Apr 11, 2009 7:14 pm
by tervingo
Hi,

Here you are a sample HTML code with a table using some of the (many) variables available in Meteohub. For a complete list of these variables, please refer to section "4.4 Port 5558: List of Sensor Data" in the Meteohub 4.2 user manual.

<table align="center">
<thead>
<tr>
<th colspan="6">Last updated on [actual_date0_puredate_local]
at [actual_date0_time_local]</th>
</tr>
</thead>
<tbody>
<tr>
<th width="15%">Temperature</th>
<td width="19%">[actual_th0_temp_c]º</td>
<th width="15%">Humidity</th>
<td width="19%">[actual_th0_hum_rel]%</td>
<th width="17%">Barometer</th>
<td width="15%">[actual_thb0_sealevel_hpa] hPa</td>
</tr>
<tr>
<th>Max. Temp.</th>
<td>[day1_th0_tempmax_c]º</td>
<th>Min. Temp.</th>
<td>[day1_th0_tempmin_c]º</td>
<th>Chill</th>
<td>[actual_wind0_chill_c]º</td>

</tr>
<tr>
<th>Wind Speed</th>
<td>[actual_wind0_speed_kmh] km/h</td>
<th>Wind Direction</th>
<td>[actual_wind0_dir_deg] ([actual_wind0_dir_en])</td>
<th>Rain Today</th>
<td>[day1_rain0_total_mm] mm</td>
</tr>
</tbody>
</table>