Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3044 7 December 2018. See the Wiki for download

<#currcond>

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

Moderator: daj

jaed
Posts: 9
Joined: Fri 02 Jul 2010 6:54 am
Weather Station: WH 1080 PC
Operating System: win 7

<#currcond>

Post by jaed » Sun 16 Oct 2011 12:34 pm

Why doesn't this html line work:
Note for today: <#currcond> (ref: www.jaed.no/weather).

In the help file is mentioned a Current conditions boxon the main screen.
Is this the box for input found under View/Weather Diary ?

User avatar
MickinMoulden
Posts: 499
Joined: Mon 20 Dec 2010 12:12 pm
Weather Station: WS-1081 with rain gauge mod
Operating System: Windows 7 & 1.9.3 b1059
Location: Palmerston, NT, Australia
Contact:

Re: <#currcond>

Post by MickinMoulden » Sun 16 Oct 2011 1:03 pm

jaed wrote:Why doesn't this html line work:
Note for today: <#currcond> (ref: http://www.jaed.no/weather).

In the help file is mentioned a Current conditions boxon the main screen.
Is this the box for input found under View/Weather Diary ?
No. It's on the main screen. Go to Configuration/Display and tick the box for "Show Current Conditions Box". Once this is ticked it will show on the main screen down the bottom. You can type stuff in there and your html line will print it on your webpage.
Michael, Palmerston, NT Australia www.Palmerston-WeatherImageNo image? I'm offline!
ImageImage

jaed
Posts: 9
Joined: Fri 02 Jul 2010 6:54 am
Weather Station: WH 1080 PC
Operating System: win 7

Re: <#currcond>

Post by jaed » Sun 16 Oct 2011 1:25 pm

Thanks, that solved it !!

User avatar
GraemeT
Posts: 308
Joined: Wed 21 Oct 2009 11:19 am
Weather Station: La Crosse WS-2355 & WS-2306
Operating System: Windoze 7
Location: Bayswater, Australia
Contact:

Re: <#currcond>

Post by GraemeT » Sun 16 Oct 2011 10:21 pm

jaed,
You can also use php or javascript to collect data from an external source (ie. a local metar station) and save to the file ..\cumulus\currentconditions.txt. Cumulus will read this file and place the data in <#currcond> for you.

Procedure for retrieving and using metar data is discussed here: http://sandaysoft.com/forum/viewtopic.p ... 693#p38693
Cheers,
Graeme.

Image

User avatar
nking
Posts: 804
Joined: Thu 17 Dec 2009 2:03 pm
Weather Station: WH1081
Operating System: Windows 10
Location: Hurstpierpoint, West Sussex, UK
Contact:

Re: <#currcond>

Post by nking » Mon 17 Oct 2011 10:29 am

Inspired by Graeme I have managed to get the local airport metar data onto my site without using anything other than Cumulus and Nirsoft Meta Weather MetarWeather v1.68 - METAR decoder - no need for php or scripts!

Using the Cumulus Settings you can run mweather with the correct parameters to create the currentconditons text file. If more detail is required let me know.
You do not have the required permissions to view the files attached to this post.
Last edited by nking on Mon 17 Oct 2011 12:39 pm, edited 1 time in total.

User avatar
mcrossley
Posts: 5236
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: <#currcond>

Post by mcrossley » Mon 17 Oct 2011 10:50 am

Neil, a write up of that method may be a nice addition to the Wiki ;)

User avatar
MickinMoulden
Posts: 499
Joined: Mon 20 Dec 2010 12:12 pm
Weather Station: WS-1081 with rain gauge mod
Operating System: Windows 7 & 1.9.3 b1059
Location: Palmerston, NT, Australia
Contact:

Re: <#currcond>

Post by MickinMoulden » Mon 17 Oct 2011 11:38 am

Will that work in Australia?
Michael, Palmerston, NT Australia www.Palmerston-WeatherImageNo image? I'm offline!
ImageImage

User avatar
steve
Cumulus Author
Posts: 26714
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: <#currcond>

Post by steve » Mon 17 Oct 2011 12:31 pm

