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 4019) - 03 April 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

Original release topic

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

User avatar
HansR
Posts: 5966
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Cumulusutils

Post by HansR »

Version 0.7.0 is online. With a ReadMe 8-)
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
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

Re: Cumulusutils

Post by Phil23 »

HansR wrote: Wed 18 Sep 2019 7:35 am Version 0.7.0 is online. With a ReadMe 8-)
Downloaded & installed.
: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:
User avatar
PaulMy
Posts: 3849
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: Cumulusutils

Post by PaulMy »

Hi Hans,
Send me the link when you got it online.
http://www.komokaweather.com/weather/cu ... test1.html
http://www.komokaweather.com/weather/cu ... test1.html
That is with v0.51

Enjoy,
Paul
Last edited by PaulMy on Thu 19 Sep 2019 1:02 pm, edited 1 time in total.
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
Image
User avatar
PaulMy
Posts: 3849
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: Cumulusutils

Post by PaulMy »

Hi Hans,
Send me the link when you got it online.
http://www.komokaweather.com/weather/cu ... test1.html
http://www.komokaweather.com/weather/cu ... test1.html
That is with v0.51

CumulusMX did run cumulusutils.exe successfully at midnight
Cumulus1 did run the program at midnight as per the debug.log but no files were added to c:\added_programs\Cumulus folder where cumulusutils.exe and dayfile.txt reside.
1165.80265 : 23:59:59.420 Data loaded
1165.81357 : 00:00:00.525 Sending wakeup, attempt 1
1165.81513 : 18/09/2019 Hour timer 0
1165.83650 : 00:00:02.806 Received FFFFFFFF
1165.85647 : 18/09/2019 12:00:04 AM Executing program: c:\added_programs\Cumulus\cumulusutils.exe - Params: -day
1165.85678 : 00:00:04.837 Received FFFFFFFF
1165.85850 : 18/09/2019 12:00:05 AM Minute timer 0
1165.85850 : Adding LH entry, ts = 12:00:05 AM raintot = 545.599975585938
1165.85850 : 12:00:05 AM Creating WXNow File
1165.86880 : 00:00:06.037 Sending wakeup, attempt 2
1165.86973 : Creating web graphs
1165.88174 : 00:00:07.332 Received 0A
1165.88174 : 00:00:07.332 Received 0D
1165.88174 : 00:00:07.332 Station woken
1165.88174 : 00:00:07.332 Sending BARDATA
1165.89875 : 12:00:09 AM Updating Wunderground
Executing the command line with the same full path as in Cumulus1 External Programs does run successfully.

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
Image
User avatar
PaulMy
Posts: 3849
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: Cumulusutils

Post by PaulMy »

Hi Hans, and sorry for the duplication in previous post. Sometimes my system does strange things or loses posts after I [Submit]

Re v.0.7.0 and the readme is great!
A couple of things...
It refers to Cumulus.ini being in the same \Cumulus folder as cumulusutils.exe which it is in my CumulusMX setop and with version 0.5.1 that works from External Programs.
However in my Cumulus1 setup it is called cumulus.ini (lower case cumulus). I can't see how that would make a difference in running from a command line, and not running using the same command line in a scheduled External Programs execution.

And the big one... v0.7.0
As it is executed from command line it indicates an error as previously mentioned with v.0.6.5 see attached.
However with v.0.7.0 and the error message there are still files created:
pwsFWI.txt
cumulusutils.log
but NOT Top10Table.txt nor Top10TableStyle.txt
and the pwsFWI.txt and cumulusutils.log are much smaller than the successfully run v.0.5.1 which is likely due to v.0.7.0 not fully completing its running as indicated by the error message.

I think you indicated it may be due to my Windows8 machine not having updated files, is that correct? Is there a way to tell or would you know what those might be, or any way around it?

Again thank you for your patience.

Regards,
Paul
Last edited by PaulMy on Thu 19 Sep 2019 12:59 pm, edited 1 time in total.
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
Image
User avatar
HansR
Posts: 5966
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Cumulusutils

Post by HansR »

I really don't understand what is precisely going on on your machine Paul, but indeed, what I did say was that your machine is probably/maybe too old and not updated, so that it is simply too difficult from a distance (and maybe even from close by) to say anything useful about what you are seeing and reporting. Those crashes do not occur elsewhere and running without producing output means that there is something very wrong. If it does not work, it does not work, but at the moment I do not think it is the program. Phil and Piotr have it running OK without problems, also on Win8.

I will make one effort in checking the log file. Could you make a run and send me the logfile (by PM or mail)?
And btw, could we continue this discussion by PM or mail, because this thread gets a bit stuck on this. CumulusUtils has also functionality to offer.

Best,
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
HansR
Posts: 5966
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Cumulusutils

Post by HansR »

Version 0.7.5 is online.

