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
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
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
Low Temp Alarm
Moderator: daj
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Low Temp Alarm
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.
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
- 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: Low Temp Alarm
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.
Thx.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Low Temp Alarm
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.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.
Steve