Page 1 of 3

<#currcond>

Posted: Sun 16 Oct 2011 12:34 pm
by jaed
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 ?

Re: <#currcond>

Posted: Sun 16 Oct 2011 1:03 pm
by MickinMoulden
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.

Re: <#currcond>

Posted: Sun 16 Oct 2011 1:25 pm
by jaed
Thanks, that solved it !!

Re: <#currcond>

Posted: Sun 16 Oct 2011 10:21 pm
by GraemeT
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: https://cumulus.hosiene.co.uk/viewtopic.p ... 693#p38693

Re: <#currcond>

Posted: Mon 17 Oct 2011 10:29 am
by nking
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.

Re: <#currcond>

Posted: Mon 17 Oct 2011 10:50 am
by mcrossley
Neil, a write up of that method may be a nice addition to the Wiki ;)

Re: <#currcond>

Posted: Mon 17 Oct 2011 11:38 am
by MickinMoulden
Will that work in Australia?

Re: <#currcond>

Posted: Mon 17 Oct 2011 12:31 pm
by steve
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
==================================================

Re: <#currcond>

Posted: Mon 17 Oct 2011 1:53 pm
by nking
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 ;)

Re: <#currcond>

Posted: Tue 18 Oct 2011 2:46 am
by GraemeT
Nice work, Neil.

Re: <#currcond>

Posted: Tue 18 Oct 2011 4:13 am
by nking
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.

Re: <#currcond>

Posted: Tue 18 Oct 2011 3:24 pm
by goldrush
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

Re: <#currcond>

Posted: Wed 19 Oct 2011 7:42 am
by Ned
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!

Re: <#currcond>

Posted: Wed 19 Oct 2011 8:07 am
by nking
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.

Re: <#currcond>

Posted: Wed 19 Oct 2011 8:47 am
by Ned
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!