Sandaysoft

Support forum for Cumulus weather station software
It is currently Wed May 22, 2013 7:26 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Low Temp Alarm
PostPosted: Tue Jul 31, 2012 3:12 am 
Offline
User avatar

Joined: Sat Jul 03, 2010 9:03 pm
Posts: 156
Location: Lake Zurich, IL; USA
Weather Station: Davis Vantage Pro 2
Operating System: Windows 7
I put this in as an enhancement request, but thought it might also be worth discussing here, since my solution may not require a new web tag.

I thought it would be helpful to introduce a web tag for when the temperature is below freezing: <#isfreezing> that would return a 1 if it was below 32F and 0 if it was above freezing. This way I could switch out precipitation icons to show frozen precip instead of rain during cold weather.

But then I thought you might be able to do the same thing with the <#lowtempalarm> tag, by simply setting it to 32F.


Having never used the alarms, here's my question: do the alarm states stay in the "1" state as long as the temperature remains under freezing? Or does the alarm become "de-activated" the way the error light and new record lights do when you click on them in the software?

-Tom

_________________
Tom Keramidas, Lake Zurich, IL, USA
Image


Top
 Profile  
 
 Post subject: Re: Low Temp Alarm
PostPosted: Tue Jul 31, 2012 7:34 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17567
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Here's my reply to the enhancement request:

Yes, it's easy enough to add. Presumably you want to use it in HTML to select between two images? If you want to use it in a scripting language such as Javascript or PHP, then it's just as easy for the script to use the outside temperature value.

The <#lowtempalarm> tag is described in the help; It gives 1 if the alarm is set and the condition is currently met, otherwise zero.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Low Temp Alarm
PostPosted: Tue Jul 31, 2012 12:05 pm 
Offline
User avatar

Joined: Sat Jul 03, 2010 9:03 pm
Posts: 156
Location: Lake Zurich, IL; USA
Weather Station: Davis Vantage Pro 2
Operating System: Windows 7
So does <#lowtempalarm> essentially work the same way as <#isfreezing> if I set the alarm to 32F? In other words, if we're having a cold spell, it would just stay in the "1" state during the freezing period? I wanted to make sure it didn't work like "new record", where once you click on the record, the new record light shuts off until another record is set.

Thx.

_________________
Tom Keramidas, Lake Zurich, IL, USA
Image


Top
 Profile  
 
 Post subject: Re: Low Temp Alarm
PostPosted: Tue Jul 31, 2012 12:39 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17567
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
krmidas wrote:
I wanted to make sure it didn't work like "new record", where once you click on the record, the new record light shuts off until another record is set.
Effectively, it does work that way; if you clicked on the temp label to cancel the alarm, the value would briefly revert to 0. But if the temperature was still below the threshold, the alarm would trigger again on the next data read, which in the case of a Davis station would be some time in the next 2 to 3 seconds.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: beteljuice, sunseeker and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group