Three major changes:
1) The imperial system can now be handled and the calculations are all corrected for different units. The units are now included in the Top10 table.
2) The header text of the Top10 table can now be translated via the cumulusutils.ini
3) The commandline parameters have changed. They now are: Top10, SysInfo and pwsFWI. They are case independent and there is no specific order defined.

The ReadMe has been changed accordingly.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
freddie
Posts: 2477
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Cumulusutils

Post by freddie »

HansR wrote: Thu 19 Sep 2019 8:12 am Version 0.7.5 is online.
I've downloaded and given this utility a try. I am interested in the top 10 listing, and the sysinfo.

With the top 10 listing: I have a relatively new site and have less than 10 month's worth of data. The "monthly rainfall" top 10 table column doesn't seem to handle this. It populates the top 6 entries okay (as I am in my sixth month of records), but the remaining 4 entries contain what looks like totals from June. I've reproduced the table column data below (the forum software didn't let me attach the file to this message):

Code: Select all

<table style="float:justify;text-align:center"><tbody>
<tr>
<th style="color:Green;">Highest Daily Rain<br/>( mm)</th>
<th style="color:Green;">Highest Monthly Rain<br/>( mm)</th>
<th style="color:Green;">Longest Dry Period<br/></th>
</tr>

<tr>
<td >11/06/2019 : <b>34.2</b></td>
<td >Jun 2019 : <b>127.4</b></td>
<td >23/04/2019 : <b> 15</b></td>
</tr>
<tr>
<td >08/08/2019 : <b>26.2</b></td>
<td style="color:DarkOrange;">Aug 2019 : <b>74.0</b></td>
<td >05/07/2019 : <b> 10</b></td>
</tr>
<tr>
<td >07/06/2019 : <b>20.4</b></td>
<td >May 2019 : <b>51.4</b></td>
<td style="color:DarkOrange;">27/08/2019 : <b>  8</b></td>
</tr>
<tr>
<td >10/06/2019 : <b>15.6</b></td>
<td >Jul 2019 : <b>48.6</b></td>
<td >26/05/2019 : <b>  6</b></td>
</tr>
<tr>
<td >23/07/2019 : <b>14.2</b></td>
<td >Apr 2019 : <b>18.0</b></td>
<td >02/06/2019 : <b>  6</b></td>
</tr>
<tr>
<td >09/08/2019 : <b>13.6</b></td>
<td style="color:DarkOrange;">Sep 2019 : <b>17.0</b></td>
<td >15/05/2019 : <b>  5</b></td>
</tr>
<tr>
<td >12/06/2019 : <b>13.4</b></td>
<td >Jun 2019 : <b>127.4</b></td>
<td >16/07/2019 : <b>  5</b></td>
</tr>
<tr>
<td >30/07/2019 : <b>12.4</b></td>
<td >Jun 2019 : <b>123.8</b></td>
<td >02/08/2019 : <b>  3</b></td>
</tr>
<tr>
<td >02/05/2019 : <b>12.0</b></td>
<td >Jun 2019 : <b>112.2</b></td>
<td >22/06/2019 : <b>  3</b></td>
</tr>
<tr>
<td >24/06/2019 : <b>11.6</b></td>
<td >Jun 2019 : <b>107.2</b></td>
<td >22/07/2019 : <b>  2</b></td>
</tr>
</tbody></table>
With the sysinfo listing: an exception is thrown, and I get a zero-length systeminfoTable.txt file. I have attached the cumulusutils.log file, and the exception is reproduced below:

Code: Select all

./cumulusutils.exe Top10 SysInfo
/bin/cat: /proc/device-tree/model: No such file or directory
Unhandled Exception:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00011] in <8f2c484307284b51944a1a13a14c0266>:0
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
  at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0
  at CumulusUtils.SystemStatus.DoingUnix () [0x000ad] in <66529466848843fc9595b67f7759f3d1>:0
  at CumulusUtils.SystemStatus.GenerateSystemStatus () [0x001ae] in <66529466848843fc9595b67f7759f3d1>:0
  at CumulusUtils.cumulusutils.RealMain (System.String[] args) [0x00113] in <66529466848843fc9595b67f7759f3d1>:0
  at CumulusUtils.cumulusutils.Main (System.String[] args) [0x00007] in <66529466848843fc9595b67f7759f3d1>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00011] in <8f2c484307284b51944a1a13a14c0266>:0
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0                           at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0
  at CumulusUtils.SystemStatus.DoingUnix () [0x000ad] in <66529466848843fc9595b67f7759f3d1>:0
  at CumulusUtils.SystemStatus.GenerateSystemStatus () [0x001ae] in <66529466848843fc9595b67f7759f3d1>:0
  at CumulusUtils.cumulusutils.RealMain (System.String[] args) [0x00113] in <66529466848843fc9595b67f7759f3d1>:0
  at CumulusUtils.cumulusutils.Main (System.String[] args) [0x00007] in <66529466848843fc9595b67f7759f3d1>:0
