Page 3 of 3

Re: CUtils v7.3.0 beta

Posted: Thu 28 Nov 2024 5:36 pm
by freddie
HansR wrote: Thu 28 Nov 2024 5:31 pm NOTE: I'll ask @freddie to move this whole thread to the CUtils forum as I think that is where it belongs.
Done.

Re: CUtils v7.3.0 beta

Posted: Thu 28 Nov 2024 5:42 pm
by HansR
Thnx @freddie

Re: CUtils v7.3.0 beta

Posted: Thu 28 Nov 2024 5:51 pm
by AndyKF650
@paulmy

I just looked at your site and noted the link to mine works now.

Just one small point the village I live in is Gorey and not Gory ( that is when the sky turns red in the evening) :D

By the way you have had a fairly massive amount of rain this year, we lag behind with only 925 mm year to date and for me that is getting close to a 2014 record of 960 mm. This is where long term recording starts to get interesting.

Re: CUtils v7.3.0 beta

Posted: Thu 28 Nov 2024 6:59 pm
by PaulMy
@Hans
In addition: do you have a definition for CumulusRealTimeLocation in your cumulusutils.ini?
Yes as CumulusRealTimeLocation=./
Could you try the full path:
MoonImageLocation=https://www.komokaweather.com/cumulusmx ... s/moon.png
I forgot to mention in earlier post, I had also tried a full path

Code: Select all

MoonImageLocation=https://www.komokaweather.com/cumulusmx4wll/images/
And now have tried your suggestion

Code: Select all

MoonImageLocation=https://www.komokaweather.com/cumulusmx4wll/images/moon.png
and by golly, this works :clap: :clap:

I have now done the same for my other CUtils installs and each are now getting the moon!
Well done, thank you.

Enjoy,
Paul

Re: CUtils v7.3.0 beta

