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

Cumulus + Weatherlink Script.

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
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Cumulus + Weatherlink Script.

Post by Phil23 »

Ok,

So I have a Scheduled Task that starts Cumulus on boot & it runs happily.

Periodically I shut it down & update Weatherlink Via a shortcut that point to:-
"C:\WeatherLink\WeatherLink 6.0.3.exe" -d

Then Start Cumulus again with the Desktop link that points to:-
C:\Windows\System32\schtasks.exe /run /tn "\Weather Tasks\Start Cumulus"
The Task that starts it on login.

Would like to automate it so it happens at least every day, but always seem to get in a know athe the launch task is constantly sitting in the running state, (0x41301) untile Cumulus is terminated.

Have had multiple tries over the years without complete success.

For example this task,

Code: Select all

C:\CumulusMX\CumulusShutdown.exe (That exe is an AutoHotKey complied script that focuses on the MX window & sends it Ctrl-C)
ping -n 5 localhost
"C:\WeatherLink\WeatherLink 6.0.3.exe" -d
ping -n 5 localhost
C:\CumulusMX\CumulusMX.exe
The AutoHotKey Script:-

Code: Select all

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
WinActivate, C:\CumulusMX\CumulusMX.exe
Send ^c
Return

Everything seems to get caught in the loop if tasks being still running while Cumulus is running.

It shouldn't be that hard as I have a means to shutdown Cumulus, & a command line to download the WL data then exit.
The pings above are a simple delay so the task don't execute too quickly.

Any thoughts or suggestions?

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:
Post Reply