My Windows10 PC seems to shut down and reboot about once a week. I then have to restart CumulusMX and the other programs. The PC shut down last night at 11:10 PM and I didn't notice it until this morning and then restarted CumulusMX and the other programs. On my CumulusMX with WiFiLogger this is no problem as the archive data is read from the logger and the end of day process is done at midnight. On my CumulusMX with WeatherLink Live on a free Weatherlink.com account there is no data logging so a restart this morning missed the end of day process, i.e. no dayfile entry for 10/11/20.
Other than copying in the data files from CumulusMX/WiFiLogger to the CumulusMX/WLL setup, is there a way to have CumulusMX do an end of day for yesterday?
Enjoy,
Paul
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
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
CumulusMX end of day process
Moderator: mcrossley
- PaulMy
- Posts: 4355
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
CumulusMX end of day process
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm

C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
- 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: CumulusMX end of day process
I'll look into this Paul, but obviously with no logger if a complete day is missed, then it will always be missing from dayfile. But if there is partial data for a day and CMX is started on a subsequent day, it should probably close the previous day off with what data it has.
I'll check what the other stations do, if they are the same, then this may mean a wider scale change...
I'll check what the other stations do, if they are the same, then this may mean a wider scale change...
- PaulMy
- Posts: 4355
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: CumulusMX end of day process
Thanks Mark,
I hadn't checked MXdiags, just that dayfile.txt did not have a 10/11/20 entry and that yesterday.txt was dated 10/11/20 12:00 am so neither updated at 11:11:00 midnight.
If it will help, below is the MXdiags start up and it does look like that at least rain is shown correctly, as we had 0.2 mm yesterday evening at about 23:40 (after the PC had stopped and restarted) and then 0.2 at 12:00:00 am and then 3.0 mm later on today for a total of 3.4 mm (this rain detail from my separate Cumulus1 data log).
Enjoy,
Paul
I hadn't checked MXdiags, just that dayfile.txt did not have a 10/11/20 entry and that yesterday.txt was dated 10/11/20 12:00 am so neither updated at 11:11:00 midnight.
If it will help, below is the MXdiags start up and it does look like that at least rain is shown correctly, as we had 0.2 mm yesterday evening at about 23:40 (after the PC had stopped and restarted) and then 0.2 at 12:00:00 am and then 3.0 mm later on today for a total of 3.4 mm (this rain detail from my separate Cumulus1 data log).
Code: Select all
2020-11-11 08:14:17.703 Last update time from today.ini: 10/11/20 9:20:00 PM
2020-11-11 08:14:17.703 Read today file: Date = 10/11/20, LastUpdateTime = 10/11/20 9:20:00 PM, Month = 11
2020-11-11 08:14:17.704 ReadTodayfile: set notraininit false
2020-11-11 08:14:17.710 C:\KomokaWeather\CumulusMXwll\data\alltime.ini
2020-11-11 08:14:17.710 Alltime.ini file read
2020-11-11 08:14:17.716 MonthlyAlltime.ini file read
2020-11-11 08:14:17.720 Month.ini file read
2020-11-11 08:14:17.724 Year.ini file read
2020-11-11 08:14:17.726 Finding raintoday from logfile data\Nov20log.txt
2020-11-11 08:14:17.726 Expecting listsep=, decimal=.
2020-11-11 08:14:17.751 Midnight rain found in the following entry:
2020-11-11 08:14:17.751 10/11/20,00:00,9.1,63,2.3,0,0,0,0.0,0.0,1017.6,19.0,26.6,36,0,9.1,9.1,0.0,0,0.00,749.83,7.5,0,0.0,0,0.0,0.0,9.1,9.1
2020-11-11 08:14:17.755 Midnight rain found, setting midnight rain count = 19
2020-11-11 08:14:17.755 Checking rain counter = 19
2020-11-11 08:14:17.755 Rain counter set to = 19
2020-11-11 08:14:17.757 Getting rain totals, rain season start = 1
2020-11-11 08:14:17.757 Today = 11/11/20
2020-11-11 08:14:17.833 Rainthismonth from dayfile.txt: 8.6
2020-11-11 08:14:17.833 Rainthisyear from dayfile.txt: 701.2
2020-11-11 08:14:17.833 Extra Sensor = Davis AirLink (Outdoor) - standalone=False
2020-11-11 08:14:17.859 Attempting to find AirLink via zero-config...
2020-11-11 08:14:18.079 This Cumulus MX instance is running the latest version
2020-11-11 08:14:18.870 Opening station
2020-11-11 08:14:18.872 Last update time from today.ini: 10/11/20 9:20:00 PM
2020-11-11 08:14:18.873 Read today file: Date = 10/11/20, LastUpdateTime = 10/11/20 9:20:00 PM, Month = 11
2020-11-11 08:14:18.873 ReadTodayfile: set notraininit false
2020-11-11 08:14:18.873 C:\KomokaWeather\CumulusMXwll\data\alltime.ini
2020-11-11 08:14:18.873 Alltime.ini file read
2020-11-11 08:14:18.874 MonthlyAlltime.ini file read
2020-11-11 08:14:18.875 Month.ini file read
2020-11-11 08:14:18.875 Year.ini file read
2020-11-11 08:14:18.875 Finding raintoday from logfile data\Nov20log.txt
2020-11-11 08:14:18.875 Expecting listsep=, decimal=.
2020-11-11 08:14:18.894 Midnight rain found in the following entry:
2020-11-11 08:14:18.894 10/11/20,00:00,9.1,63,2.3,0,0,0,0.0,0.0,1017.6,19.0,26.6,36,0,9.1,9.1,0.0,0,0.00,749.83,7.5,0,0.0,0,0.0,0.0,9.1,9.1
2020-11-11 08:14:18.897 Midnight rain found, setting midnight rain count = 19
2020-11-11 08:14:18.897 Checking rain counter = 19
2020-11-11 08:14:18.897 Rain counter set to = 19
2020-11-11 08:14:18.897 Getting rain totals, rain season start = 1
2020-11-11 08:14:18.897 Today = 11/11/20
2020-11-11 08:14:18.969 Rainthismonth from dayfile.txt: 8.6
2020-11-11 08:14:18.969 Rainthisyear from dayfile.txt: 701.2
2020-11-11 08:14:18.970 Station type = Davis WLLPaul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm

