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
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
generating weather history for website using realtime.xml
Moderator: daj
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
generating weather history for website using realtime.xml
I wishing to edit my web site to include realtime figures that are updated every 5 minutes from cumulus, but am at a lose on how to do it??
my web site is http://www.users.on.net/~ace2/index.htm (don't knock it, it's based on cumulus templates that's been edited)
I'm trying to add a page that's simliar to the history from weather undergound (Tabular Weather History) 3/4 down the page
http://www.wunderground.com/weatherstat ... SOUTHAU125
I have already set cumulus to upload the realtime.xml and realtime.txt to my site, now i'm after a template to create the web site..
reatime.txt eg :
14/01/14 23:22:49 27.3 49 15.7 0.0 1.1 45 0.0 0.6 1018.1 NE 0 km/h C mb mm 129.0 0.0 10.2 10.2 0.0 28.8 43 27.3 -0.6 44.3 15:15 26.8 18:34 23.4 16:15 37.8 17:49 1019.6 18:51 1013.8 15:01 1.9.3 1059 1.1 27.6 31.6 0 0.00 0 45 0.0 2 0 0 NE 1449 m 29.2 0.0 0 0
realtime.xml : http://www.users.on.net/~ace2/Realtime.xml
Any help would be great
my web site is http://www.users.on.net/~ace2/index.htm (don't knock it, it's based on cumulus templates that's been edited)
I'm trying to add a page that's simliar to the history from weather undergound (Tabular Weather History) 3/4 down the page
http://www.wunderground.com/weatherstat ... SOUTHAU125
I have already set cumulus to upload the realtime.xml and realtime.txt to my site, now i'm after a template to create the web site..
reatime.txt eg :
14/01/14 23:22:49 27.3 49 15.7 0.0 1.1 45 0.0 0.6 1018.1 NE 0 km/h C mb mm 129.0 0.0 10.2 10.2 0.0 28.8 43 27.3 -0.6 44.3 15:15 26.8 18:34 23.4 16:15 37.8 17:49 1019.6 18:51 1013.8 15:01 1.9.3 1059 1.1 27.6 31.6 0 0.00 0 45 0.0 2 0 0 NE 1449 m 29.2 0.0 0 0
realtime.xml : http://www.users.on.net/~ace2/Realtime.xml
Any help would be great
CHRIS

