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

system status page setup

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Michael_Wright
Posts: 140
Joined: Thu 30 May 2013 9:15 am
Weather Station: fine offset
Operating System: windows 7
Location: Townsville/Queensland/Australia
Contact:

system status page setup

Post by Michael_Wright »

Hi guys i would like to setup a system status page how do i get it on the website

Mike :D
Image
The Future you have Not seen but the presants shall all ways be.
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: system status page setup

Post by water01 »

It is not a standard template page that Steve supplies, so either you build one in html yourself (not hard if you use another Template page and copy it, rename it say systemT.html) or ask someone who has one if you can have a copy. You will also have to amend the menu to accomodate your new piece of html.

I have one but mine is written for .php, but I have the original html but my menu sytem used at the time was completely non-Steve standard, but others may have a more original type template one.
David
Image
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: system status page setup

Post by mcrossley »

I have one that is standard-ish but slanted towards the Davis station - if you want to modify it for your purposes you are welcome to it.
http://weather.wilmslowastro.com/systeminfo.htm
User avatar
gluepack
Posts: 460
Joined: Tue 22 Jan 2013 9:20 pm
Weather Station: PCE-FWS 20
Operating System: Win 7 Pro
Location: Zlatina, Bulgaria

Re: system status page setup

Post by gluepack »

It is a (I think) standard part of the Saratoga templates. You can see it on my site (it is a bit dull so that will probably be my next project, to pretty it up a bit). You could have a look at the code and see if it is modifiable for what you need.
Image

PWS links: WundergroundIVARNAPR3CWOP/APRSE(W)2048PWSWeatherZLATINABGAwekas10631Twitter@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
Michael_Wright
Posts: 140
Joined: Thu 30 May 2013 9:15 am
Weather Station: fine offset
Operating System: windows 7
Location: Townsville/Queensland/Australia
Contact:

Re: system status page setup

Post by Michael_Wright »

