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

For New Users

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

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 »

Hi Hans
chradev wrote: ↑Wed 26 May 2021 10:57 am
Unfortunately, the problem with CUsermenu.txt is not solved.
Does my answer help?
Your answer do not help me. In CumulisUtils I have following records:

Code: Select all

2021-05-26 08:28:39.412 UploadFile: Start utils/gauges-ss.css => css/gauges-ss.css
2021-05-26 08:28:39.450 UploadFile: Start utils/CUsermenu-example.txt => CUsermenu-example.txt
2021-05-26 08:28:39.502 MapsOn: Start
2021-05-26 08:28:39.738  PostUrlData Start
2021-05-26 08:28:40.863 GetUrlData Start: URL - https://meteo-wagenborgen.nl/maps.txt
so only utils/CUsermenu-example.txt => CUsermenu-example.txt is really transferred
If I rename utils/CUsermenu-example.txt => CUsermenu.txt and put it in CumulusMX root the file is not transferred as expected.

About file CUserAbout.txt: in distribution the file is named CUabout.txt and none of both names in any directory is transferred
Of course this file is not so important but About menu shows:

Code: Select all

Here comes the content of file CUserAbout.txt
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: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

Hi Chris,
chradev wrote: Wed 26 May 2021 8:47 am Your answer do not help me. In CumulisUtils I have following records:

Code: Select all

2021-05-26 08:28:39.412 UploadFile: Start utils/gauges-ss.css => css/gauges-ss.css
2021-05-26 08:28:39.450 UploadFile: Start utils/CUsermenu-example.txt => CUsermenu-example.txt
2021-05-26 08:28:39.502 MapsOn: Start
2021-05-26 08:28:39.738  PostUrlData Start
2021-05-26 08:28:40.863 GetUrlData Start: URL - https://meteo-wagenborgen.nl/maps.txt
so only utils/CUsermenu-example.txt => CUsermenu-example.txt is really transferred
If I rename utils/CUsermenu-example.txt => CUsermenu.txt and put it in CumulusMX root the file is not transferred as expected.
Aiaiaia.... indeed, my bad.
I will fix this in the next release and transfer only CUsermenu.txt and CUserAbout.txt.
chradev wrote: Wed 26 May 2021 8:47 am About file CUserAbout.txt: in distribution the file is named CUabout.txt and none of both names in any directory is transferred
Of course this file is not so important but About menu shows:

Code: Select all

Here comes the content of file CUserAbout.txt
Indeed it must be CUserAbout.txt, see upload remark above.

I assume you can - as a workaround - for the moment transfer the files manually?
The next release has some major rework going on for the compiler, so it will be some days. OK?
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 »

Hi Hans
I assume you can - as a workaround - for the moment transfer the files manually?
The next release has some major rework going on for the compiler, so it will be some days. OK?
Yes, I will do that manually as for now.

One more question. Is it possible to upload some user defined web files via CumulusUtils in case of website task?

Thanks for your prompt collaboration and help.
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: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

Such as?

CumulusUtils as it is only uploads the package and the resulting output.
User files (of whatever extension) probably are better uploaded through CumulusMX itself.

Unless you convince me of the necessity to have it done by CumulusUtils ;)
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 »

Hi Hans
Such as?
The web files (txt, html etc.) around user menus
Currently I do it via CumulusMX but it transfer the same files many times per hour.
Ok no problem - will do it manually.

One more question, please. Is it possible to disable CumulusUtils log files?
The problem is that FS space on my Linux box is limited (4GB eMMC).
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: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

chradev wrote: Wed 26 May 2021 10:39 am
Such as?
The web files (txt, html etc.) around user menus
Currently I do it via CumulusMX but it transfer the same files many times per hour.
Only once per day if you tick end of day.
chradev wrote: Wed 26 May 2021 10:39 am Ok no problem - will do it manually.
Manually is good enough: you only do it when changed which will be rare once you are satisfied with the result!
Another option is to edit in situ, on the site. If you use WinSCP or similar tool it lets you edit the file.
chradev wrote: Wed 26 May 2021 10:39 am One more question, please. Is it possible to disable CumulusUtils log files?
The problem is that FS space on my Linux box is limited (4GB eMMC).
No, it is not possible to disable the logfiles. You can set the paremeter TraceInfoLevel to Error which will produce the least amount of messages (you might also try None but I never tried it). You will always get the default log messages to show the program actually ran and real issues if they occur. Logfiles will never get older than 2 days so I don't know at which frequency you run it, but I run it every 10 minutes for sysinfo/UserAskedData, once per hour to create the map and once per day for the daily generation. It shows me 339 files for a total of 7.39 Mb. And that is for the TraceInfoLevel=Info. So I would not worry too much if you have a 4Gb disk: that is roughly 0.1% and won't increase unless some unknown disaster strikes.
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 »

Hi Hans
chradev wrote: ↑Wed 26 May 2021 1:39 pm
One more question, please. Is it possible to disable CumulusUtils log files?
The problem is that FS space on my Linux box is limited (4GB eMMC).
No, it is not possible to disable the logfiles. You can set the paremeter TraceInfoLevel to Error which will produce the least amount of messages (you might also try None but I never tried it). You will always get the default log messages to show the program actually ran and real issues if they occur. Logfiles will never get older than 2 days so I don't know at which frequency you run it, but I run it every 10 minutes for sysinfo/UserAskedData, once per hour to create the map and once per day for the daily generation. It shows me 339 files for a total of 7.39 Mb. And that is for the TraceInfoLevel=Info. So I would not worry too much if you have a 4Gb disk: that is roughly 0.1% and won't increase unless some unknown disaster strikes.
Yes, I run it at TraceInfoLevel set to Error. I have tried with None but result is like All. Currently my frequencies are slightly higher for testing purposes but will tune them at field. The problem with log files is not only the space but eMMC chip write cycles. Any way I will search for other solution.
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 »

