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

Days since last rain

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
hills
Posts: 692
Joined: Sat 26 Dec 2009 8:52 am
Weather Station: Fine Offset WH1091
Operating System: Raspbian Buster
Location: Crafers, South Australia
Contact:

Days since last rain

Post by hills »

A mate of mine has given me his code to calculate the number of days between 2 dates, which I wanted to use to display the number of days since last rain, something we're quite interested in here in the dryer locations.

I see there is no webtag for the date of the last rain and after searching I see someone asked if this would be a possible enhancement last March, is there any update on this?
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: Days since last rain

Post by steve »

I haven't done anything about it yet.
Steve
hills
Posts: 692
Joined: Sat 26 Dec 2009 8:52 am
Weather Station: Fine Offset WH1091
Operating System: Raspbian Buster
Location: Crafers, South Australia
Contact:

Re: Days since last rain

Post by hills »

No worries, thanks for the quick response! :)
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: Days since last rain

Post by steve »

It needs a bit of thinking about. The quick easy way is to trawl through the dayfile each time the tag is processed looking at the rain totals, but clearly that's not a good way of doing it. It really needs a couple of variables - days since last rain, and current number of consecutive rain days - which need to be maintained in real time, so I need to think about how to do that.
Steve
hills
Posts: 692
Joined: Sat 26 Dec 2009 8:52 am
Weather Station: Fine Offset WH1091
Operating System: Raspbian Buster
Location: Crafers, South Australia
Contact:

Re: Days since last rain

Post by hills »

No worries, if it makes it to the list, give it a very low priority, I can alway just look at the graphs. ;)
Post Reply