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

High Gust Alarm

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
User avatar
krmidas
Posts: 215
Joined: Sat 03 Jul 2010 9:03 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 10
Location: Lake Zurich, IL; USA
Contact:

High Gust Alarm

Post by krmidas »

I have a question about the webtag <#HighWindGustAlarm>. Say I set it for 40 mph. If I get a gust of 42 mph, the alarm will be triggered and will return a value of "1". What resets the alarm? In other words, if I don't get a gust that high again, how long does it take to reset the alarm to the "0" state?

-Tom
Tom Keramidas, Lake Zurich, IL, USA
Image
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: High Gust Alarm

Post by steve »

Like all the other alarm web tags, it is '1' during the 'active' state of the high gust alarm, i.e. the state where the condition is currently being met and the associated label on the main screen is red (by default). It doesn't include the 'past' state of the alarm (where the label is blue by default). This does mean that for Davis stations in particular the web tag may not be '1' for very long, as the next wind reading may be lower, the alarm state would go to 'past', and the web tag would go to '0'.
Steve
User avatar
krmidas
Posts: 215
Joined: Sat 03 Jul 2010 9:03 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 10
Location: Lake Zurich, IL; USA
Contact:

Re: High Gust Alarm

Post by krmidas »

Interesting. So practically speaking, it's not super-useful as a webtag, since the high gust would need to be occurring at the precise moment the web files are being written?

Would it ever be possible to add a feature in the web alarms where the alarm would stay in the positive stage for x minutes (user configurable)? I have an icon that would appear on my website only appear if I experience a sufficiently high gust.

-Tom
Tom Keramidas, Lake Zurich, IL, USA
Image
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: High Gust Alarm

Post by mcrossley »

Tom, it wmay be better to put some code on the page and monitor either the 10 minute gust, or today's maximum gust values (depending on what you want to achieve) and set a flag according to those values? The code could also 'time out' or ignore the flag for 'today's max gust' after a period has elapsed since the value was set (using time of 'today's max gust'). If you use 10 minute max gust value then that will automatically time out of course ;)
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: High Gust Alarm

Post by steve »

krmidas wrote:Interesting. So practically speaking, it's not super-useful as a webtag, since the high gust would need to be occurring at the precise moment the web files are being written?
Indeed.

The alarm system is very old and in need of a revamp. It needs to allow more complex 'rules' and allow emails etc. It wasn't designed to be useful for a web page.

The web tags came much later. I was asked to add a web tag to show whether an alarm was currently active, so I did. I added one for each alarm for completeness.

It would probably make more sense for the gust alarm to use the 10-minute peak gust value rather than the 'latest' figure; the former probably didn't exist at the time I added the alarm code. As a quick minor improvement I could change it to do that.
Steve
User avatar
krmidas
Posts: 215
Joined: Sat 03 Jul 2010 9:03 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 10
Location: Lake Zurich, IL; USA
Contact:

Re: High Gust Alarm

Post by krmidas »

I think that would be an excellent revision. Thanks for the reply!
Tom Keramidas, Lake Zurich, IL, USA
Image
RayProudfoot
Posts: 3602
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: High Gust Alarm

Post by RayProudfoot »

Because my netbook is in the lounge I have an alarm set in Cumulus to play a sound when a wind gust exceeds 30mph. It's really useful. :clap:
Cheers,
Ray, Cheshire.

Image
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: High Gust Alarm

Post by MickinMoulden »

RayProudfoot wrote:Because my netbook is in the lounge I have an alarm set in Cumulus to play a sound when a wind gust exceeds 30mph. It's really useful. :clap:
I'm the same, when the alarms are triggered my computer talks to me to let me know what is happening. I also use the High Gust Alarm to adjust pictures on my website for current conditions. I wouldn't want it to show high gusts if it wasn't, so I'm happy with the way it is. If I want to see the high gusts for today (or longer than 10 seconds ago) I've just made it available on the "now" page, and if you hover over it it tells you what time it was set. I've also made a picture/gauge that displays how windy the DAY is using months of data to work out a formula that also uses the wind run. So then it will tell me if today is CALM, AVERAGE, WINDY etc even if the wind has been dead calm for the web update. So I get pics for GUSTS for NOW, WIND for now which is a 10 min average anyway, and the TODAY'S WIND which is an average for 24 hrs.
Like mcrossly said, put code in. I'm thinking of Javascript just quickly, then you can have it display what ever pic you want (or icon or flashing light), perhaps using the today's highest gust record, and if the Today's High goes over your set target it will initiate the picture. This would stay on all day unless you put code in to turn it off after a set time (10min, 1hr, 6hrs whatever). If you go this path though, it won't turn on again (if set to turn off) unless the record was beaten again that day. I've used similar coding to display the date and time of the latest record and an LED GIF if a record has been broken (although the LED turns off and on by alarm status only in my case). Lot's of options, but if you wait looks like Steve might implement just what you want and you won't have to do anything. Aren't we lucky to have Steve? He's such a good bloke. TTFN. ;)
Michael, Palmerston, NT Australia www.Palmerston-WeatherImageNo image? I'm offline!
ImageImage
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: High Gust Alarm

Post by steve »

MickinMoulden wrote:I wouldn't want it to show high gusts if it wasn't, so I'm happy with the way it is.
Just to be clear, the change I am proposing (which in fact I have already done) doesn't change anything to do with the way the alarm is triggered. It will still trigger for a wind reading above the figure you specify, at the same time that it would have triggered previously; it just means that it would be active for at least 10 minutes, rather than potentially becoming automatically deactivated on the next wind reading (2.5 seconds later for Davis stations).
Steve
RayProudfoot
Posts: 3602
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: High Gust Alarm

Post by RayProudfoot »

Steve,

Does that change affect the internal alarms in Cumulus? I wouldn't want the wav file playing for a minimum of 10 minutes unless you provided some way for it to be turned off.
Cheers,
Ray, Cheshire.

Image
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: High Gust Alarm

Post by sfws »

RayProudfoot wrote:I wouldn't want the wav file playing for a minimum of 10 minutes
Surely the alarm will only sound once as the condition changes?
I know I have heard Cumulus produce an alarm when certain conditions are met and the alarm indicator on the main screen changes colour, but it is always a short once only note for me, even if it a while until the alarm is cancelled.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: High Gust Alarm

Post by steve »

sfws wrote:Surely the alarm will only sound once as the condition changes?
Yes, it plays the .wav file once, just the same as for any of the alarms.
Steve
User avatar
krmidas
Posts: 215
Joined: Sat 03 Jul 2010 9:03 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 10
Location: Lake Zurich, IL; USA
Contact:

Re: High Gust Alarm

Post by krmidas »

steve wrote:Just to be clear, the change I am proposing (which in fact I have already done) doesn't change anything to do with the way the alarm is triggered. It will still trigger for a wind reading above the figure you specify, at the same time that it would have triggered previously; it just means that it would be active for at least 10 minutes, rather than potentially becoming automatically deactivated on the next wind reading (2.5 seconds later for Davis stations).
:clap: :clap: :clap:
Tom Keramidas, Lake Zurich, IL, USA
Image
RayProudfoot
Posts: 3602
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: High Gust Alarm

Post by RayProudfoot »

steve wrote:
sfws wrote:Surely the alarm will only sound once as the condition changes?
Yes, it plays the .wav file once, just the same as for any of the alarms.
Thanks chaps. That's a relief! :)
Cheers,
Ray, Cheshire.

Image
Post Reply