Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.28.4 (build 3281) - 21 February 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

currentlogfile tag at month change

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
Atlas
Posts: 43
Joined: Wed 04 Jun 2014 3:36 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win 10 Pro x64 4 GB RAM
Location: Murcia, Spain

currentlogfile tag at month change

Post by Atlas »

Hi

I upload current log to my website for graphics every 15 minutes with currentlogfile web tag in Extra web files. Problem is when it is month's change at 0:00 in day 1 it is uploaded the new month and not the previous and thus the last month is left without the last 15 minutes ....

It can be uploaded the previous month at 0:00 in day 1 of each month ?

Thanks
Image
Davis Vantage Pro 2 Plus
https://www.meteoarchena.es
User avatar
rogerthn
Posts: 483
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: currentlogfile tag at month change

Post by rogerthn »

It might be possible to use
Settings => Internet Settings => External Programs => Daily program/Daily program parameters
Image
User avatar
mcrossley
Posts: 12487
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: currentlogfile tag at month change

Post by mcrossley »

I like these sorts of suggestions, solves a problem, and takes a minute to implement :lol:

Done for the next release. It will continue with the previous months log file name for the logging interval + 1 minute after the month rollover.
Atlas
Posts: 43
Joined: Wed 04 Jun 2014 3:36 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win 10 Pro x64 4 GB RAM
Location: Murcia, Spain

Re: currentlogfile tag at month change

Post by Atlas »

mcrossley wrote: Sun 14 Jan 2024 11:49 am I like these sorts of suggestions, solves a problem, and takes a minute to implement :lol:

Done for the next release. It will continue with the previous months log file name for the logging interval + 1 minute after the month rollover.
Thanks mcrossley. It makes a big difference with that little effort.
rogerthn wrote: Sun 14 Jan 2024 10:58 am It might be possible to use
Settings => Internet Settings => External Programs => Daily program/Daily program parameters
thanks for the suggestion rogerthn... I'll take account of this for future stuff
Image
Davis Vantage Pro 2 Plus
https://www.meteoarchena.es
sutne
Posts: 353
Joined: Sun 14 Oct 2012 4:23 pm
Weather Station: HP2553 (WS80) and HP2564 (WS90)
Operating System: Raspbian Bullseye and Bookworm
Location: Rjoanddalen and Kronstad, Norway
Contact:

Re: currentlogfile tag at month change

Post by sutne »

How are these replaceble values supposed to be used?
If I put

Code: Select all

/home/pi/CumulusMX/data/<currentlogfile>
in Extra web files, I have this error message

Code: Select all

 PHP[Int]: Extra web file - /home/pi/CumulusMX/data/<currentlogfile> - not found!
freddie
Posts: 2390
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: currentlogfile tag at month change

Post by freddie »

Like this:

Code: Select all

/home/pi/CumulusMX/data/<#currentlogfile>
Freddie
Image
sutne
Posts: 353
Joined: Sun 14 Oct 2012 4:23 pm
Weather Station: HP2553 (WS80) and HP2564 (WS90)
Operating System: Raspbian Bullseye and Bookworm
Location: Rjoanddalen and Kronstad, Norway
Contact:

Re: currentlogfile tag at month change

Post by sutne »

Then I have this:

Code: Select all

Extra web file - /home/pi/CumulusMX/data/<#currentlogfile> - not found!
User avatar
HansR
Posts: 5707
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: currentlogfile tag at month change

Post by HansR »

If I remember well it is just:

Code: Select all

<currentlogfile>
No path, no #
Hans

https://meteo-wagenborgen.nl
CMX build 3278 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 6.1.21 ● Mono 6.12.0.200
https://meteo-wagenborgen.nl/CMX4/NET8/ (beta)
CMX build 4003+ ● RPi 4B ● RPi OS 6.1.0-rpi7-rpi-v8 aarch64 ● dotnet 8.0.1
sutne
Posts: 353
Joined: Sun 14 Oct 2012 4:23 pm
Weather Station: HP2553 (WS80) and HP2564 (WS90)
Operating System: Raspbian Bullseye and Bookworm
Location: Rjoanddalen and Kronstad, Norway
Contact:

Re: currentlogfile tag at month change

Post by sutne »

Thank You!
That was it!
User avatar
HansR
Posts: 5707
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: currentlogfile tag at month change

Post by HansR »

OK. Note that this is not a webtag!
It is specifically something for Extra Webfiles.
Hans

https://meteo-wagenborgen.nl
CMX build 3278 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 6.1.21 ● Mono 6.12.0.200
https://meteo-wagenborgen.nl/CMX4/NET8/ (beta)
CMX build 4003+ ● RPi 4B ● RPi OS 6.1.0-rpi7-rpi-v8 aarch64 ● dotnet 8.0.1
User avatar
mcrossley
Posts: 12487
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: currentlogfile tag at month change

Post by mcrossley »

In the source just use the tag (MX knows where the log files are), in the destination you can use a path along with the tag.
Post Reply