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

Original release topic

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

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

Re: Cumulusutils

Post by HansR »

@meteosangonera : No, that does not seem normal to me :(. I assume you do NOT use the website generator?
There was a problem with the map which I fixed this morning, I assume that was the cause. You could try again. I can generate normally.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
meteosangonera
Posts: 52
Joined: Thu 07 Jun 2018 2:17 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Contact:

Re: Cumulusutils

Post by meteosangonera »

HansR wrote: Mon 13 Apr 2020 7:25 pm @meteosangonera : No, that does not seem normal to me :(. I assume you do NOT use the website generator?
There was a problem with the map which I fixed this morning, I assume that was the cause. You could try again. I can generate normally.
No, I don't use the website generator.
I've re-generated all the files and everything's the same.

Is it possible that I have to upload the file HighchartsDefaults.js or some other file to my server?
User avatar
HansR
Posts: 5874
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Cumulusutils

Post by HansR »

@meteosangonera: no, if you only use some modules, there is nothing to upload. You only get the txt-output.
The HighchartsDefaults.js are really only for the website.

Could you send me the output and the logfile?
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: 5874
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Cumulusutils

Post by HansR »

v3.0.5 is online

This is a fix to version 3.0.4 in relation to the website generator.
[Edit:] and is tested OK.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Cumulusutils

Post by laulau »

Hi,
Ive update to V305 but graphs don't work anymore :(
here : http://laurentmey.fr/davis/utils/index.html
Laurent

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

Re: Cumulusutils

Post by HansR »

@meteosangonera:
@laulau:
Yes, there is a problem with the interaction of the Highcharts / jQuery includes, as the multiple possibilities increase with CumulusUtils complexity. :? :groan:
I am preparing the solution and the explanation (understanding is always useful).
I expect this around noon.

(fortunately, updating CumulusUtils is a piece of cake ;) )
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: 5874
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Cumulusutils

Post by HansR »

v 3.0.6 is online

I explain in the README:

Higcharts, jQuery and other required libraries

CumulusUtils uses jQuery, Highcharts and Leaflet libraries for the reports and control of selections. These libraries produce errors when included more than once.
When generating the websites, the libraries are included at the main control level (INDEX.HTML).

When using CumulusUtils as a module generator – so only for e.g. pwsFWI, charts or whichever the user finds useful – there is no high control level as that is created by the user. Therefore, the libraries are included in the reports when generated as a module.

For jQuery an exception is made because it is a very general purpose library and the user may already use it for his own coding. Therefore the jQuery is separately controlled by the ini file parameter GeneratejQueryInclude in the section [General].

Please, let me know how you get on.

NOTE: if users find this a difficult solution because they work other ways, please contact me and we will try to find a solution.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
meteosangonera
Posts: 52
Joined: Thu 07 Jun 2018 2:17 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Contact:

Re: Cumulusutils

Post by meteosangonera »

HansR wrote: Tue 14 Apr 2020 9:38 am v 3.0.6 is online

I explain in the README:

Higcharts, jQuery and other required libraries

CumulusUtils uses jQuery, Highcharts and Leaflet libraries for the reports and control of selections. These libraries produce errors when included more than once.
When generating the websites, the libraries are included at the main control level (INDEX.HTML).

When using CumulusUtils as a module generator – so only for e.g. pwsFWI, charts or whichever the user finds useful – there is no high control level as that is created by the user. Therefore, the libraries are included in the reports when generated as a module.

For jQuery an exception is made because it is a very general purpose library and the user may already use it for his own coding. Therefore the jQuery is separately controlled by the ini file parameter GeneratejQueryInclude in the section [General].

Please, let me know how you get on.

NOTE: if users find this a difficult solution because they work other ways, please contact me and we will try to find a solution.

Now everything works fine, (at least the modules I use).

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

Re: Cumulusutils

Post by HansR »

:D
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Cumulusutils

Post by laulau »

Hi Hans,
Last version on line but graphs not working :groan:
It looks like the json files are not at the expected place (error 404 in console with F12)!
There are at the same level than realtime.txt ant relatimegauges.txt that are found .
this

Code: Select all

CumulusRealTimeLocation=../
is the cumulusutils entry.
What have i missed ?
Thanks
Laurent

Image
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Cumulusutils

Post by laulau »

Code: Select all

[Prediction]
predictionURL=
Is this a PREDICTION FORECAST OPTION ? ;) :lol:
Laurent

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

Re: Cumulusutils

Post by HansR »

Bonjour Laurent,

If I look at the console I see the following:
200414 LaurentMey issue.png
This means, that the graphconfig.json does not get it's path which should be identical to to the realtime files.
YAB I guess :cry: :bash: This appears to be a tough part.

I'll get back to you.
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
User avatar
PaulMy
Posts: 3777
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 »

Thanks Hans,
v3.0.6 here and everything seems to work fine. www.komokaweather.com/cumulusutils

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

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

Re: Cumulusutils

Post by HansR »

@Laurent: This 3.0.7 should do the trick
@PaulMy: Thanks, good to hear ;)

When a website generator version survives more than 2 days, I'll open a bottle of wine and disappear from the forum for a week :?

[Edit:] The deep cause of all this confusion is, that I rewrote cumuluscharts, took out a bit of code and put it in a separate function because my technique does not call the document ready function. I minimised everything (made it pretty unreadable), put it in the generator string and put the configuration code in that part. It's the minimisation which kills here. :ugeek:

We do want to do things, not because they are easy, but because they are hard.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Cumulusutils

Post by laulau »

It works now :clap: :clap:
I think I will save this version somewhere, we will never know! ;) :lol:
Laurent

Image
Post Reply