I am running the code on Ubuntu 18.04 (up to date with all patches).
You do not have the required permissions to view the files attached to this post.
Freddie
Image
User avatar
HansR
Posts: 5966
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Cumulusutils

Post by HansR »

Hi freddie,

Thanks for trying.

1) The Monthly Rainfall issue is known, I should stop listing if there is not enough months to list but that was not trivial to detect so I skipped it. Nobody had a problem with it but myself (mine is four month old). Now I got to fix it :) Consider it fixed for release 0.8, most likely somewhere in the weekend.

2) That's a bit odd. I make use of a simple C# call to execute Unix/Linux commands. Could you try the result of "cat /proc/device-tree/model" on the Ubuntu machine? It's my guess there is no output at all, therefore no info on the system. How would you ask on Ubuntu to get an info string like "Raspberry Pi 3 Model B Plus Rev 1.3" (which is the output on my rPi machine). Guess I have to catch the exception or test properly and notify an empty string. The variety of systems might kill this approach, but I don't seem to have access to the system administration/management classes in C# so that route can't be used.
(btw: on windows, the only command called is sysinfo).

Best,
Last edited by HansR on Thu 19 Sep 2019 2:43 pm, edited 1 time in total.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
freddie
Posts: 2477
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Cumulusutils

Post by freddie »

HansR wrote: Thu 19 Sep 2019 2:02 pm1) Consider it fixed for release 0.8, most likely somewhere in the weekend.
That would be fab, thank you :D
HansR wrote: Thu 19 Sep 2019 2:02 pm2) Could you try the result of "cat /proc/device-tree/model" on the Ubuntu machine? It's my guess there is no output at all, therefore no info on the system.
Same result as in the exception output I posted:

Code: Select all

cat: /proc/device-tree/model: No such file or directory
HansR wrote: Thu 19 Sep 2019 2:02 pmHow would you ask on Ubuntu to get an info string like "Raspberry Pi 3 Model B Plus Rev 1.3" (which is the output on my rPi machine).
It does depend on exactly what you want to retrieve. A reasonable (but more detailed) replacement could be:

Code: Select all

lshw -short
which should be parseable for the details you need (and more!)

Thank you for your work so far.
Freddie
Image
User avatar
HansR
Posts: 5966
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Cumulusutils

Post by HansR »

Hi, Thanks for the quick reply.
freddie wrote: Thu 19 Sep 2019 2:20 pm That would be fab, thank you
Meanwhile check out the solution here.

Tried the lshw -short but that does not work on raspbian. I am looking for a hardware identification like this: Raspberry Pi 3 Model B Plus Rev 1.3 (check out here), Sun, HP, or whatever. A machine, the result I get with uname -a is the OS and on which processor it runs, not the context. If not possible then OK, I'll dump it.

Best,
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
freddie
Posts: 2477
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Cumulusutils

Post by freddie »

HansR wrote: Thu 19 Sep 2019 5:32 pm Tried the lshw -short but that does not work on raspbian. I am looking for a hardware identification like this: Raspberry Pi 3 Model B Plus Rev 1.3
apt-get install lshw
Sorry, it's installed on most distros by default.
It will give you what you want :-)
Freddie
Image
User avatar
HansR
Posts: 5966
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Cumulusutils

Post by HansR »

freddie wrote: Thu 19 Sep 2019 5:48 pm apt-get install lshw
OK, works absolutely fabulously, could demand that as a precondition. But what about the Sun, HP etc... do they use this command?
Not that Cumulus will often be run on a Sun but you never know?
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
hvd51
Posts: 44
Joined: Fri 13 Jul 2012 5:05 pm
Weather Station: Davis VP2 + Weatherlink IP
Operating System: Pi 4 / Linux 6.1.21-v8+ aarch64
Location: 't Zandt, The Netherlands
Contact:

Re: Cumulusutils

Post by hvd51 »

freddie
Posts: 2477
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Cumulusutils

Post by freddie »

HansR wrote: Thu 19 Sep 2019 6:23 pm
freddie wrote: Thu 19 Sep 2019 5:48 pm apt-get install lshw
OK, works absolutely fabulously, could demand that as a precondition. But what about the Sun, HP etc... do they use this command?
Not that Cumulus will often be run on a Sun but you never know?
That's great - well done. I think for *nix platforms you only need to cater for those that have a .net implementation, as that is what Cumulus requires. To my knowledge the only *nix .net implementation is Mono - and that is only supported on Linux and Mac OS. So you need not be concerned with IRIX, HP-UX, AIX, etc. etc. :-)
Freddie
Image
Post Reply