Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

trendsT.htm

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

trendsT.htm

Post by water01 »

On looking at the new trendsT.htm so I can replace my old php based trends program I see that it requires recentGraphs.js to work with highcharts, but I cannot find recentGraphs.js in the release anywhere?
David
Image
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: trendsT.htm

Post by steve »

I put some old files in the website part of the distribution - I'll fix it in the next build.
Steve
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: trendsT.htm

Post by nitrx »

I've it running under windows 10 in uk mode so I've no problems with the commadecimal,

Everything is fine by now only the trendgraphs are looking weird http://www.apeldoornmeteo.nl/cumulus/trends.htm they are not the same as on Steve's page *the seems to be a shadow ?

(BTW Fineoffset with solarsensor works in build 3002 cannot test for sun now its dark ;) ) Everything is looking promising good job Steve .
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: trendsT.htm

Post by steve »

nitrx wrote:Everything is fine by now only the trendgraphs are looking weird http://www.apeldoornmeteo.nl/cumulus/trends.htm they are not the same as on Steve's page *the seems to be a shadow ?
Have you uploaded all of the files from the webfiles folder? There should be a CSS file here - http://www.apeldoornmeteo.nl/cumulus/css/nv.d3.css - but your web server is returning an html file instead.
Steve
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: trendsT.htm

Post by nitrx »

steve wrote:
nitrx wrote:Everything is fine by now only the trendgraphs are looking weird http://www.apeldoornmeteo.nl/cumulus/trends.htm they are not the same as on Steve's page *the seems to be a shadow ?
Have you uploaded all of the files from the webfiles folder? There should be a CSS file here - http://www.apeldoornmeteo.nl/cumulus/css/nv.d3.css - but your web server is returning an html file instead.
There is no nv.d3.css in the css folder (empty folder..) I found it in the webfiles folder now , and uploaded it looks fine now thanks.
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: trendsT.htm

Post by water01 »

OK I have tried to PHPise the trends.htm file at http://www.dmjsystems.co.uk/weather/MXtrends.php.

It would appear that my problem is with

Code: Select all

<svg style="height: 500px;"></svg>  
and on looking in the developer console I am getting a 404 on /weather/tempdatad3.json which I presume is the problem.

Steve understand if you would wish to ignore this as you have enough on your plate without idiots trying to get your code running in an unsupported environment.
David
Image
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: trendsT.htm

Post by steve »

water01 wrote:I am getting a 404 on /weather/tempdatad3.json which I presume is the problem.
So where is that file actually? MX should be putting it in the same place as the other files, and that's where the javascript expects to find it. You could edit the javascript (js/cumuluscharts.js) to change the path.
Steve
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: trendsT.htm

Post by water01 »

As you replied I suddenly thought "so where does it get the data as these are not images anymore"!!

Are you saying that MX uploads tempdatad3.json to the website as part of the standard files as I have that switched off as I do not use the html code? In Cumulus 1 I just upload the image files and not the standard htm files.
David
Image
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: trendsT.htm

Post by steve »

Yes, at the moment there is no way to have the graph data files uploaded without the html files.
Steve
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: trendsT.htm

Post by water01 »

Right fixed it by uploading standard files so success a PHP trends page.

http://www.dmjsystems.co.uk/weather/MXtrends.php

Now to put it live!!

OOOO I am liking MX sooooooooooooo much!!!
David
Image
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: trendsT.htm

Post by water01 »

Right now live at http://www.dmjsystems.co.uk/weather/trends.php

It might be worth putting the details of the json files being loaded as part of the standard web file uploads as I am sure that there are other PHP users who in Cumulus 1 only uploaded the standard images in order to save bandwidth.

And it would be nice at a later date if there was a "Upload trends json files only" option. :roll:
David
Image
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: trendsT.htm

Post by water01 »

Interesting that the lines on the web chart are thinner than the lines on the Dashboard charts. Is that a setting in the charting tool?
David
Image
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: trendsT.htm

Post by steve »

Yes, it's done with CSS. If you look in charts.html in the interface, you'll see:

.nvd3 g.nv-groups path.nv-line {
stroke-width: 3px;
}

I think I did that after I changed the background to blue, the lines didn't seem so clear or something.
Steve
User avatar
PaulMy
Posts: 4355
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: trendsT.htm

Post by PaulMy »

Sorry to be a little slow on understanding the new upload for the trends/charts...
I have uploaded the full new webfiles folder as is to /weather/

This may not be correct as trends is not displaying any charts just the template's text. I did that full
\webfiles\ folder upload as some folders and files in this new folder already existed on my webserver
and didn't want to over write them. Is there a mention somewhere in this CumulusMX forum on what folders and files should be uploaded and to where?

Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: trendsT.htm

Post by steve »

It's the same as with Cumulus 1. You upload the contents of webfiles to wherever it is that you want your Cumulus web site to be - i.e. to the directory that you specify in the web settings in Cumulus.
Steve
Locked