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

Webtag #RecentRainToday

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Webtag #RecentRainToday

Post by HansR »

The Full List of Webtags species as follows:

<#RecentRainToday>:
  • Description: Daily rain total from last roll-over to specified time,
  • Parameters: d=n (where n runs 0 to 6) days ago; h=n (where n is any number of hours ago); m=n (where n is any number of minutes ago)
If I specify

Code: Select all

<#RecentRainToday m=10 rc=y>
I get the rain from midnight to the moment of the query while I expect only the amount of the last 10 minutes.

If the result is correct then how do I get the rain of the last 10 minutes?

And either the Description is incorrect or the parameter usage/description is incorrect.
How should it be described?
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
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: Webtag #RecentRainToday

Post by freddie »

Description looks okay to me - total from the last rollover to the time that you specify.

You could get a subtotal with some scripting:

Code: Select all

(tag for total for now) - (tag for total 10 minutes ago)
Freddie
Image
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Webtag #RecentRainToday

Post by HansR »

freddie wrote: Wed 12 Jul 2023 8:37 am Description looks okay to me - total from the last rollover to the time that you specify.

You could get a subtotal with some scripting:

Code: Select all

(tag for total for now) - (tag for total 10 minutes ago)
Mmm.... OK, yes probably.
But scripting is impossible in this case as it has to be a string in the Custom HTTP third party upload.
So how to get from the last 10 minutes. I assume there is no webtag for that

[EDIT:]
Assume is incorrect: there is no webtag for that.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
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: Webtag #RecentRainToday

Post by mcrossley »

It seems to be a glaring omission in the list of RecentXxxx web tags, I'll look into adding it...
Post Reply