Greetings Hans

My compatriot is already making progress little by little.

This is the address of your page:

http://www.estaciosonribes.com/cumulusMX/FWI/

Surely you will find the possible faults
Image
User avatar
HansR
Posts: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

Hi Javier,

Looks good, I see they all Spanish users borrow your setup :)

The following needs to be done:
  1. For the map the URL needs to be set to "http://www.estaciosonribes.com/cumulusMX/FWI/"
  2. For the monthly rain and temp charts the NOAA Normal values needs to be filled in in the Cumulus.ini (section [NOAA]). If you don't want to use the NOAA values, change parameter value UseNormalTempReference in cumulusutils.ini to StationAverage or leave it empty.
  3. The file gauges-ss.css (in the distribution) needs to be in the directory css (in the webroot). This should be done automatically when running

    Code: Select all

    utils/bin/cumulusutils.exe website
    If it is not copied automatically, check the settings.
  4. The Spanish language file is missing (or is that intentionally?)
  5. YADR data stop at May 5. Why?
  6. The Stationmap is not working. This is because a function setRotationAngle, which is part of the index.html, file is not present.
When your setup is used apparently the lib and css files are not correctly copied. I don't know why, it is an elementary setup thing. In general Apparently old versions of the libraries / generated files are used which means it is not generated on the target machine with the most recent version (5.3.8 which is said to be installed). He needs to run the command above which generates the latest versions of the files and data. That should solve most issues.

Hope this helps.

Regards,
Hans

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

We are already slowly improving.
Communication with my compatriot is intermittent but, despite this, I think your application is going to work wonderfully in Mallorca.

Thank you very much for your invaluable help.

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

Re: For New Users

Post by HansR »

kocher wrote: Fri 28 May 2021 9:31 am Greetings Hans

We are already slowly improving.
Communication with my compatriot is intermittent but, despite this, I think your application is going to work wonderfully in Mallorca.

Thank you very much for your invaluable help.

Javier
Hi Javier,

I saw the result this morning and it was looking good.
Thank you for your equally invaluable support in Spanish :D

Best regards,
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
AndyKF650
Posts: 704
Joined: Thu 20 Aug 2020 8:35 am
Weather Station: Davis VP2 Plus
Operating System: RPiv4 64bit Linux 12 Bookworm
Location: Jersey Channel Islands
Contact:

Re: For New Users

Post by AndyKF650 »

Hi there

I have been using CMX since August 2020 and am very happy with it. I have viewed the results on the CMX admin pages which worked well, but I have recently been trying to get CUtils to work on a separate folder "weatherwebsite" on my RPI.

I think I have followed the installation instructions on the wiki and this forum and can see all the data files appearing in the "weatherwebsite" folder on a regular basis, realtime every minute and the "x"data.json files every 5 minutes, so that seems fine.

My question is why does the index.html file not show any data, only the background information as per the screen shot. The sysinfo log file and CUtils .ini files are also attached

The answer may be quite simple if I am trying to get CUtils to do something it is not designed to do or is there a setting that I have omitted.

Any help would be appreciated.
You do not have the required permissions to view the files attached to this post.
User avatar
HansR
Posts: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

Hi Andy,

Thanks for trying Cutils, I had already seen Jersey on the map, nice spot!, but I see you don't have a public website so support will be kind of guessing but I assume your 'weatherwebsite', even if it is not a public website, is a true website you access by a browser and is both the Webroot and the FTProot. That means that below that directory you need to have the lib and css directories and a CUicons directory (if you wish to use some of the imagery required for forecast and/or station map). The lib contains the runtime system, the css contains the formatting for the gauges. Note: all files which resemble CMX files are or may be modified!

The CUicons directory (including subs) you have to copy by hand from the distribution.
The lib and css directories are filled from the distribution files by CUtils itself when run.

As you have DoUploadFTP=true in the parameter section [FTP site] and the other files upload fine to /home/pi/weatherwebsite, I see the following possibilities (maybe all) as origin of the problem:
  1. You did not create the lib and/or css directory so the files cannot be copied
  2. You did not copy all files from the distribution to the utils
  3. You did not use the argument website (it is the only argument which installs the package to the website)
  4. You don't use FTP at all and missed the subdirs completely. Copy it manually to be sure.
NOTE: website is the only argument to use if you just wish to create the website or the daily data update of it. If you wish to run other modules to operate with the website, you have to take care the parameters DoLibraryIncludes and GeneratejQueryInclude are set to false (these are only true when used independent of the Cutils website).

NOTE: if you want to ask me again, please send a logfile for a website run, this one was of a sysinfo run.

I ran quickly over your parameters and it looks good. It should be good when the lib and css are OK.
Will you open up the site for public access?

Best regards,
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: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

@andy: I suddenly realised that there is no colour at all in the display. That is strange unless you changed all colours to white. The colours are all configurable and are hardcoded in index.html so this I can't explain. How do you read the website? Which browser? Can you elaborate?
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: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

@Andy: I can add that the colours in the inifile do not display at all. Could you display the console (F12=> tab console) and make a screenshot if there is info on it?
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Post Reply