MickinMoulden wrote:Will that work in Australia?
Should do; here's the decode for the latest Darwin METAR:

==================================================
ICAO : YPDN
Station Name : Darwin (Civ/Mil)
Country : Australia
Location : 12-24S 130-52E
Elevation : 30m
Time : 17 / 12:00Z
Temperature : 27.0°C
Dew Point : 21.0°C
RH : 70%
Wind : S (190 degrees) at 9 km/h
Visibility : > 10000m
Pressure : 1011.9 mb
Sky Condition :
Weather :
Remarks :
Heat Index : 28.8°C
Wind Chill : N/A
==================================================
Steve

User avatar
nking
Posts: 804
Joined: Thu 17 Dec 2009 2:03 pm
Weather Station: WH1081
Operating System: Windows 10
Location: Hurstpierpoint, West Sussex, UK
Contact:

Re: <#currcond>

Post by nking » Mon 17 Oct 2011 1:53 pm

mcrossley wrote:Neil, a write up of that method may be a nice addition to the Wiki ;)
I have quickly put together the attached word.doc which I hope will generate feedback for putting together something for Wiki ;)
You do not have the required permissions to view the files attached to this post.

User avatar
GraemeT
Posts: 308
Joined: Wed 21 Oct 2009 11:19 am
Weather Station: La Crosse WS-2355 & WS-2306
Operating System: Windoze 7
Location: Bayswater, Australia
Contact:

Re: <#currcond>

Post by GraemeT » Tue 18 Oct 2011 2:46 am

Nice work, Neil.
Cheers,
Graeme.

Image

User avatar
nking
Posts: 804
Joined: Thu 17 Dec 2009 2:03 pm
Weather Station: WH1081
Operating System: Windows 10
Location: Hurstpierpoint, West Sussex, UK
Contact:

Re: <#currcond>

Post by nking » Tue 18 Oct 2011 4:13 am

Thanks Graeme but credit to you for the original concept (and thanks to Steve for the features built into Cumulus). I just adapted it because I have no scripting or php skills.

goldrush
Posts: 183
Joined: Mon 27 Oct 2008 4:50 pm
Weather Station: Fine Offset WH1081
Location: Aberdeenshire, Scotland
Contact:

Re: <#currcond>

Post by goldrush » Tue 18 Oct 2011 3:24 pm

Has anyone managed to get this to work with 64 bit Win 7?

Works ok as a stand alone, but not able to command it from Cumulus
Image

User avatar
Ned
Posts: 226
Joined: Mon 19 Jul 2010 11:15 am
Weather Station: WS2083 aspirated
Operating System: Win 10
Location: Auckland NZ
Contact:

Re: <#currcond>

Post by Ned » Wed 19 Oct 2011 7:42 am

Good stuff Neil, just what I wanted, but had no idea how. I also found it useful to have a 2nd copy of Mweather running in another directory (with its own config) for viewing other attributes and sites too. Cheers!

User avatar
nking
Posts: 804
Joined: Thu 17 Dec 2009 2:03 pm
Weather Station: WH1081
Operating System: Windows 10
Location: Hurstpierpoint, West Sussex, UK
Contact:

Re: <#currcond>

Post by nking » Wed 19 Oct 2011 8:07 am

Hi Ned,

Glad you find it useful. Were the instructions OK to follow or do I need to make amendments?

Off topic, good luck for the Rugby final I think you're odds on to win.... I'll be rooting for you.

User avatar
Ned
Posts: 226
Joined: Mon 19 Jul 2010 11:15 am
Weather Station: WS2083 aspirated
Operating System: Win 10
Location: Auckland NZ
Contact:

Re: <#currcond>

Post by Ned » Wed 19 Oct 2011 8:47 am

Thanks Neil - instructions were fine, once I corrected a typo I made in the Cumulus entries :oops:
I already had my webpage displaying current conditions, but rarely got to typing an entry in the Cumulus panel. Problem now solved!
Yeah, the country is pretty confident for the rugby final (touch wood), we need it to help counteract the despondency over the ongoing shipwreck ecological disaster.
Cheers!

Post Reply