Posted: Thu 28 Nov 2024 7:10 pm
by HansR
@Paul: well, at least that is working :D
PaulMy wrote: Thu 28 Nov 2024 6:59 pm @Hans
In addition: do you have a definition for CumulusRealTimeLocation in your cumulusutils.ini?
Yes as CumulusRealTimeLocation=./
That would mean the current directory but.... (I don't want to steal your time) I think you could empty the CumulusRealTimeLocation definition. If you could try that (and you have to run full website to try that) I would appreciated it.

Re: CUtils v7.3.0 beta

Posted: Thu 28 Nov 2024 7:23 pm
by PaulMy
Hi Andy,
And sorry for the spelling, which is pretty gory. It should be ok now, and think it was fine yesterday before my trial blunder.

After a wet summer our fall has been quite dry and right now exceptional weather with low amounts of rain, and no snow yet. My January and February rain amounts may not always be correct. I don't have a heated rain gauge so winter snow that may fall outside of the gauge is lost. That is one reason I do the CoCoRaHS manual reading every morning, including winter time, and report and submit SWE (Snow Water Equivalent). I don't update my weather station with this manual reading as some do.

Enjoy,
Paul

Re: CUtils v7.3.0 beta

Posted: Thu 28 Nov 2024 8:05 pm
by PaulMy
Hi Hans,
I think you could empty the CumulusRealTimeLocation definition. If you could try that (and you have to run full website to try that) I would appreciated it.
I changed to:
CumulusRealTimeLocation=
and tried MoonImageLocation=./cumulusmx4wll/images/
and this did not display the moon,

So one step back:
CumulusRealTimeLocation=
MoonImageLocation=https://www.komokaweather.com/cumulusmx ... s/moon.png
and this works.

I think all good here.

p.s. remind me that when drafting a long reply on a busy thread, to save the text before [Submit], or at least do a [Preview] That can save a lot of rewrite!

Enjoy,
Paul

Re: CUtils v7.3.0 beta

Posted: Thu 28 Nov 2024 8:36 pm
by HansR
Great @Paul.

Re: CUtils v7.3.0 beta

Posted: Thu 28 Nov 2024 9:22 pm
by sutne
Do you have a link to that site of your neighbour?
I only wanted to show you the snowdepth chart, but kept the whole page because the link is on the top
https://upseteveret.no/index.htm
The Snowchart is from the ‘Historikk Snø’ link.

Re: CUtils v7.3.0 beta

Posted: Thu 28 Nov 2024 9:33 pm
by HansR
Thanks.
I'll see what I can do for that snow chart for all years.

Re: CUtils v7.3.0 beta

Posted: Tue 03 Dec 2024 3:59 pm
by PaulMy
Hi Hans,
I think I have encountered the same issue with running External Programs for CUtils as here viewtopic.php?t=20796
The External Programs for CUtils cumulusutils.exe website and UserAsked Data do not run as scheduled.

Manually running

Code: Select all

C:\KomokaWeather\CumulusMX>utils\bin\cumulusutils.exe website

Code: Select all

C:\KomokaWeather\CumulusMX>utils\bin\cumulusutils.exe UserAskledData
from the DOS command prompt works fine and updates.

For CUtils v7.2 and current beta, in my CMX External programs I have

Code: Select all

External Programs
Interval program: C:\KomokaWeather\CumulusMX\utils\bin\cumulusutils.exe
 A program or command to be run at each web update interval
Interval program parameters: UserAskedData
 Parameters for the above program or command, this can contain web tags

Real time program:
 A program or command to be run at each real time interval
Real time program parameters:
 Parameters for the above program or command, this can contain web tags

Daily program: C:\KomokaWeather\CumulusMX\utils\bin\cumulusutils.exe
 A program or command to be run at the start of each day
Daily program parameters: website
 Parameters for the above program or command, this can contain web tags
I found that even though CMX MXdiags show running

Code: Select all

2024-12-03 00:00:00.877 Executing daily program: C:\KomokaWeather\CumulusMX\utils\bin\cumulusutils.exe params: website

Code: Select all

2024-12-03 10:35:00.784 Interval: Executing external program utils\bin\cumulusutils.exe UserAskedData
the website is not updated.

I have tried different Interval and Daily program lines but haven't found one that works.
Any suggestion what the correct execution line should be in External Programs?

Enjoy,
Paul

Re: CUtils v7.3.0 beta

Posted: Tue 03 Dec 2024 5:05 pm
by HansR
PaulMy wrote: Tue 03 Dec 2024 3:59 pm I think I have encountered the same issue with running External Programs for CUtils as here viewtopic.php?t=20796
The External Programs for CUtils cumulusutils.exe website and UserAsked Data do not run as scheduled.
Yes, I did follow that topic and I saw the remark by @sutne.

I am not sure why Mark did this and whether he realised the consequences (@Mark: could you jump in and explain?)

CUtils requires it has the CumulusMX directory as the current directory so if CMX can't supply that you will have to abandon the method of the external programs.
PaulMy wrote: Tue 03 Dec 2024 3:59 pm <I did not quote your explanations what you did and what worked and what not>

I have tried different Interval and Daily program lines but haven't found one that works.
Any suggestion what the correct execution line should be in External Programs?
As I wrote above
CUtils requires it has the CumulusMX directory as the current directory so if CMX can't supply that you will have to abandon the method of the external programs.
That is unfortunate.

However, Windows also has a task scheduler. If you never used that, please refer to the Wiki where Barry (@nossis) supplied a good description of how to handle this on Windows. His site is Roleystone where you may contact him directly - or send a PM - if running into problems. If that adds to the current knowledge, please ask him to join this thread.

Re: CUtils v7.3.0 beta

Posted: Wed 04 Dec 2024 11:11 am
by mcrossley
With hindsight, that change was not a good move - I'll revert it in 4.3.0

Re: CUtils v7.3.0 beta

Posted: Wed 04 Dec 2024 11:24 am
by HansR
mcrossley wrote: Wed 04 Dec 2024 11:11 am With hindsight, that change was not a good move - I'll revert it in 4.3.0
Great, thanks :clap: