Hi there,
I am currently using CumulusMX to create a text file with one line at every interval, and then taking this file and appending it onto the end of a running log to create a custom chart.
Is it possible for CumulusMX to append the resulting extra webfile line to the output rather than replacing it? Some syntax for the template perhaps?
Regards
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
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
Extra Web Files - option to append line rather than overwrite?
Moderator: mcrossley
- whitling2k
- Posts: 31
- Joined: Thu 22 Jul 2021 8:03 pm
- Weather Station: Ecowitt GW1103
- Operating System: Raspberry PiOS
- Contact:
- rogerthn
- Posts: 489
- 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: Extra Web Files - option to append line rather than overwrite?
I do not know if possible to append the resulting extra webfile line to the output rather than replacing it.whitling2k wrote: ↑Wed 26 Jan 2022 7:16 pm Hi there,
I am currently using CumulusMX to create a text file with one line at every interval, and then taking this file and appending it onto the end of a running log to create a custom chart.
Is it possible for CumulusMX to append the resulting extra webfile line to the output rather than replacing it? Some syntax for the template perhaps?
Regards
BUT
I do have bash scripts do "extend" functionality.
Have a look under Internet Settings - External Programs
- whitling2k
- Posts: 31
- Joined: Thu 22 Jul 2021 8:03 pm
- Weather Station: Ecowitt GW1103
- Operating System: Raspberry PiOS
- Contact:
Re: Extra Web Files - option to append line rather than overwrite?
hhhmm.. Interesting. My current workflow uses CRON to at interval+1 minute to append the single line to a cumulative CSV, then at interval +2 minutes, it cuts the file to the last 320 lines + header, which allows Highcharts to plot ~80hrs of recent data.
I guess I could do this via MX if I were to convert my CRON commands to a Bash script?
I hadn't thought of that to be honest!
I guess I could do this via MX if I were to convert my CRON commands to a Bash script?
I hadn't thought of that to be honest!
- mcrossley
- Posts: 12694
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Extra Web Files - option to append line rather than overwrite?
It isn't possible, but using the external program as you have is the way I would do it as it would then run after the file had been processed, and if you stop MX, then the appends would also stop.