web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: generating weather history for website using realtime.xm
Would it be possible to do something with the 'recent history' web tags? http://wiki.sandaysoft.com/a/Webtags#Recent_History
Here's an example of what someone has done using those web tags: http://members.iinet.net.au/~nossis/weather/obs.htm
Here's an example of what someone has done using those web tags: http://members.iinet.net.au/~nossis/weather/obs.htm
Steve
- mikechristelow
- Posts: 165
- Joined: Wed 01 Feb 2012 9:33 pm
- Weather Station: Watson W8681 (solar)
- Operating System: Windows XP SP3
- Location: Crewe, Cheshire
- Contact:
Re: generating weather history for website using realtime.xm
Is what you're trying to do this
using this perhaps?
(because the realtime.xml uses the realtime.txt file values, which are contunually overwritten and not a log of the kind you'd need?)
You do not have the required permissions to view the files attached to this post.
http://www.christelow.co.uk
“It's snowing still," said Eeyore gloomily.
"So it is."
"And freezing."
"Is it?"
"Yes," said Eeyore. "However," he said, brightening up a little, "we haven't had an earthquake lately.”
“It's snowing still," said Eeyore gloomily.
"So it is."
"And freezing."
"Is it?"
"Yes," said Eeyore. "However," he said, brightening up a little, "we haven't had an earthquake lately.”
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: generating weather history for website using realtime.xm
steve wrote:Would it be possible to do something with the 'recent history' web tags? http://wiki.sandaysoft.com/a/Webtags#Recent_History
Here's an example of what someone has done using those web tags: http://members.iinet.net.au/~nossis/weather/obs.htm
That is exactly what i'm after Steve.....
Now the hard work begins.....
*puts newbie hat on*
CHRIS

web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: generating weather history for website using realtime.xm
Is there a template available for Cumulus to be able to do this????
CHRIS

web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: generating weather history for website using realtime.xm
You could ask 'nossis' (Barry) if he would let you have his? He's a forum user.
Steve
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: generating weather history for website using realtime.xm
still waiting for a reply, but in the mean time, have been playing around with web tags, able to call data using the <#Recent###### m=##> which works, but how do you get a time and date for event?
eg.
<#RecentOutsideTemp m=30>
gives outside temp 30 mins ago
but using
<#time> will give current date/time, how do you minus 30 mins???? cause the m=30 does work!!!
eg.
<#RecentOutsideTemp m=30>
gives outside temp 30 mins ago
but using
<#time> will give current date/time, how do you minus 30 mins???? cause the m=30 does work!!!
CHRIS

web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: generating weather history for website using realtime.xm
Use <#RecentTS> as mentioned in the wiki (it's the first one in the table of 'recent history' web tags).
e.g. <#RecentTS m=30> will the give the timestamp of the data from 30 minutes ago. You can use the 'format' parameter to get the date/time format that you want.
e.g. <#RecentTS m=30> will the give the timestamp of the data from 30 minutes ago. You can use the 'format' parameter to get the date/time format that you want.
Steve
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: generating weather history for website using realtime.xm
but how can I get the time format to minus the mins.
11:30pm(current time) and I wish to have the time as current -30 mins.(11:00pm)
using
<#time m=30>
doesn't seem to work
shows 11:30pm m=30 in the output
11:30pm(current time) and I wish to have the time as current -30 mins.(11:00pm)
using
<#time m=30>
doesn't seem to work
shows 11:30pm m=30 in the output
CHRIS

web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: generating weather history for website using realtime.xm
Perhaps I'm misunderstanding what you are trying to do. The <#time> web tag doesn't have an 'm' parameter, it always gives the current time. You need to use <#RecentTS> if you want to timestamp the <#Recent....> data values.
At 11.30pm, <#RecentOutsideTemp m=30> will give you the outside temperature at 11.00 pm (or the nearest if that's not available), and <#RecentTS m=30> will give you the date and time 30 minutes ago (actually the date and time corresponding to the data value previously mentioned), using the Windows short time format and short date format. If you just want the time, <#RecentTS m=30 format="hh:nn"> will give you that, i.e "11:00".
At 11.30pm, <#RecentOutsideTemp m=30> will give you the outside temperature at 11.00 pm (or the nearest if that's not available), and <#RecentTS m=30> will give you the date and time 30 minutes ago (actually the date and time corresponding to the data value previously mentioned), using the Windows short time format and short date format. If you just want the time, <#RecentTS m=30 format="hh:nn"> will give you that, i.e "11:00".
Steve
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: generating weather history for website using realtime.xm
yes I worked that out, silly me had a typo causing it to not work!!!
I'm using the format=t which gives 11:00am. the only other problem I'm having is, the first time comes out with 11:00am and the next line is 10:31am, it seems to add a minute on some how. I'm not sure if I use m=31 or is there an easy way to round the time up/down???
here is the page I'm creating (still in the process of editing, so its still ruff).
http://www.users.on.net/~ace2/obe.htm
I'm using the format=t which gives 11:00am. the only other problem I'm having is, the first time comes out with 11:00am and the next line is 10:31am, it seems to add a minute on some how. I'm not sure if I use m=31 or is there an easy way to round the time up/down???
here is the page I'm creating (still in the process of editing, so its still ruff).
http://www.users.on.net/~ace2/obe.htm
CHRIS

web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: generating weather history for website using realtime.xm
A sample of the webtags i'm using to correct the time issue below :
<tr>
<td><#RecentTS format=t h=7 m=1></td>
<td><#RecentOutsideTemp h=7 m=1></td>
<td><#RecentWindChill h=7 m=1></td>
<td><#RecentDewPoint h=7 m=1></td>
<td><#RecentHumidity h=7 m=1></td>
<td><#RecentWindSpeed h=7 m=1></td>
<td><#RecentWindGust h=7 m=1></td>
<td><#RecentWindDir h=7 m=1></td>
<td><#RecentWindAvgDir h=7 m=1></td>
<td><#RecentRainToday h=7 m=1></td>
</tr>
<tr>
<td><#RecentTS format=t h=7 m=31></td>
<td><#RecentOutsideTemp h=7 m=31></td>
<td><#RecentWindChill h=7 m=31></td>
<td><#RecentDewPoint h=7 m=31></td>
<td><#RecentHumidity h=7 m=31></td>
<td><#RecentWindSpeed h=7 m=31></td>
<td><#RecentWindGust h=7 m=31></td>
<td><#RecentWindDir h=7 m=31></td>
<td><#RecentWindAvgDir h=7 m=31></td>
<td><#RecentRainToday h=7 m=31></td>
I know i'm annoying with all this, but how do i convert/change the #RecentWindDir & #RecentWindAvgDir to show the actual direction and not a number???
eg 101 degrees as ESE
<tr>
<td><#RecentTS format=t h=7 m=1></td>
<td><#RecentOutsideTemp h=7 m=1></td>
<td><#RecentWindChill h=7 m=1></td>
<td><#RecentDewPoint h=7 m=1></td>
<td><#RecentHumidity h=7 m=1></td>
<td><#RecentWindSpeed h=7 m=1></td>
<td><#RecentWindGust h=7 m=1></td>
<td><#RecentWindDir h=7 m=1></td>
<td><#RecentWindAvgDir h=7 m=1></td>
<td><#RecentRainToday h=7 m=1></td>
</tr>
<tr>
<td><#RecentTS format=t h=7 m=31></td>
<td><#RecentOutsideTemp h=7 m=31></td>
<td><#RecentWindChill h=7 m=31></td>
<td><#RecentDewPoint h=7 m=31></td>
<td><#RecentHumidity h=7 m=31></td>
<td><#RecentWindSpeed h=7 m=31></td>
<td><#RecentWindGust h=7 m=31></td>
<td><#RecentWindDir h=7 m=31></td>
<td><#RecentWindAvgDir h=7 m=31></td>
<td><#RecentRainToday h=7 m=31></td>
I know i'm annoying with all this, but how do i convert/change the #RecentWindDir & #RecentWindAvgDir to show the actual direction and not a number???
eg 101 degrees as ESE
CHRIS

web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: generating weather history for website using realtime.xm
Your page looks OK at the moment with the code you're using. I think it's because the web page gets processed just after a new minute starts. It might be a bug.ace2 wrote:the only other problem I'm having is, the first time comes out with 11:00am and the next line is 10:31am, it seems to add a minute on some how. I'm not sure if I use m=31 or is there an easy way to round the time up/down???
Use some javascript. E.gI know i'm annoying with all this, but how do i convert/change the #RecentWindDir & #RecentWindAvgDir to show the actual direction and not a number???
eg 101 degrees as ESE
Code: Select all
<script>
var compassPoints = new Array(
"N", "NNE", "NE", "ENE",
"E", "ESE", "SE", "SSE",
"S", "SSW", "SW", "WSW",
"W", "WNW", "NW", "NNW");
function windDir($winddir)
{
return compassPoints[Math.floor(((parseInt($winddir) + 11) / 22.5) % 16 )];
}
</script><script>
document.write(windDir(<#RecentWindDir h=7 m=1>) );
</script>
where you're using the web tag.
Steve
-
nossis
- Posts: 95
- Joined: Wed 28 Nov 2012 6:12 am
- Weather Station: Davis Vantage Pro 2
- Operating System: Win 10
- Location: Perth AU
- Contact:
Re: generating weather history for website using realtime.xm
Just stumbled across this post now...
if you still need it and haven't found my source page for observations, grab it from over here.
https://cumulus.hosiene.co.uk/viewtopic.p ... 372#p89372
the last post i uploaded and just updated it then too.
Barry
if you still need it and haven't found my source page for observations, grab it from over here.
https://cumulus.hosiene.co.uk/viewtopic.p ... 372#p89372
the last post i uploaded and just updated it then too.
Barry
- ace2
- Posts: 679
- Joined: Tue 14 Jan 2014 12:38 pm
- Weather Station: maxkon ws-1081pc
- Operating System: windows 7 & 8
- Location: Adelaide, south Australia, Australia
- Contact:
Re: generating weather history for website using realtime.xm
All done...
http://www.users.on.net/~ace2/obe.htm
Finally ironed out all my bugs.
had to rebuild the whole template pages due to some mistakes
Thanks
http://www.users.on.net/~ace2/obe.htm
Finally ironed out all my bugs.
had to rebuild the whole template pages due to some mistakes
Thanks
CHRIS

web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used
web site
http://www.ace2weather.com
Follow me on Twitter
http://tinyurl.com/kwlr9re
YouTube channel
http://tinyurl.com/lehwpgp
Facebook page
http://tinyurl.com/k3sap4s
Tiny URL links used