Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

Yesterday webtag

Please discuss beta versions of Cumulus 1 here. Note: There are currently no beta versions of Cumulus 1.
Locked
User avatar
simonvfr
Posts: 34
Joined: Thu 03 Sep 2009 7:12 am
Weather Station: Maplin-WatsonW8681-Fine Offset
Location: 03240 Saint Sornin, France
Contact:

Yesterday webtag

Post by simonvfr »

Thanks Steve for the <#yesterday> webtag, which I requested only a short while ago. Brilliant to have it included in the very next beta build. This is astonishingly good service. I have donated again - your support for and development of Cumulus is without peer!


I already have the tag in action, using the format parameters as you suggested: http://www.longley.fr/weather/yesterday.htm
Simon

Llama weather from central France
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Yesterday webtag

Post by steve »

simonvfr wrote:I already have the tag in action
That was quick - well done!
Steve
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: Yesterday webtag

Post by sfws »

<#yesterday> is useful for those with midnight rollovers,
but if you have 9am or 10am rollover, it is wrong in the period between midnight and rollover hour, so a yesterday tag that worked like <#metdate> would be more helpful ?
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Yesterday webtag

Post by steve »

Yes, that did occur to me, but I forgot to add it; I'll do that.
Steve
kc2kzz
Posts: 29
Joined: Tue 31 Jul 2012 2:08 pm
Weather Station: Davis Vantage Vue
Operating System: Raspbian on Pi B+
Location: United States
Contact:

Re: Yesterday webtag

Post by kc2kzz »

How did you get the day of the week to show up? Mine only display's 12/3/2012.
Image
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Yesterday webtag

Post by steve »

kc2kzz wrote:How did you get the day of the week to show up? Mine only display's 12/3/2012.
Use the 'format' parameter; see the last section of the web tags help page, or the wiki, here: http://wiki.sandaysoft.com/a/Webtags#Ti ... _Parameter
Steve
kc2kzz
Posts: 29
Joined: Tue 31 Jul 2012 2:08 pm
Weather Station: Davis Vantage Vue
Operating System: Raspbian on Pi B+
Location: United States
Contact:

Re: Yesterday webtag

Post by kc2kzz »

I see, thanks!
Image
User avatar
avoorpool
Posts: 168
Joined: Tue 08 May 2012 4:24 pm
Weather Station: WMR200A
Operating System: Windows 10 64-bit
Location: Pickering, Ontario Canada
Contact:

Re: Yesterday webtag

Post by avoorpool »

Hi Steve,

I implemented the <#yesterday> tag as well, but only see () after 'Yesterday's Date'...
Is the tag 'activated' after the first rollover time (midnight tonight)..???

Thanks,

Arthur
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Yesterday webtag

Post by steve »

avoorpool wrote:I implemented the <#yesterday> tag as well, but only see () after 'Yesterday's Date'...
Is the tag 'activated' after the first rollover time (midnight tonight)..???
No, it should work straight away. Make sure you've got the 'case' correct, it has to be <#yesterday> all lower case. If you can't work out what the problem is, zip up the template and attach it.

Edit: according to your web site, you're still using build 1053?
Steve
User avatar
avoorpool
Posts: 168
Joined: Tue 08 May 2012 4:24 pm
Weather Station: WMR200A
Operating System: Windows 10 64-bit
Location: Pickering, Ontario Canada
Contact:

Re: Yesterday webtag

Post by avoorpool »

Hi Steve,

Thanks for the quick reply.

I've attached the yesterdayT.htm file as well as the todayT.htm file (for comparisson).
Today's added time & date shows correct.
Yesterday only shows () (see attachements.

Thanks,

Arthur
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Yesterday webtag

Post by steve »

Your template is correct. The problem is that you're apparently not using the build of Cumulus which introduced the web tag (1054).
Steve
User avatar
avoorpool
Posts: 168
Joined: Tue 08 May 2012 4:24 pm
Weather Station: WMR200A
Operating System: Windows 10 64-bit
Location: Pickering, Ontario Canada
Contact:

Re: Yesterday webtag

Post by avoorpool »

Hi Steve,

Oops :bash: :oops:

You're always 'too fast' with new builds :lol:
I try to keep up with them, but haven't checked lately.
My appology.

Will update right away!!!

Cheers,

Arthur
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)

metdateyesterday webtag

Post by sfws »

Steve
Back in build 1055 on 9 December 2012, you introduced web tag <#metdateyesterday> as promised earlier in this thread.
metdate webtags.JPG
Has anybody been using it?
I've just run my test page (as first mentioned in https://cumulus.hosiene.co.uk/viewtopic.p ... 3&start=11, but attached again in the zip) on your current build 1057 and it includes that new web tag and other more recent new tags. I have included a screen extract above with the two metdate tags.
test.zip
My current session of running Cumulus, is short, rollovers were done based on logged data. So I may not be doing a valid test, but it looks like the newer tag could be processing the wrong date?
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Yesterday webtag

Post by steve »

Yes, it's a copy and paste error.
Steve
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: Yesterday webtag build 1058

Post by sfws »

metdate webtags build 1058.JPG
OK in latest build.
You do not have the required permissions to view the files attached to this post.
Locked