Here is an AJAX script that reads the file realtime.txt and creates a Gauge, see and download it at:
http://www.casacota.net/teranyina?num=1291240506
(there is also an english version in the package).
I've it done for my site at http://meteo.casacota.net
Since I'm not using Cumulus myself (my homemade weather station is not supported by any software), I'm generating the file realtime.txt by another script of my own, so I'm not sure if there are glitches on my realtime.txt and the gauge could not work with a genuine realtime.txt file, so use and modify it at your own risk!
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Ajax Gauge for Cumulus Realtime
- daj
- Posts: 2041
- Joined: Tue 29 Jul 2008 8:00 pm
- Weather Station: WH1081
- Operating System: Pi & MX
- Location: SW Scotland
- Contact:
Re: Ajax Gauge for Cumulus Realtime
that's a very comprehensive gauge Well done
Here it is using my site data...http://www.grantownweather.co.uk/g2/rea ... nglish.htm
I did not modify anything so it is using a genuine realtime.txt file. I think the only thing I would need to change is the wind speed as it is showing in km/hr whereas I measure in m/hr
Here it is using my site data...http://www.grantownweather.co.uk/g2/rea ... nglish.htm
I did not modify anything so it is using a genuine realtime.txt file. I think the only thing I would need to change is the wind speed as it is showing in km/hr whereas I measure in m/hr
-
- Posts: 27
- Joined: Sun 28 Mar 2010 2:04 pm
- Weather Station: Davis Vantage Vue
- Operating System: Windows XP pro SP3
- Location: Catalan Pyrennees
- Contact:
Re: Ajax Gauge for Cumulus Realtime
daj wrote:that's a very comprehensive gauge Well done
Here it is using my site data...http://www.grantownweather.co.uk/g2/rea ... nglish.htm
I did not modify anything so it is using a genuine realtime.txt file. I think the only thing I would need to change is the wind speed as it is showing in km/hr whereas I measure in m/hr
Nice, thank you.
The conversions for the wind units are done in the htm file, you may have to change these lines:
Code: Select all
metrespersegon =Math.round(vent * 0.27778);
millesperhora =Math.round(vent * 0.62137);
nusos =Math.round(vent * 0.53961);
maxmetrespersegon =Math.round(maxvent * 0.27778);
maxmillesperhora =Math.round(maxvent * 0.62137);
maxnusos =Math.round(maxvent * 0.53961);
clock.labelvent.setText("wind " + vent + " km/h - " + metrespersegon + " m/s - " + millesperhora + " mph - " + nusos + " kt");
clock.labelmxvent.setText("high gst. " + maxvent + " km/h - " + maxmetrespersegon + " m/s - " + maxmillesperhora + " mph - " + maxnusos + " kt");
Code: Select all
<Gauge2Label text="km" font="18" foreColor="navy" x="491" y="55" anchorHorizontal="center" anchorVertical="center"/>
<Gauge2Label text="/h" font="18" foreColor="navy" x="491" y="70" anchorHorizontal="center" anchorVertical="center"/>
<Gauge2Label text="km" font="18" foreColor="navy" x="490" y="930" anchorHorizontal="center" anchorVertical="center"/>
<Gauge2Label text="/h" font="18" foreColor="navy" x="490" y="945" anchorHorizontal="center" anchorVertical="center"/>
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Ajax Gauge for Cumulus Realtime
That free Bindows gauges kit looks like it might be very useful.
Steve
- robynfali
- Posts: 1076
- Joined: Sat 31 Jul 2010 10:34 pm
- Weather Station: Vantage Vue
- Operating System: Windows XP
- Location: Anglesey, North Wales, UK
- Contact:
Re: Ajax Gauge for Cumulus Realtime
Looks very good indeed, one quick question/note
the rain, it goes up to a maximum of 1000mm, so far this year, locally has been over 1000mm, but its not reflected on the guage?
the rain, it goes up to a maximum of 1000mm, so far this year, locally has been over 1000mm, but its not reflected on the guage?
- robynfali
- Posts: 1076
- Joined: Sat 31 Jul 2010 10:34 pm
- Weather Station: Vantage Vue
- Operating System: Windows XP
- Location: Anglesey, North Wales, UK
- Contact:
Re: Ajax Gauge for Cumulus Realtime
no matter, it does show in text, cheers, cracking guage
-
- Posts: 27
- Joined: Sun 28 Mar 2010 2:04 pm
- Weather Station: Davis Vantage Vue
- Operating System: Windows XP pro SP3
- Location: Catalan Pyrennees
- Contact:
Re: Ajax Gauge for Cumulus Realtime
Ah, I've adjusted it for my local values, but you can modify the code to change this.robynfali wrote:Looks very good indeed, one quick question/note
the rain, it goes up to a maximum of 1000mm, so far this year, locally has been over 1000mm, but its not reflected on the guage?
In the xml file search for this:
Code: Select all
<Gauge2LinearScale font="16" foreColor="navy" startValue="00" endValue="1000" labelCount="11" labelSpacing="35" labelPosition="-20" postString="">
This can be done also for all other scales, of course.
- geoffp
- Posts: 322
- Joined: Tue 28 Jun 2011 2:06 pm
- Weather Station: Oregon Scientific WMR 200
- Operating System: Windows 7
- Location: Harwich, Essex
- Contact:
Re: Ajax Gauge for Cumulus Realtime
Does anyone have a link to download this gauge
Regards,
Geoff
WOW Site No. 147808
Geoff
WOW Site No. 147808