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

Server Generated Graphs for MX

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Server Generated Graphs for MX

Post by mcrossley »

Yep, thanks David, I'll update the zip - again :bash: It looks like that is the last one?
water01
Posts: 3215
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Server Generated Graphs for MX

Post by water01 »

I think so. I have got all the others working once I got my head around the .htaccess and what it did and more importantly where it should be!!

It didn't help that I set up a directory called jgraph rather than jpgraph!!!!! Couldn't understand why it couldn't find the code, my eyes just did not see the missing p. Sat there for nearly 20 minutes trying to figure out why it couldn't find the includes!!!!!!
David
Image
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Server Generated Graphs for MX

Post by mcrossley »

Hi David, your gauges page doesn't work for me, I think the version of JQuery (1.3.2) you have included in the header is too old - it does not support the .on() functionality. I use version 1.11.1 by default with the gauge page.
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Server Generated Graphs for MX

Post by mcrossley »

I just looked up the JQuery release history, 1.3.2 was released February 20th, 2009 :o
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Server Generated Graphs for MX

Post by steve »

mcrossley wrote:It obviously does work :) Steve tested it for me and implemented the graphs on his web site too.
And it's obviously dead easy to set up because even I managed it. I didn't have the PHP compatibility issues to contend with, though.
Steve
water01
Posts: 3215
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Server Generated Graphs for MX

Post by water01 »

Hi David, your gauges page doesn't work for me, I think the version of JQuery (1.3.2) you have included in the header is too old - it does not support the .on() functionality. I use version 1.11.1 by default with the gauge page.
Mark did you mean me as I can see gauges fine at http://www.dmjsystems.co.uk/weather/gauges-ss.php with the graphs now.
David
Image
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Server Generated Graphs for MX

Post by mcrossley »

Ah, that page does work! I followed the link from your home page which took me to.. http://www.dmjsystems.co.uk/weather/gauges-ss.htm
which doesn't.
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Server Generated Graphs for MX

Post by mcrossley »

If you follow the link in your signature, you get to index.htm rather than index.php

So http://www.dmjsystems.co.uk/weather/ defaults to the index.htm page. Is that intentional?

If not, you need to either change your Apache config, or edit/add a .htaccess file in your root weather folder to make index.php the default.
water01
Posts: 3215
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Server Generated Graphs for MX

Post by water01 »

Whoops I must have overwritten my main .htaccess file while trying to get these to work.

Ho Hum!!
David
Image
water01
Posts: 3215
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Server Generated Graphs for MX

Post by water01 »

Fixed now. Thank god for nightly backups!!

I really must clean up my server and get rid of all the .htm files as it is now a total PHP site.

Using MX though I am going to get some .htm files uploaded though for the moment as the option to just upload .json files and not the .htm files does not yet exist.

Let Steve complete the Beta first as it is not that important.
David
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: Server Generated Graphs for MX

Post by laulau »

Hi Mark,
I guess it's possible to get the data to feed jpgraphs with realtimeLogSql.php script ?
Laurent

Image
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Server Generated Graphs for MX

Post by mcrossley »

laulau wrote:Hi Mark,
I guess it's possible to get the data to feed jpgraphs with realtimeLogSql.php script ?
Guess how I do mine :lol: I don't have MX uploading the json files, just my tag files, so yes I just query my real time MySQL table.
n9mfk
Posts: 845
Joined: Sun 10 May 2009 8:52 pm
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Location: Springfield, IL

Re: Server Generated Graphs for MX

Post by n9mfk »

Hi Mark so what the trick if you do not went to use the jnos files
thanks beau
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Server Generated Graphs for MX

Post by steve »

water01 wrote:Using MX though I am going to get some .htm files uploaded though for the moment as the option to just upload .json files and not the .htm files does not yet exist.

Let Steve complete the Beta first as it is not that important.
That's a fairly easy and useful change, though, so I'll look at doing that.
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: Server Generated Graphs for MX

Post by nitrx »

Hi Mark,
where do I upload your php files and the jpgrah library ?

I've cumulusMX running in apeldoornmeteo.nl/cumulus

oploaded your php files in this dir (apeldoornmeteo.nl/cumulus) and made a dir apeldoornmeteo.nl/cumulus/jpgraph with the jpgraph library in it and also made the cache folder in the last one but nothing happens ergo no files in the images dir are created.
Post Reply