Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.2.1 (build 4043) - 19 October 2024

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

For New Users

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

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

Re: For New Users

Post by HansR »

OK.

Set UploadDir (Section [FTP site]) to the CMX directory (full path from the FTP root, assume you have that already) and set CumulusRealTimeLocation=../CumulusMX
CumulusUtils uses plain old FTP , I assume that is working fine on free.fr

Then run CumulusUtils and it should work.

NOTE: It currently tries to find

Code: Select all

http://stef942.free.fr/CMX/stef942@ftpperso.free.fr/CumulusMXrealtimegauges.txt
which you can see by pressing F12 (console). So I don't know where you put that emailaddress, but just remove stef942 @ ftpperso.free.fr/CumulusMX and you should be OK.
Hans

https://meteo-wagenborgen.nl
CMX build 4039+ ● RPi 4B ● Linux 6.6.51+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
stef942
Posts: 46
Joined: Mon 19 Oct 2009 8:17 pm
Weather Station: Ecowitt HP 2561
Operating System: raspi3
Location: France

Re: For New Users

Post by stef942 »

IT WOOOOOORRRRKKKKS lol :mrgreen: :mrgreen: :bash:

corect entry is :

Code: Select all

CumulusRealTimeLocation=../CumulusMX/
thanks a lot for your efforts both of you :clap: :clap:
User avatar
HansR
Posts: 6381
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

:groan: :D :clap: :clap:

Now please set your signature link to that site as well as the link of the map.
Start fine tuning cumulusutils.ini to your wishes.
Have fun and enjoy the site. :!: 8-)
Hans

https://meteo-wagenborgen.nl
CMX build 4039+ ● RPi 4B ● Linux 6.6.51+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
User avatar
rogerthn
Posts: 543
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: For New Users

Post by rogerthn »

Félicitations ;)
@Hans, any idea why Processor Temperature is empty on the http://stef942.free.fr/CMX/ System Info?
PS
From http://stef942.free.fr/CMX/systeminfoTable.txt
Processor Temperature: °C
Image
User avatar
HansR
Posts: 6381
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

@rogerthn:
1) I assume he ran cutils while cumulusmx was not running (or starting) as the runtime of cmx is 0. Because he has not yet configured repeated runs for the sysinfo, it will probably be not so informative until he does ;)
2) when that is displayed in a page under UTF8 definition it will look better :)
Hans

https://meteo-wagenborgen.nl
CMX build 4039+ ● RPi 4B ● Linux 6.6.51+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
stef942
Posts: 46
Joined: Mon 19 Oct 2009 8:17 pm
Weather Station: Ecowitt HP 2561
Operating System: raspi3
Location: France

Re: For New Users

Post by stef942 »

Hi, i have an error when trying to run ver 4.7.0 :

Code: Select all

pi@raspberrypi:~/CumulusMX/utils/bin $ ./cumulusutils.exe website
 No Cumulus.ini found. Must run in Cumulus directory!
:shock:
User avatar
rogerthn
Posts: 543
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: For New Users

Post by rogerthn »

From release notes
You have to call CumulusUtils with the following command (being in the cumulus directory) utils\bin\cumulusutils.exe
Image
stef942
Posts: 46
Joined: Mon 19 Oct 2009 8:17 pm
Weather Station: Ecowitt HP 2561
Operating System: raspi3
Location: France

Re: For New Users

Post by stef942 »

ah ok thank you it works :clap:
User avatar
kocher
Posts: 233
Joined: Sat 19 Apr 2014 7:57 pm
Weather Station: Davis Vantage Pro2+
Operating System: Windows 10
Location: San Sebastian - Spain
Contact:

Re: For New Users

Post by kocher »

Greetings Hans

I must ask your opinion and help one more time.

It turns out that another Spanish friend is trying to install cumulusUtils on his website:

http://www.meteosantmateu.online/cumulusutils/

