Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.8.4 (build 3094) - 14 September 2020 (please see announcement regarding releases since 3.5.0)
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 the NOAA report and Snow Index drop-down menus to 2030)

Use this Wiki link to Download the Software (Cumulus MX / Cumulus 1 and other related items).

Original release topic

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

User avatar
HansR
Posts: 1374
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
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.
https://meteo-wagenborgen.nl / Cumulus 3.6.8 (build: 3084)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l (before: 4.19.118)
Mono JIT compiler version 6.10.0.104 (before: 6.8.0.123)

User avatar
meteosangonera
Posts: 43
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: 1374
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
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?
https://meteo-wagenborgen.nl / Cumulus 3.6.8 (build: 3084)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l (before: 4.19.118)
Mono JIT compiler version 6.10.0.104 (before: 6.8.0.123)

User avatar
HansR
Posts: 1374
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
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.
https://meteo-wagenborgen.nl / Cumulus 3.6.8 (build: 3084)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l (before: 4.19.118)
Mono JIT compiler version 6.10.0.104 (before: 6.8.0.123)

User avatar
laulau
Posts: 640
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: 1374
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
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 ;) )
https://meteo-wagenborgen.nl / Cumulus 3.6.8 (build: 3084)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l (before: 4.19.118)
Mono JIT compiler version 6.10.0.104 (before: 6.8.0.123)

User avatar
HansR
Posts: 1374
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
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.
https://meteo-wagenborgen.nl / Cumulus 3.6.8 (build: 3084)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l (before: 4.19.118)
Mono JIT compiler version 6.10.0.104 (before: 6.8.0.123)

User avatar
meteosangonera
Posts: 43
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: 1374
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
Location: Wagenborgen (NL)
Contact:

Re: Cumulusutils

Post by HansR »

:D
https://meteo-wagenborgen.nl / Cumulus 3.6.8 (build: 3084)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l (before: 4.19.118)
Mono JIT compiler version 6.10.0.104 (before: 6.8.0.123)

User avatar
laulau
Posts: 640
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: 640
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: 1374
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
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.
https://meteo-wagenborgen.nl / Cumulus 3.6.8 (build: 3084)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l (before: 4.19.118)
Mono JIT compiler version 6.10.0.104 (before: 6.8.0.123)

User avatar
PaulMy
Posts: 2218
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis Vantage Pro 2+ w/Envoy USB
Operating System: Windows-8
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

User avatar
HansR
Posts: 1374
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
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.
https://meteo-wagenborgen.nl / Cumulus 3.6.8 (build: 3084)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l (before: 4.19.118)
Mono JIT compiler version 6.10.0.104 (before: 6.8.0.123)

User avatar
laulau
Posts: 640
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