Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Add UV Index and Sunshine Hours to WH3081 website display

Discussion specific to Fine Offset and similar rebadged weather stations
Post Reply
aurion45
Posts: 20
Joined: Sun 22 Jan 2012 5:30 am
Weather Station: WH3081
Operating System: Windows 8.1, Raspbian
Location: Australia
Contact:

Add UV Index and Sunshine Hours to WH3081 website display

Post by aurion45 »

Hi Everyone,
I'm newbie to the weather station scene, I have WH3081 and noticed another person has the same station as me, except they have the following parameters added to their website weather station.
I have UV index but not sure about Sunshine Hours.
Can someone point me in the right please, as what to do?

<tr class="td_temperature_data">
<td>UV Index</td>
<td>9.0/16</td>
<td>Sunshine Hours</td>
<td>10.4</td>
</tr>

Where do I add this to what html file?
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Add UV Index and Sunshine Hours to WH3081 website displa

Post by steve »

You need to use web tags rather than actual values, otherwise your web page will only ever show those values.

You need to edit indexT.htm in the Cumulus web folder; best to do it with a simple good text editor like notepad++. Add the following to the temperature table:

Code: Select all

<tr class="td_temperature_data">
  <td>UV Index</td>
  <td><#UV>/16</td>
  <td>Sunshine Hours</td>
  <td><#SunshineHours></td>
</tr>
More information about editing the web pages and the use of web tags is in the help, and in the wiki - http://wiki.sandaysoft.com/a/Customised_templates
Steve
aurion45
Posts: 20
Joined: Sun 22 Jan 2012 5:30 am
Weather Station: WH3081
Operating System: Windows 8.1, Raspbian
Location: Australia
Contact:

Re: Add UV Index and Sunshine Hours to WH3081 website displa

Post by aurion45 »

Thanks.
Post Reply