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

CumulusMX Without Exiting

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
Cambium
Posts: 274
Joined: Wed 03 Aug 2011 11:19 pm
Weather Station: ProWeatherTP3000
Operating System: Windows10
Location: Coastal CT, USA
Contact:

CumulusMX Without Exiting

Post by Cambium »

1st.. EXCELLENT job being able to backtrack and grab the missing data when Mx is stopped and restarted the next day with the Ecowitt stations. Good stuff. :clap:

But I Just noticed, my fault, I shut the laptop down this morning without exiting Cumulus and it didnt pick up the data after that and I noticed it was "still running" when I opened up the PC.

Just curious if there is a way to make it shut down when the PC goes to sleep or shuts down without physically entering Control-C? Or find a way to realize the PC woke up and grab the missing data?
20220210-065548.txt
SS8.jpg
You do not have the required permissions to view the files attached to this post.
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: CumulusMX Without Exiting

Post by water01 »

Stop CumulusMX, restore from either a daily backup or a previous startup backup (both available in the backup folder) and restart and down will come the history.
David
Image
Phil23
Posts: 888
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: CumulusMX Without Exiting

Post by Phil23 »

Maybe....

I have a little script that sends Ctrl-C to the MX window to shut it down.
I use it in Task Scheduler to Close MX at certain times for backups etc, then start it with another Task.

viewtopic.php?f=40&t=18950&p=150417&hil ... wn#p150417

Task Scheduler can also be configured to run tasks based on Events logged in the Event Log.
In the case of Windows Sleeping Event ID 42 is written.

Not sure what the implication of triggering a task of that is though, as it's a bit of a Chicken & Egg situation.

"I'm going to Sleep, but I'm doing a Task first" which could trigger wake-up.

Will try & have a play with it later & see if it can be done.

Cheers.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Cambium
Posts: 274
Joined: Wed 03 Aug 2011 11:19 pm
Weather Station: ProWeatherTP3000
Operating System: Windows10
Location: Coastal CT, USA
Contact:

Re: CumulusMX Without Exiting

Post by Cambium »

water01 wrote: Thu 10 Feb 2022 8:25 pm Stop CumulusMX, restore from either a daily backup or a previous startup backup (both available in the backup folder) and restart and down will come the history.
Great idea. Just did that (maybe wrong) and the chart is still showing missing data as well as the Feb22 log.

Phil23 wrote: Thu 10 Feb 2022 8:30 pm Maybe....

I have a little script that sends Ctrl-C to the MX window to shut it down.
I use it in Task Scheduler to Close MX at certain times for backups etc, then start it with another Task.

viewtopic.php?f=40&t=18950&p=150417&hil ... wn#p150417

Task Scheduler can also be configured to run tasks based on Events logged in the Event Log.
In the case of Windows Sleeping Event ID 42 is written.

Not sure what the implication of triggering a task of that is though, as it's a bit of a Chicken & Egg situation.

"I'm going to Sleep, but I'm doing a Task first" which could trigger wake-up.

Will try & have a play with it later & see if it can be done.

Cheers.
Interesting! Keep us posted.
Phil23
Posts: 888
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: CumulusMX Without Exiting

Post by Phil23 »

As 1/2 expected Event 42 is already too late....

Event 107 is logged on resume, so maybe it's an option...
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
flort
Posts: 248
Joined: Thu 17 Dec 2020 9:06 am
Weather Station: Davis Vantage Vue
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Tin Can Bay, Queensland, Australia

Re: CumulusMX Without Exiting

Post by flort »

If you run Cumulus as a service then the windows system will automatically stop the service when performing a shutdown or if the computer goes into standby. The service will automatically start again when you boot the computer and catch-up on historical data, however, it won't after coming out of standby (the preference is to never let your computer go to sleep when running Cumulus). There is a task script included in the distribution package in the CumulusMX\MXutils\windows directory to create a Scheduled Task to automatically restart the service on resume from standby/hibernate.

I use to run Cumulus on a Windows system and never had any issues while running it as a service (although I could never get the scheduled task to work on wake-up).
Cambium
Posts: 274
Joined: Wed 03 Aug 2011 11:19 pm
Weather Station: ProWeatherTP3000
Operating System: Windows10
Location: Coastal CT, USA
Contact:

Re: CumulusMX Without Exiting

Post by Cambium »

..
Post Reply