Page 1 of 1

Webtag #RecentRainToday

Posted: Wed 12 Jul 2023 8:13 am
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?

Re: Webtag #RecentRainToday

Posted: Wed 12 Jul 2023 8:37 am
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)

Re: Webtag #RecentRainToday

Posted: Wed 12 Jul 2023 8:41 am
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.

Re: Webtag #RecentRainToday

Posted: Mon 31 Jul 2023 4:06 pm
by mcrossley
It seems to be a glaring omission in the list of RecentXxxx web tags, I'll look into adding it...