IMPORTANT! The server may go down soon - possibly permanently. Please read the latest post in Announcements and News

FTP is broken. I strongly advise all users using my server for their web site to make alternative arrangements.

Outgoing mail is disabled because of the malware on the server. No new forum registrations are currently possible, and mail to the forum administrator will not work.

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

<#currcond>

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

Moderators: daj, TNETWeather

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

<#currcond>

Postby jaed » Sun Oct 16, 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: 498
Joined: Mon Dec 20, 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>

Postby MickinMoulden » Sun Oct 16, 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 Jul 02, 2010 6:54 am
Weather Station: WH 1080 PC
Operating System: win 7

Re: <#currcond>

Postby jaed » Sun Oct 16, 2011 1:25 pm

Thanks, that solved it !!

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

Re: <#currcond>

Postby GraemeT » Sun Oct 16, 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.php?f=10&t=4444&p=38693#p38693
Cheers,
Graeme.

Image

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

Re: <#currcond>

Postby nking » Mon Oct 17, 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 Oct 17, 2011 12:39 pm, edited 1 time in total.

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

Re: <#currcond>

Postby mcrossley » Mon Oct 17, 2011 10:50 am

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

User avatar
MickinMoulden
Posts: 498
Joined: Mon Dec 20, 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>

Postby MickinMoulden » Mon Oct 17, 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: 26692
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: <#currcond>

Postby steve » Mon Oct 17, 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
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

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

Re: <#currcond>

Postby nking » Mon Oct 17, 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 Oct 21, 2009 11:19 am
Weather Station: La Crosse WS-2355 & WS-2306
Operating System: Windoze 7
Location: Bayswater, Australia
Contact:

Re: <#currcond>

Postby GraemeT » Tue Oct 18, 2011 2:46 am

Nice work, Neil.
Cheers,
Graeme.

Image

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

Re: <#currcond>

Postby nking » Tue Oct 18, 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 Oct 27, 2008 4:50 pm
Weather Station: Fine Offset WH1081
Location: Aberdeenshire, Scotland
Contact:

Re: <#currcond>

Postby goldrush » Tue Oct 18, 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: 225
Joined: Mon Jul 19, 2010 11:15 am
Weather Station: WS2083 aspirated
Operating System: Win 10
Location: Auckland NZ
Contact:

Re: <#currcond>

Postby Ned » Wed Oct 19, 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 Dec 17, 2009 2:03 pm
Weather Station: WH1081
Operating System: Windows 10
Location: Hurstpierpoint, West Sussex, UK
Contact:

Re: <#currcond>

Postby nking » Wed Oct 19, 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: 225
Joined: Mon Jul 19, 2010 11:15 am
Weather Station: WS2083 aspirated
Operating System: Win 10
Location: Auckland NZ
Contact:

Re: <#currcond>

Postby Ned » Wed Oct 19, 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!


Return to “Web site - General”

Who is online

Users browsing this forum: No registered users and 5 guests