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

WEEKLY RAINFALL IN THE DASHBOARD

Please DO NOT use this to publish your entire wish. This Forum is for specific suggestions to enhance the usability of Cumulus MX for all users, NOT your personal requirements. Please check this forum and the rejected forum to make sure you are NOT posting a DUPLICATE suggestion. It will be heavily monitored by Admin and Mark Crossley to determine the feasibility and the difficulty of the suggestion. Those Topics that are deemed inadmissible will moved to the rejected Forum. The remaining Topics will be the Accepted list of future developments, and when our voluntary development group adds it to a build, the build number will be added to the Topic title.
Post Reply
Polin79
Posts: 114
Joined: Sat 02 Sep 2023 10:56 pm
Weather Station: Ecowitt WiFi Weather Station
Operating System: Windows 10

WEEKLY RAINFALL IN THE DASHBOARD

Post by Polin79 »

Hi,
It would be possible to add in the rainfall window of the dashboard the weekly rainfall?

Thanks
Paolo
You do not have the required permissions to view the files attached to this post.
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: WEEKLY RAINFALL IN THE DASHBOARD

Post by freddie »

That could be tricky as a week is not a unit of time that Cumulus uses internally - it uses days, months and years. Also, the definition of a week can be different depending on the day of the week that it starts and ends.

All in all, it sounds like a difficult piece of programming.
Freddie
Image
Polin79
Posts: 114
Joined: Sat 02 Sep 2023 10:56 pm
Weather Station: Ecowitt WiFi Weather Station
Operating System: Windows 10

Re: WEEKLY RAINFALL IN THE DASHBOARD

Post by Polin79 »

It would be great a rainfall window like Ecowitt dashboard in attachment. The week start could be defined from the user in Cumulus MX settings.
You do not have the required permissions to view the files attached to this post.
broadstairs
Posts: 1184
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW2000/GW3000
Operating System: Linux openSUSE LEAP
Location: Broadstairs, Kent, UK
Contact:

Re: WEEKLY RAINFALL IN THE DASHBOARD

Post by broadstairs »

The advantage Ecowitt has is that their stations do record weekly data in the consoles and gateways where the start of the week is defined. However CMX does not use this data but collects and collates it own.

Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
SamiS
Posts: 510
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: WEEKLY RAINFALL IN THE DASHBOARD

Post by SamiS »

HansR wrote: Sun 20 Oct 2024 3:27 pm
SamiS wrote: Sun 20 Oct 2024 3:19 pm I’m not a programmer, but I think that the complexity of the task greatly depends on how CMX now handles rain internally. Basically it shouldn’t be too hard to query and sum up the cumulative daily rain amounts from dayfile backwards from today to last sunday or monday depending on the user setting. To lessen cpu load and disk i/o this could be only on startup and after that the calculation logic could happen in memory. But as said, I do not know the internals of CMX, so this is speculation.
No doubt it will make correcting rain even more complex.
Might be a reason to review/overhaul the whole rain system :? (I did not say that :) )
Well, if the weekly rain would be only a calculated number in memory and not logged in any file, I don’t see how it would complicate things too much. If you make corrections to dayfile, then the value would just be re-calculated based on the corrected data. Logging the weekly rain value would of course make it very painful.
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: WEEKLY RAINFALL IN THE DASHBOARD

Post by Mapantz »

I can't comment on how hard it would be to add that to CMX, but we do have a rolling 24 hour rain total webtag, so it might work in a similar way?!
Image
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: WEEKLY RAINFALL IN THE DASHBOARD

Post by freddie »

Mapantz wrote: Sun 20 Oct 2024 3:48 pm I can't comment on how hard it would be to add that to CMX, but we do have a rolling 24 hour rain total webtag, so it might work in a similar way?!
A rolling week would be easy enough. It's when you get into the realms of "rain this week" it becomes trickier.
Freddie
Image
User avatar
mcrossley
Posts: 14382
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: WEEKLY RAINFALL IN THE DASHBOARD

Post by mcrossley »

I'll add the idea to the list of things to look at ...

MX does already allow for defining when the rain year starts.

@freddie - or anyone - want to have a go at defining a revised rain counting system? I'd love it to be simplified! The main thing is finding something that is workable with all stations.

First choice for me would be an ever increasing counter, but the bug bear is always those times users/stations reset counters or subtract from crazy counts caused by hardware faults or cleaning rain tippers.
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: WEEKLY RAINFALL IN THE DASHBOARD

Post by RayProudfoot »

Throwing my six penneth…

Reading the dayfile.txt in Cumulus 1 I have an Access query that calculates rainfall for the last seven days plus the number of days rain fell.

Might something like that suit the OP? Nothing stored permanently of course.
Cheers,
Ray, Cheshire.

Image
Polin79
Posts: 114
Joined: Sat 02 Sep 2023 10:56 pm
Weather Station: Ecowitt WiFi Weather Station
Operating System: Windows 10

Re: WEEKLY RAINFALL IN THE DASHBOARD

Post by Polin79 »

Hi Mark,
Thank you so much to have integrated weekly rainfall in the build 4063.

Paolo
mcrossley wrote: Sun 20 Oct 2024 4:33 pm I'll add the idea to the list of things to look at ...

MX does already allow for defining when the rain year starts.

@freddie - or anyone - want to have a go at defining a revised rain counting system? I'd love it to be simplified! The main thing is finding something that is workable with all stations.

First choice for me would be an ever increasing counter, but the bug bear is always those times users/stations reset counters or subtract from crazy counts caused by hardware faults or cleaning rain tippers.
Post Reply