He is a little experienced user, as he himself admits.
I try to provide you with help, but it is difficult due to the long wait for our friend's replies in our Spanish forum.

I have thought that your opinion can be of great help so that I can better guide my Spanish friend.

I attach the following files from my friend:

- 2011152038cumulusutils.log

- cumulusutils.ini

I have already warned him that he must change in cumulusutils.ini, in his web section:

[Website]
CumulusRealTimeLocation =

For this:

[Website]
CumulusRealTimeLocation = .. /
You do not have the required permissions to view the files attached to this post.
Image
User avatar
HansR
Posts: 6381
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

Hi Javier,

OK. This seems a two way problem.

1) It does not run wel in the environment because it crashes on its encounter of Newtonsoft.Json library.
2) There are some questions to the CumulusRealTimeLocation.

ad 1) From what I see is that you use a version incompatible with the libraries present on his system

What version of CumulusUtils is being used and what system is Cumulus running on? Please use 4.7.0 with CMX 3.9.1 to prevent continued dll-version discrepancies. NOTE: a bin directory has been created for cutils. Read the release post well! The Newtonsoft library is replaced by ServiceStack.Text.dll and the FTP system has been rewritten. My advise is to use only plain FTP for now.

ad 2) Having said that, it became clear that the parameters UploadDir and CumulusRealTimeLocation give some confusion so I updated the manual on this. I quote:
NOTE:
1. Parameter UploadDir (section [FTP site]) determines to which FTP directory the upload goes. With a leading slash it is an absolute FTP path, without slash it is a relative path to the FTProot. If this parameter is empty all output is uploaded to the parameter Directory in the Cumulus.ini file (section FTP site]) (this does NOT end with a slash)
2. Parameter CumulusRealTimeLocation (section [Website]) determines where the javascript runtime searches for the realtime files uploaded by CumulusMX. It is an absolute or relative path to the Webroot. It must end with a slash.
(I may end the 'slash ending confusion' some time soon).

If you run into problems check with F12 (console) the path to realtime.txt and adjust if there is an error. (so in your case I would set "UploadDir=/cumulusutils" and (assuming that is where the reatime files go) CumulusRealTimeLocation=/ or empty (and btw: your solution I think is OK too ;) ).

So, at least get the website up and running and then we will look at the CumulusRealTimeLocation .
Hope this helps.

(Quite unfortunate a new user starts in the confusion around version 4.7.0 and the dll version troubles)
Hans

https://meteo-wagenborgen.nl
CMX build 4039+ ● RPi 4B ● Linux 6.6.51+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
User avatar
kocher
Posts: 233
Joined: Sat 19 Apr 2014 7:57 pm
Weather Station: Davis Vantage Pro2+
Operating System: Windows 10
Location: San Sebastian - Spain
Contact:

Re: For New Users

Post by kocher »

Thank you very much Hans :)

I'll let him know and keep you posted
Image
User avatar
HansR
Posts: 6381
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

kocher wrote: Mon 16 Nov 2020 12:56 pm Thank you very much Hans :)

I'll let him know and keep you posted
So I see he's got it working.
Any additional issues?
Hans

https://meteo-wagenborgen.nl
CMX build 4039+ ● RPi 4B ● Linux 6.6.51+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
krash
Posts: 34
Joined: Tue 15 Dec 2015 7:39 am
Weather Station: PCE-FWS 20
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Madrid

Re: For New Users

Post by krash »

Hello again, Hans ... a couple of doubts .... I am trying to customize the usermenu section .. I have read that the file CUsermenu.txt must be put (removing the comments and modifying it) in the ccumulus directory) I have fact and the case is that when passing the Website option, it is true that it creates a file CUsermenu.txt.save, but it does nothing, that is, it leaves the menu as it is. Another thing. In NOAA reports, where to upload the NOAA files generated by cumulusMX? And in cumulusUtils? .-

