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

For New Users

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

User avatar
HansR
Posts: 5964
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 »

Chris, it is looking good so far.

Because you are generating the website, being on the map is compulsory and that requires the website to be filled in in the inifile parameters (section [Maps], parameter website. Simply enter the URL for the index file.

Because you have your webserver on another RPi, I assume that is all in running order meaning you have the webserver and FTP server correctly running - you need those to have both CMX and CumulusUtils to run correctly.

Just run and we'll see how it goes.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
chradev
Posts: 14
Joined: Tue 27 Apr 2021 12:01 pm
Weather Station: Davis Vantage VUE
Operating System: Linux Debian 8

Re: For New Users

Post by chradev »

Hans,

Thanks for help. I have added Website to wrong places in ini files. I made a step ahead: https://egpr.radevs.net/cmxu/index.html

I have also copied manually all sub-folders from CunulusMX/webfiles to another box where the index.html and other txt files ware uploaded (https://screenrec.com/share/czYNuxdemI).

Unfortunately, there is some staff missing or wrong.
Regards,
Chris

https://www.radevs.net/chradev/, https://egpr.radevs.net/cmxu/
● Davis Vantage VUE ● Cumulus build 3122 ● CumulusUtils Version 5.4.0 ● Mono 5.18.1.0
● A20-OLinuXino-Lime2-emmc ● Armbian_5.27 ● Debian 8 (Jessie) ● Linux Kernel 4.10.5
chradev
Posts: 14
Joined: Tue 27 Apr 2021 12:01 pm
Weather Station: Davis Vantage VUE
Operating System: Linux Debian 8

Re: For New Users

Post by chradev »

Hans,
Because you have your webserver on another RPi, I assume that is all in running order meaning you have the webserver and FTP server correctly running - you need those to have both CMX and CumulusUtils to run correctly.
Yes, CMX and CumulusUtils is running correctly on Linux box 1 and CMX site is ok (http://egpr.radevs.net:8998/index.html). On Linux box 2 it is running correctly sftp, nginx and all required staff. CumulusUtils with command website upload successfully index.html and all txt files.
Regards,
Chris

https://www.radevs.net/chradev/, https://egpr.radevs.net/cmxu/
● Davis Vantage VUE ● Cumulus build 3122 ● CumulusUtils Version 5.4.0 ● Mono 5.18.1.0
● A20-OLinuXino-Lime2-emmc ● Armbian_5.27 ● Debian 8 (Jessie) ● Linux Kernel 4.10.5
chradev
Posts: 14
Joined: Tue 27 Apr 2021 12:01 pm
Weather Station: Davis Vantage VUE
Operating System: Linux Debian 8

Re: For New Users

Post by chradev »

Hans,

As I can see CumulusUtils generates and indicate uploading (https://screenrec.com/share/Zrh8In5sPz) but all files after "UploadFile: Start utils/index.html => index.html" and before "MapsOn: Start" did not get uploaded.
Regards,
Chris

https://www.radevs.net/chradev/, https://egpr.radevs.net/cmxu/
● Davis Vantage VUE ● Cumulus build 3122 ● CumulusUtils Version 5.4.0 ● Mono 5.18.1.0
● A20-OLinuXino-Lime2-emmc ● Armbian_5.27 ● Debian 8 (Jessie) ● Linux Kernel 4.10.5
User avatar
HansR
Posts: 5964
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, it is starting :)
chradev wrote: Wed 28 Apr 2021 11:16 am I have also copied manually all sub-folders from CunulusMX/webfiles to another box where the index.html and other txt files ware uploaded (https://screenrec.com/share/czYNuxdemI).
I am not 100% what you mean here but keep the CMX website/webfiles separated from CumulusUtils. There is no connection between the two. CumulusUtils is independent, your directory tree looks good. Also the libraries in the distribution simply must be put in the utils directory and they will be transferred to the CumulusUtils website automatically. The libraries (the js-files) should not be mixed with those of CMX! Even when they bare the same name they may - likely - be different.

If you can not fix the issues, post the cumulusutils.ini file again and I will check.
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: 5964
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 »

chradev wrote: Wed 28 Apr 2021 11:51 am Hans,

As I can see CumulusUtils generates and indicate uploading (https://screenrec.com/share/Zrh8In5sPz) but all files after "UploadFile: Start utils/index.html => index.html" and before "MapsOn: Start" did not get uploaded.
OK. That probably is because those files (which are in the distribution) are not present in the utils directory so during the upload process, CumulusUtils can't find those to upload.
Solution: copy those files from distribution to the utils directory.
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: 5964
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 »

chradev wrote: Wed 28 Apr 2021 11:30 am Hans,
Because you have your webserver on another RPi, I assume that is all in running order meaning you have the webserver and FTP server correctly running - you need those to have both CMX and CumulusUtils to run correctly.
Yes, CMX and CumulusUtils is running correctly on Linux box 1 and CMX site is ok (http://egpr.radevs.net:8998/index.html). On Linux box 2 it is running correctly sftp, nginx and all required staff. CumulusUtils with command website upload successfully index.html and all txt files.
I see. Ok I understand your configuration now. But please be aware that everybody from the outside world is now able to modify your configuration. That is not something you would like to expose to the world. You will have to block access to the CMX management interface which is not intended to be a public website one way or another. There is no (password) protection there.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
chradev
Posts: 14
Joined: Tue 27 Apr 2021 12:01 pm
Weather Station: Davis Vantage VUE
Operating System: Linux Debian 8

Re: For New Users

Post by chradev »

Hans,

I open access to Cumulus MX web site only for you to see all works ok and already close it.
Copying the files from Cumulus/webfiles was only to try to fix the problem and I delete them.

All files (txt, css and js) in described process period are in utils folder and after copying them manually the cmxu web site become better but still something is missing.
I have also copied manually folder utils/CUicons to cmxu folder where index.html and txt files are uploaded with no effect.

I did not copied any staff from CumulusMX to CumulusMC/utils because I do not understand what exactly from and where have to be copied.

Find attached:
cumulusutils.ini - the file in CumulusMX folder on my Linux box 1
UtilsStaff.txt - staff in CumulusMX/utils folder on my Linux box 1
WebRootStaff.txt - staff in /var/www/html/cmxu folder on my Linux box 2 -> WebRoot for the web site
You do not have the required permissions to view the files attached to this post.
Regards,
Chris

https://www.radevs.net/chradev/, https://egpr.radevs.net/cmxu/
● Davis Vantage VUE ● Cumulus build 3122 ● CumulusUtils Version 5.4.0 ● Mono 5.18.1.0
● A20-OLinuXino-Lime2-emmc ● Armbian_5.27 ● Debian 8 (Jessie) ● Linux Kernel 4.10.5
User avatar
HansR
Posts: 5964
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 »

chradev wrote: Wed 28 Apr 2021 12:40 pm Hans,

I open access to Cumulus MX web site only for you to see all works ok and already close it.
Copying the files from Cumulus/webfiles was only to try to fix the problem and I delete them.
OK
chradev wrote: Wed 28 Apr 2021 12:40 pm All files (txt, css and js) in described process period are in utils folder and after copying them manually the cmxu web site become better but still something is missing.
I have also copied manually folder utils/CUicons to cmxu folder where index.html and txt files are uploaded with no effect.

I did not copied any staff from CumulusMX to CumulusMC/utils because I do not understand what exactly from and where have to be copied.
OK
chradev wrote: Wed 28 Apr 2021 12:40 pm Find attached:
cumulusutils.ini - the file in CumulusMX folder on my Linux box 1
UtilsStaff.txt - staff in CumulusMX/utils folder on my Linux box 1
WebRootStaff.txt - staff in /var/www/html/cmxu folder on my Linux box 2 -> WebRoot for the web site
OK, everything seems to be allright now.
The things it is looking for now are realtime.txt and realtimegauges.txt. Those are sent by CMX to the directory you configure in Settings=>Web/FTP Site. If you configure that directory as cmxu, you are OK. It must be the same directory to where you copy all your other files (your webroot but then in FTP terms).

Then you need to configure in CMX the datafiles files you wish to be used by Cutils.
In Settings=>Web/FTP Settings=>Interval Settings Tick both options to enable realtime FTP
In Settings=>Web/FTP Settings=>Interval Settings=>Standard File settings Disable both options (for CumulusUtils, if have websites which use those leave it enabled)
In Settings=>Web/FTP Settings=>Interval Settings=>Graph File Settings Enable all (bothe Generate and Transfer) except availabledata.json and airquality.json

and if you use the ChartsCompiler (or plan to use):
In Settings=>Web/FTP Settings=>Interval Settings=>Daily Graph File Settings Enable all options
otherwise, disable.

if you start using the ChartsCompiler you may need the UserAskedData command to Cum,ulusUtils, but that may come later.

First do the above, when successful you will see you live data.
(I will add this to the Wiki....)
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: 5964
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 »

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: 5964
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 »

@chradev: That looks pretty good, doesn't it? :clap:


But that was only temporary?
Schermafbeelding 2021-04-28 161306.jpg
You do not have the required permissions to view the files attached to this post.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
chradev
Posts: 14
Joined: Tue 27 Apr 2021 12:01 pm
Weather Station: Davis Vantage VUE
Operating System: Linux Debian 8

Re: For New Users

Post by chradev »

Hans,

Thanks for the help. Your notes about Cumulus MX Settings are irreplaceable for fixing the problems.

Another point was that for uploading of css and js files to ftp cumulusutils has to be run without thrifty command.

And finally I find some issue with maps.txt. Because of wrong settings for website URL in cumulusutils.ini I found that generated maps.txt file contains old setting. Probably it depends on some timeout because of many tries once the change become actual. To overcome the problem I edit URL in maps.txt manually but it will be overwritten by the newly generated file later on.

Now the site is working properly (incl. real time data) - https://egpr.radevs.net/cmxu/index.html.

About ChartsCompiler - I am on my way to understand deeply Cumulus MX and CumulusUtils staff because my plans are to add to the web site information from forthcoming installation of a small private wind and solar plant.

Thanks again.
Regards,
Chris

https://www.radevs.net/chradev/, https://egpr.radevs.net/cmxu/
● Davis Vantage VUE ● Cumulus build 3122 ● CumulusUtils Version 5.4.0 ● Mono 5.18.1.0
● A20-OLinuXino-Lime2-emmc ● Armbian_5.27 ● Debian 8 (Jessie) ● Linux Kernel 4.10.5
User avatar
HansR
Posts: 5964
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 Chris,
chradev wrote: Wed 28 Apr 2021 2:23 pm Thanks for the help. Your notes about Cumulus MX Settings are irreplaceable for fixing the problems.
Yes, I understood and added it to the Wiki
chradev wrote: Wed 28 Apr 2021 2:23 pm Another point was that for uploading of css and js files to ftp cumulusutils has to be run without thrifty command.
I'll make that more clear...
chradev wrote: Wed 28 Apr 2021 2:23 pm And finally I find some issue with maps.txt. Because of wrong settings for website URL in cumulusutils.ini I found that generated maps.txt file contains old setting. Probably it depends on some timeout because of many tries once the change become actual. To overcome the problem I edit URL in maps.txt manually but it will be overwritten by the newly generated file later on.
This I disagree. on the Wiki it says:
Once per hour at hh:45 a program runs on meteo-wagenborgen (a hidden command in CumulusUtils) to actually assemble the map from the signature files.
That map is then available to the user. So, changes are only applied once per hour and not immediately visible on the user site.
chradev wrote: Wed 28 Apr 2021 2:23 pm Now the site is working properly (incl. real time data) - https://egpr.radevs.net/cmxu/index.html.
I saw it, looks good.
chradev wrote: Wed 28 Apr 2021 2:23 pm About ChartsCompiler - I am on my way to understand deeply Cumulus MX and CumulusUtils staff because my plans are to add to the web site information from forthcoming installation of a small private wind and solar plant.

Thanks again.
ChartsCompiler is work in progress and take it step by step.
No doubt we will talk about it again :)

You're welcome, enjoy your site.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
chradev
Posts: 14
Joined: Tue 27 Apr 2021 12:01 pm
Weather Station: Davis Vantage VUE
Operating System: Linux Debian 8

Re: For New Users

Post by chradev »

Hans,

Thanks for the notes and the work done as whole. The site is looking very well and that is the reason to choose to use Cumulus. I am confident of ability to achieve my plans for extending it with additional user data and graphs.
Regards,
Chris

https://www.radevs.net/chradev/, https://egpr.radevs.net/cmxu/
● Davis Vantage VUE ● Cumulus build 3122 ● CumulusUtils Version 5.4.0 ● Mono 5.18.1.0
● A20-OLinuXino-Lime2-emmc ● Armbian_5.27 ● Debian 8 (Jessie) ● Linux Kernel 4.10.5
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 »

Good morning Hans

I see you keep improving your magnificent application, congratulations !. :clap:

I have come across a problem of a compatriot that I do not dare to try to solve without your support.

The problem is the following;

Let's imagine a user who has heard of cumulusUtils and wants to install it on his PC and on his website.
We assume that, on your PC, there is no folder dedicated to cumulusUtils.

The question is:
Would it be possible to write a summary guide for a new installation of a new user on a PC that did not have cumulusUtils installed? :groan:

After reading the "README.pdf" file I can't find a simple explanation for this question.

I hope that I have explained well and I appreciate your help

Saludos desde San Sebastian

Javier
Image
Post Reply