Do I need to add any think else to the <p>This page shows various weather system details.</p>
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="padding-bottom: 10px;">
<tbody>
<tr>
<td colspan="2" class="tableseparator_temp">Error Data</td>
</tr>
<tr class="td_temperature_data">
<td>Station&nbsp;Data&nbsp;Feed<noscript>&nbsp;Stopped</noscript>:</td>
<td><script>document.write(0==1 ? "!! Data Stopped !!" : "Data OK")</script><noscript>0</noscript></td>
</tr>
<tr class="td_temperature_data">
<td>Time&nbsp;last&nbsp;data&nbsp;was&nbsp;read&nbsp;from&nbsp;station</td>
<td>31/05/2013 23:29:57</td>
</tr>
<tr class="td_temperature_data">
<td>Latest&nbsp;Error:</td>
<td><script>document.write(""=="" ? "No error" : "")</script><noscript></noscript></td>
</tr>
<tr class="td_temperature_data">
<td>Error&nbsp;Time:</td>
<td>---- ------</td>
</tr>
<tr>
<td colspan="4" class="tableseparator_rainfall">Settings</td>
</tr>
<tr class="td_rainfall_data">
<td>Cumulus&nbsp;Version&nbsp;(Build)</td>
<td>v1.9.4&nbsp;(1079)</td>
</tr>
<tr class="td_rainfall_data">
<td>Realtime&nbsp;Update&nbsp;Interval </td>
<td>8 seconds</td>
</tr>
<tr class="td_rainfall_data">
<td>Website&nbsp;Update&nbsp;Interval </td>
<td>5 minutes</td>
</tr>
<tr class="td_rainfall_data">
<td>Last&nbsp;Update&nbsp;Time </td>
<td>31/05/2013 23:30:02</td>
</tr>
<tr class="td_rainfall_data">
<td>Log&nbsp;Rollover&nbsp;Time </td>
<td>midnight</td>
</tr>
<tr>
<td colspan="2" class="tableseparator_wind">Davis Hardware</td>
</tr>
<tr class="td_wind_data">
<td>Total number of data packets received</td>
<td>2882</td>
</tr>
<tr class="td_wind_data">
<td>Number of missed data packets</td>
<td>112</td>
</tr>
<tr class="td_wind_data">
<td>Percentage of good packets received</td>
<td><script>
var tot = 2882 === 0 ? 1 : 2882;
document.write(((tot / (tot + 112)) * 100).toFixed(1) + '%');
</script>
<noscript>n/a</noscript></td>
</tr>
<tr class="td_wind_data">
<td>Number of times the console resynchronised with the transmitter</td>
<td>0</td>
</tr>
<tr class="td_wind_data">
<td>Longest streak of consecutive packets received</td>
<td>152</td>
</tr>
<tr class="td_wind_data">
<td>Number of packets received with CRC errors</td>
<td>70</td>
</tr>
<tr class="td_wind_data">
<td>The console firmware version</td>
<td>3.12</td>
</tr>
<tr class="td_wind_data">
<td>Console battery condition</td>
<td>4.80v</td>
</tr>
<tr class="td_wind_data">
<td>ISS battery condition</td>
<td>ok</td>
</tr>
<td colspan="2" class="tableseparator_pressure">Station Info</td>
</tr>
<tr class="td_pressure_data">
<td>Station&nbsp;Type</td>
<td>Davis Vantage Pro2</td>
</tr>
<tr class="td_pressure_data">
<td>Station&nbsp;Latitude</td>
<td>N&nbsp;53&deg;&nbsp;19'&nbsp;32"</td>
</tr>
<tr class="td_pressure_data">
<td>Station&nbsp;Longitude</td>
<td>W&nbsp;02&deg;&nbsp;14'&nbsp;34"</td>
</tr>
<tr class="td_pressure_data">
<td>Station&nbsp;Altitude</td>
<td>70&nbsp;m</td>
</tr>
<tr>
<td colspan="2" class="tableseparator_pressure">System Info</td>
</tr>
<tr class="td_pressure_data">
<td>OS&nbsp;Version</td>
<td>Windows XP Service Pack 3 build 2600</td>
</tr>
<tr class="td_pressure_data">
<td>CPU</td>
<td>Intel(R) Pentium(R) M processor 1.60GHz&nbsp;(1&nbsp;cores)</td>
</tr>
<tr class="td_pressure_data">
<td>Memory&nbsp;Status</td>
<td>227/766 MB (free/total)</td>
</tr>
<tr class="td_pressure_data">
<td>Allocated&nbsp;Memory&nbsp;to&nbsp;Cumulus</td>
<td>32.38 MB</td>
</tr>
<tr class="td_pressure_data">
<td>Disk&nbsp;Remaining</td>
<td>11.95 GB</td>
</tr>
<tr class="td_pressure_data">
<td>Cumulus&nbsp;Uptime</td>
<td>2 hours 23 minutes</td>
</tr>
<tr class="td_pressure_data">
<td>Server&nbsp;Uptime</td>
<td>12 days 23 hours</td>
</tr>
</tbody>
</table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="padding-bottom: 10px;">
<tbody>
<tr>
<td class="td_navigation_bar">
:<a href="/index.htm" title="Current conditions">now</a>:<wbr>:<a href="/gauges-ss.htm" title="Realtime gauges">gauges</a>:<wbr>:<a href="/today.htm" title="Todays & yesterdays highs & lows">today/yesterday</a>:<wbr>:<a href="/monthYear.htm" title="This months/years highs & lows">month/year</a>:<wbr>:<a href="/record.htm" title="All time records">records</a>:<wbr>:<a href="/realtime.htm" title="Realtime gadget">realtime</a>:<wbr>:<a href="/reports.php" title="NOAA Type Reports">reports</a>:<wbr>:<a href="/highcharts/recentGraphs.htm" title="Recent trend graphs">recent</a>:<wbr>:<a href="/highcharts/historicGraphs.htm" title="Historic data graphs">historic</a>:<wbr>:<a href="monthlyrecord.htm" title="Records Month by Month">monthly&nbsp;records</a>:<wbr>:<a href="/datasummary.php" title="Data summary tables">data&nbsp;summary</a>:<wbr>:<a href="/forecast.htm" title="3 day Astronomy forecast">forecast</a>:<wbr>:<a href="/mobile/index.htm" title="Mobile friendly page">mobile</a>:<wbr>:<a href="http://www.wilmslowastro.com" title="My astro pages">Wilmslow&nbsp;Astro</a>:<wbr>:<a href="/systeminfo.htm" title="VP2 Info">System&nbsp;Info</a>:
</td>
</tr>
</tbody>
</table>
<p class="credits">
Page updated 31/05/2013 23:30:02<br />
powered by <a href="http://sandaysoft.com/products/cumulus" target="_blank">Cumulus</a> v1.9.4 (1079)
</p>
<script>
window.onload = function () {
var curImg = new Image();
curImg.src = "http://cumulussites.net/button.php?u=mcrossley";
}
</script>
<noscript>
<img src="http://cumulussites.net/button.php?u=mcrossley" />
</noscript>