Thank you very much¡¡¡--..
-----MADRID (SPAIN)--------
http://cuatrotorres.ddns.net/
User avatar
HansR
Posts: 6381
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

@krash:

First the NOAA. You start in CumulusMX to define the FTP directory where you want to upload the reports (you probably already did that). Then in CumulusUtils you have to define where CumulusUtils can find those reports (as they can be basically everywhere). You supply that directory relative to the Webroot in the parameter FTPDirectory (section NOAA). This directory MUST end with a slash.

Second the CUsermenu.txt.
  1. The user menu file resides in the webroot of CumulusUtils.
  2. It is not about the comments. You may remove those, or leave as is.
  3. CumulusUtils does NOT create a file CUsermenu.txt.save.
  4. The structure of the user menu is easiest explained by example using my website. If you look at my site you will see the user menu defined below.
    • See the distinction between the drop-down and the text in the menu-bar.
    • Each user menu is defined by what is between <li class='nav-item dropdown'> and a </li> (you can have more than one usermenu)
    • What the user needs to do is define the drop down part between the <div></div>
    • You can use hyperlinks <a></a> for direct hyperlinks outside your webside domain;
    • You use the <span></span> HTML tags to load information into the ReportView.
    • Use cut/past and only change filenames, links and menutext.

Code: Select all

<li class='nav-item dropdown'>
  <a class='nav-link dropdown-toggle' href='#' id='navbarDropdown' role='button' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>
    NL
  </a>
  <div class='dropdown-menu' aria-labelledby='navbarDropdown'>
    <a class='nav-link' href="https://topotijdreis.nl" target="_blank">Topo NL</a>
    <a class='nav-link' href="https://waterinfo.rws.nl/#!/kaart/waterhoogte-t-o-v-nap/" target="_blank">Waterstanden NL</a>
    <span class='nav-link' onclick="LoadUtilsReport('Ahn.txt');">Hoogtekaart NL</span>
    <!-- div class='dropdown-divider'></div -->
  </div>
</li>

<li class='nav-item dropdown'>
  <a class='nav-link dropdown-toggle' href='#' id='navbarDropdown' role='button' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>
    Extra
  </a>
  <div class='dropdown-menu' aria-labelledby='navbarDropdown'>
    <span class='nav-link' onclick="LoadUtilsReport('Sat24-zonwolken.txt');">Satelite</span>
    <span class='nav-link' onclick="LoadUtilsReport('Sat24-infrarood.txt');">Infrared</span>
    <span class='nav-link' onclick="LoadUtilsReport('Radar-regen.txt');">Radar</span>
    <a class='nav-link' href='https://effis.jrc.ec.europa.eu/static/effis_current_situation/public/index.html' target="_blank">Effis</a>
    <div class='dropdown-divider'></div>
    <span class='nav-link' onclick="LoadUtilsReport('GlobalWinds.txt');">Global Winds</span>
    <span class='nav-link' onclick="LoadUtilsReport('Windy.txt');">Windy</span>
    <span class='nav-link' onclick="LoadUtilsReport('WXcharts.txt');">WXcharts</span>
    <div class='dropdown-divider'></div>
    <a class='nav-link' href="https://cumulus.hosiene.co.uk/viewforum.php?f=44" target="_blank">Forum</a>
    <a class='nav-link' href="https://meteo-wagenborgen.nl/wp/" target="_blank">The Blog</a>
  </div>
</li>
Hope this helps, good luck.
Hans

https://meteo-wagenborgen.nl
CMX build 4039+ ● RPi 4B ● Linux 6.6.51+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
User avatar
HansR
Posts: 6381
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

@krash:
And btw: the report filenames are NOT configurable in CumulusUtils, you have to use the defaults CMX provides. Don't change those defaults.
Hans

https://meteo-wagenborgen.nl
CMX build 4039+ ● RPi 4B ● Linux 6.6.51+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
Post Reply