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

staccermaccer
Posts: 24
Joined: Thu 29 Sep 2011 8:37 am
Weather Station: Davis Vantage Pro II, UV, Solar
Operating System: Win10
Location: Antwerp
Contact:

Re: For New Users

Post by staccermaccer »

Hi All!

Thanks for all the tips i oversaw everything, changed it and that worked...

But i have a dropdown-list now for 2021 but no datasheet...

We keep on searching.

Marc,
Last edited by staccermaccer on Sun 23 May 2021 1:44 pm, edited 2 times in total.
Image
User avatar
HansR
Posts: 5949
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 »

??? shouldn't that be in another thread or did I miss something?
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: For New Users

Post by beteljuice »

Anything he has with a year selector only shows data for this year eg. records, yadr. (or no data - eg. noaa)
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
HansR
Posts: 5949
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 »

@beteljuice: That probably means the file names are not conform what they should be according to the locale or something like that. Anyway cutils fails to get the older data into the list. Remember dayfile can have a similar local issue in the dates/separators.

@Marc: you could send me the data, so i can take a look.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
staccermaccer
Posts: 24
Joined: Thu 29 Sep 2011 8:37 am
Weather Station: Davis Vantage Pro II, UV, Solar
Operating System: Win10
Location: Antwerp
Contact:

Re: For New Users

Post by staccermaccer »

@ Hans

Just send you a PM!

Marc,
Image
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

As I promised you, I have started, with some difficulties, to try to help my compatriot who lives in Mallorca (Balearic Islands).

For now, we have only managed to reach this result:

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

As always, your advice will be greatly appreciated.

Javier
Image
User avatar
HansR
Posts: 5949
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 »

Good morning Javier,

Thanks for assisting Spanish speaking users!
I noticed the effort because he appeared on the map. Unfortunately without the correct URL which you now provide :) but it would be nice to have that corrected.

From what I see CumulusUtils cannot find the css nor the lib directories on the website:

Code: Select all

404 Not Found: GET http://www.estaciosonribes.com/cumulusMX/FWI/css/gauges-ss.css
So I think he needs first to create the directory css and lib in http://www.estaciosonribes.com/cumulusMX/FWI.
Then - as that is apparently the webroot for CumulusUtils - he needs to either upload manually the Cutils output and libraries and css files to that directory and subdirectories or set the UploadDir in section [FTP site] (if there is no other website he might just as well use CumulusMX as the webroot) and have it done automatically.

Then run CumulusUtils again and continue the configuration.
Please send the logfile if any next questions!

Good luck and best regards,
Hans
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
staccermaccer
Posts: 24
Joined: Thu 29 Sep 2011 8:37 am
Weather Station: Davis Vantage Pro II, UV, Solar
Operating System: Win10
Location: Antwerp
Contact:

Re: For New Users

Post by staccermaccer »

HansR wrote: Sun 23 May 2021 2:14 pm @beteljuice: That probably means the file names are not conform what they should be according to the locale or something like that. Anyway cutils fails to get the older data into the list. Remember dayfile can have a similar local issue in the dates/separators.

@Marc: you could send me the data, so i can take a look.
Hi!

My names are conform and they are present in my webroot AND in a folder 'Reports' so for that till now i have no clue what to do!
In the two screenshots you can see what i mean...

Marc,
You do not have the required permissions to view the files attached to this post.
Image
User avatar
HansR
Posts: 5949
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 Marc,
The first line in your noaa.txt is

Code: Select all

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js" type="text/javascript"></script>
which is there because you run

Code: Select all

util/bin/cumulusutils noaa
Normally that is done when you wish to use the noaa page as a module (not from within the Cutils website). But as you are using it from within the CumulusUtils website you must set the following (section [General]):

Code: Select all

GeneratejQueryInclude=false
DoLibraryIncludes=false
Read the Wiki e.g. on Modules or search the Wiki on GeneratejQueryInclude. I will make an additional entry in the article for the Website Generator as these two parameters are missed by almost every starter.

Pressing F12 using the tab: console, gives you a lot of information about what is going on btw.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
raiguer
Posts: 1
Joined: Sat 21 Mar 2015 7:18 pm
Weather Station: wWRS 200
Operating System: windows 7
Location: Alaro Mallorca

Re: For New Users

Post by raiguer »

Good morning Hans
I am a new user "raiguer" and I do not upload the data to the web. Might you help me. thank you. Attached utils.log file
You do not have the required permissions to view the files attached to this post.
User avatar
HansR
Posts: 5949
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 »

@raiguer: Hi raiguer, welcome, thanks for using CumulusUtils!

You did make the directory CumulusMX/FWI, that is good because all files are uploaded there.
But the js files need to uploaded to the lib directory and the css files to the css directory. This does not work.

Do they exist ( CumulusMX/FWI/lib and CumulusMX/FWI/css)?

If not: make them and try again.
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 »

Hello Hans

I am currently trying to add web cam using user defined menu placing its snapshots in the report's field.

While trying to add user menu to the web site generated by CumulusUtils I found following problems:
* file transferred utils/CUsermenu-example.txt => CUsermenu-example.txt instead of CUsermenu.txt => CUsermenu.txt
* file CUserAbout.txt is not transferred but searched
* file CUlicense.txt not transferred and not tested !?!