Mike
Image
The Future you have Not seen but the presants shall all ways be.
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: system status page setup

Post by beteljuice »

That is a 'processed' page - you need the Template file with the <#webtags> in it.

BTW, when posting code could you please drop in the [ code ] [ /code ] tags.
Image
......................Imagine, what you will KNOW tomorrow !
Michael_Wright
Posts: 140
Joined: Thu 30 May 2013 9:15 am
Weather Station: fine offset
Operating System: windows 7
Location: Townsville/Queensland/Australia
Contact:

Re: system status page setup

Post by Michael_Wright »

sorry still getting use to this forum will rember next time anway how can I get a copy of the webtags and where do I put it

Mike
Image
The Future you have Not seen but the presants shall all ways be.
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: system status page setup

Post by beteljuice »

This bit at the bottom would not apply:

Code: Select all

<script>
window.onload = function () {
var curImg = new Image();
curImg.src = "http://cumulussites.net/button.php?u=mcrossley";
}
</script>
<noscript>
<img src="http://cumulussites.net/button.php?u=mcrossley" />
</noscript>
It also tells us you 'lifted' Marks page :lol:

Ask him nicely and he might pass on the template code ;)
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: system status page setup

Post by mcrossley »

Here's the template, I have removed my custom stuff, but I have left in the Davis fields in case anyone else wants to use it. You will want to delete those as you have a Fine Offset.
You do not have the required permissions to view the files attached to this post.
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: system status page setup

Post by PaulMy »

Thanks Mark, I have added it

Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
Michael_Wright
Posts: 140
Joined: Thu 30 May 2013 9:15 am
Weather Station: fine offset
Operating System: windows 7
Location: Townsville/Queensland/Australia
Contact:

Re: system status page setup

Post by Michael_Wright »

mcrossley wrote:Here's the template, I have removed my custom stuff, but I have left in the Davis fields in case anyone else wants to use it. You will want to delete those as you have a Fine Offset.
Thankyou Mark for the template i'll make sure I will give you some credit on my website

Regards
Mike
Image
The Future you have Not seen but the presants shall all ways be.
Michael_Wright
Posts: 140
Joined: Thu 30 May 2013 9:15 am
Weather Station: fine offset
Operating System: windows 7
Location: Townsville/Queensland/Australia
Contact:

Re: system status page setup

Post by Michael_Wright »

Hi all I getting the code in red indreamweaver could some one help me out to get it working. cause I have a fineoffset I have deleted the davis code ???

Code: Select all

<td><script>document.write(<#DataStopped>==1 ? "!! Data Stopped !!" : "Data OK")</script><noscript><#DataStopped></noscript></td>
Image
The Future you have Not seen but the presants shall all ways be.
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: system status page setup

Post by mcrossley »

Hi Michael, the code is fine, Dreamweaver is probably complaining because of the Cumulus web tags which are not valid JavaScript - but once the page has been processed by Cumulus the script will work.
Michael_Wright
Posts: 140
Joined: Thu 30 May 2013 9:15 am
Weather Station: fine offset
Operating System: windows 7
Location: Townsville/Queensland/Australia
Contact:

Re: system status page setup

Post by Michael_Wright »

do I need to put it in cumulus file
Image
The Future you have Not seen but the presants shall all ways be.
Michael_Wright
Posts: 140
Joined: Thu 30 May 2013 9:15 am
Weather Station: fine offset
Operating System: windows 7
Location: Townsville/Queensland/Australia
Contact:

Re: system status page setup

Post by Michael_Wright »

Thanks Mark got it working I fig it out so thankyou for the help guys http://www.wildweather.fhost.com.au/systeminfoT.htm just have to delete the davis script out regards MIke
Image
The Future you have Not seen but the presants shall all ways be.
Post Reply