I'm trying to use the web tags to log the highest rainfall rate over the last 15 minutes to a CSV file (I would take peak rainfall rate over the last hour instead if possible)?
<#rrate> seems to give an instantaneous readout, and the various other tags seem to give daily/monthly max: <#rrateTM> <#rrateYM> etc
The recent history, as far as I can tell, doesn't cover rainfall rates. And I don't think I can massage it to give me rainfall accumulation from the last hour either?
Have I missed anything?
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
Rainrate Webtags
Moderator: mcrossley
- whitling2k
- Posts: 45
- Joined: Thu 22 Jul 2021 8:03 pm
- Weather Station: Ecowitt GW1103
- Operating System: Raspberry PiOS
- Contact:
-
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: Rainrate Webtags
Is the rain rate recorded every minute here any use to you?
- whitling2k
- Posts: 45
- Joined: Thu 22 Jul 2021 8:03 pm
- Weather Station: Ecowitt GW1103
- Operating System: Raspberry PiOS
- Contact:
Re: Rainrate Webtags
I'll give it a try - my understanding is that this is just the max rainrate over the previous minute - I don't think I can manipulate it to give me the max rain rate over the last 15 can I?
I wonder if I could write it out every minute then take the max from the file?
I wonder if I could write it out every minute then take the max from the file?
-
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: Rainrate Webtags
You might want to try what I have done on my Raspberry Pi, I did a sudo apt install sqlitebrowser. That gives me an easy way to browse data in, or execute SQL against, rows of database tables in either the "data/diary.db" or "data/cumulusmx.db" files using a command like sqlitebrowser cumulusmx.db.sqbpro. The last extension is left off, if you have not defined a project within sqlitebrowser. This is not the place to go into any more technical, or usage, detail.
I respond below to your latest post. However, I can't offer you any more help as I use Cumulus software simply as a convenient unattended way to store weather data over the lifetime of the weather station sensors. To briefly expand on "unattended", I don't normally look at anything related to MX. I am rarely interested in real-time data, instead focussed on long-term summaries over a day or over a month, and I have automated every aspect of storing such data that interests me.
I respond below to your latest post. However, I can't offer you any more help as I use Cumulus software simply as a convenient unattended way to store weather data over the lifetime of the weather station sensors. To briefly expand on "unattended", I don't normally look at anything related to MX. I am rarely interested in real-time data, instead focussed on long-term summaries over a day or over a month, and I have automated every aspect of storing such data that interests me.
RecentData is a database table. That means it would actually be read by running SQL, a single SQL enquiry can directly report maximum as it reads the last 15 (or for an hour, last 60) rows. As explained earlier, I have not actually tried such an enquiry, I only do one-off checks, or edits, of data.whitling2k wrote: ↑Sun 20 Feb 2022 7:03 pmI don't think I can manipulate it to give me the max rain rate over the last 15 can I?
I wonder if I could write it out every minute then take the max from the file?
That is a question for Mark as developer to answer, I don't know how MX does its calculations.whitling2k wrote: ↑Sun 20 Feb 2022 7:03 pm my understanding is that this is just the max rain rate over the previous minute
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Rainrate Webtags
It is the rain rate at that minute, not the max over the minute.sfws wrote: ↑Mon 21 Feb 2022 7:07 amThat is a question for Mark as developer to answer, I don't know how MX does its calculations.whitling2k wrote: ↑Sun 20 Feb 2022 7:03 pm my understanding is that this is just the max rain rate over the previous minute
- whitling2k
- Posts: 45
- Joined: Thu 22 Jul 2021 8:03 pm
- Weather Station: Ecowitt GW1103
- Operating System: Raspberry PiOS
- Contact:
Re: Rainrate Webtags
Thanks all. Really useful.
I think for now, I need to figure out how to get highcharts to graph the rainfall json data out from the API in a custom graph and then revisit this in the future. SQL looks a promising option.
Whitling2k
I think for now, I need to figure out how to get highcharts to graph the rainfall json data out from the API in a custom graph and then revisit this in the future. SQL looks a promising option.
Whitling2k