Other useful staff will be a function like LoadUtilsReport() but loading image in the report's field.
If you have no time or interest to add such a function could you, please, give me some suggestions about what can I do.

I am using latest CumulusUtils Version 5.4.0.
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 »

Hi Hans

I find following solution to display webcam snapshot in the report's field:
* get webcam snapshot in the file webcam.jpg
* create file webcam.txt with

Code: Select all

<img src="https://egpr.radevs.net/cmxu/webcam.jpg" width="100%">
* transfer the file webcam.txt via sftp via CumulusMX -> it is better to do it via CumulusUtils (only once) !?!
* add to CUsermenu.txt

Code: Select all

<span class='nav-link' onclick="LoadUtilsReport('webcam.txt');">Web Cam</span>
Solution will be advanced with code to refresh webcam snapshot periodically.

Unfortunately, the problem with CUsermenu.txt is not solved.
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: 5949
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 26 May 2021 6:44 am While trying to add user menu to the web site generated by CumulusUtils I found following problems:
* file transferred utils/CUsermenu-example.txt => CUsermenu-example.txt instead of CUsermenu.txt => CUsermenu.txt
All txt files in the distribution (which you placed in your utils directory) are transferred to the website without modification when NOT thrifty!. The menu is meant as an example for you to edit and rename to CUsermenu.txt
chradev wrote: Wed 26 May 2021 6:44 am * file CUserAbout.txt is not transferred but searched
This I do not understand, it should be transferred as well. What do you mean by searched? The text (HTML) in this file will be displayed by the CumulusUtils website literally (interpreted HTML). I do note an inconsitency in filenaming though. I will change the name in the distribution to CUserAbout-example.txt, consistent with the menu example. You need to edit and change its name to CUserAbout.txt. If you do that in your utils directory it will be transferred when NOT thrifty! You can also edit the file "in situ" on your website. It is just what you preference is.
chradev wrote: Wed 26 May 2021 6:44 am * file CUlicense.txt not transferred and not tested !?!
It is transferred as well but it is an old version and should no longer be part of the distribution. I will remove it. The actual license is hardcoded in CumulusUtils and appears in the website. It can not be changed. For the modular use, I will add a license file to the distribution which will not upload.
chradev wrote: Wed 26 May 2021 6:44 am Other useful staff will be a function like LoadUtilsReport() but loading image in the report's field.
If you have no time or interest to add such a function could you, please, give me some suggestions about what can I do.
LoadUtilsReport() is available to the user! These are the techniques to load information in the report view:
  1. Code: Select all

    <span class='nav-link' onclick="LoadUtilsReport('Windy.txt');">Windy</span>
    
    and the Windy.txt than contains:

    Code: Select all

    <iframe src="https://embed.windy.com/embed2.html?<your Windy parameters>" width="100%" frameborder="0" style="border:0;height:75vh;"></iframe>
    Note the iframe parameters which are necessary to keep the site responsive and not have the URL display out of the main site window limits.
  2. Use direct call to LoadUtilsReport with a txt file containing HTML/Javascript. That code will be executed and show you the intended info. Example:

    Code: Select all

        <span class='nav-link' onclick="LoadUtilsReport('AllTempChart.txt');">All Temperature</span>
  3. Use a direct link with the <a href> tag:

    Code: Select all

        <a class='nav-link' href="https://meteo-wagenborgen.nl/wp/" target="_blank">The Blog</a>
  4. NOTE: only .txt files from your own domain can be loaded in the ReportView.
The Wiki is here.
chradev wrote: Wed 26 May 2021 6:44 am I am currently trying to add web cam using user defined menu placing its snapshots in the report's field.
NOTE: from the other sites you can easily check the techniques they use by using their URL and adding CUsermenu.txt but maybe it would be nicer to contact them. Or ask it here on the forum (separate thread please you are no longer a new user :) ). Not all users are on the map because they use Win7. Several users use a webcam. I don't so I can't help you directly. They probably can. @PaulMy is always very helpful.
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: 5949
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,

You're replying faster than me ;)
chradev wrote: Wed 26 May 2021 7:57 am I find following solution to display webcam snapshot in the report's field:
* get webcam snapshot in the file webcam.jpg
* create file webcam.txt with

Code: Select all

<img src="https://egpr.radevs.net/cmxu/webcam.jpg" width="100%">
* transfer the file webcam.txt via sftp via CumulusMX -> it is better to do it via CumulusUtils (only once) !?!
* add to CUsermenu.txt

Code: Select all

<span class='nav-link' onclick="LoadUtilsReport('webcam.txt');">Web Cam</span>
Solution will be advanced with code to refresh webcam snapshot periodically.
Looks OK. Look at other users as well. I am not sure it is possible to refresh the ReportView automatically. You might do that using a timer in javascript and do that in the webcam report. Makes it more complex though. And yes, transfer only once. Probably even manual. The file webcam.txt won't change once the system stands.
chradev wrote: Wed 26 May 2021 7:57 am Unfortunately, the problem with CUsermenu.txt is not solved.
Does my answer help?
Hans

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