C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
-
BCJKiwi
- Posts: 1259
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: CumulusMX end of day process
Paul,
You could add MX (and other programs if required) to the Windows 10 startup folder.
I have 5 programs starting automatically on reboot including CumulusMX
The Microsoft solution is here
https://support.microsoft.com/en-us/win ... 3c295d89dd
In my
C:\Users\myusername\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
folder I have a file named
startcumulusmx.cmd
which contains
@echo off
C:
cd C:\CumulusMX\
START /min C:\CumulusMX\CumulusMX.exe
Hope this helps
You could add MX (and other programs if required) to the Windows 10 startup folder.
I have 5 programs starting automatically on reboot including CumulusMX
The Microsoft solution is here
https://support.microsoft.com/en-us/win ... 3c295d89dd
In my
C:\Users\myusername\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
folder I have a file named
startcumulusmx.cmd
which contains
@echo off
C:
cd C:\CumulusMX\
START /min C:\CumulusMX\CumulusMX.exe
Hope this helps
- PaulMy
- Posts: 4355
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: CumulusMX end of day process
Thanks Brian, I will follow up on that.
For the second instance I have had to run that from the DOS cmd prompt to view it on a different port C:\KomokaWeather\CumulusMXwll\CumulusMX.exe -port 8999
Will see if that will work as well.
Enjoy,
Paul
For the second instance I have had to run that from the DOS cmd prompt to view it on a different port C:\KomokaWeather\CumulusMXwll\CumulusMX.exe -port 8999
Will see if that will work as well.
Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm

C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm