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

CumulusMX and SteelSeries Gauges

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
water01
Posts: 3246
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

CumulusMX and SteelSeries Gauges

Post by water01 »

If you are using Cumulus MX the old trends pictures e.g presssm.png are no longer uploaded so the mouseover on a gauge if it works (depends if you have uploaded any using Cumulus 1) is showing out of date data.

Do you intend to change this to use the json files ore would it be better to just not do the current functionality?
David
Image
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX and SteelSeries Gauges

Post by mcrossley »

For now you could just disable the graphs in the popups.

Code: Select all

            showPopupGraphs   : false,                   //If pop-up data is displayed, show the graphs?
I guess we may need to go to server side generated graphs - I already use one on my graphs page to show a cloud base graph.
water01
Posts: 3246
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: CumulusMX and SteelSeries Gauges

Post by water01 »

Missed this post, pop up graphs disabled!! Would be nice to have Steve's json files as they are being uploaded anyway. I have them running in php here http://www.dmjsystems.co.uk/weather/trends.php
David
Image
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX and SteelSeries Gauges

Post by mcrossley »

It would be a huge overhead to display client side generated graphs in the gauge pop-ups. If you want to keep them I'd go with some server side generated images, you could do that from the MX JSON files and cache the resultant graph images.

That would be a nice little project for someone 8-) , use JPGraphs (or similar) to generate server side graphs. There are already weather graph packages out there that I bet could be fairly easily adapted.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CumulusMX and SteelSeries Gauges

Post by steve »

Cumulus could generate graph images, if a suitable package was available. There is actually a .net version of the package that Cumulus 1 uses (costs $800), but I always thought the Cumulus 1 graphs are a bit 'old fashioned'. And it seemed to me that uploading images frequently using FTP is such a waste of bandwidth?
Steve
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX and SteelSeries Gauges

Post by mcrossley »

steve wrote:Cumulus could generate graph images, if a suitable package was available. There is actually a .net version of the package that Cumulus 1 uses (costs $800),
Ouch!
steve wrote:but I always thought the Cumulus 1 graphs are a bit 'old fashioned'. And it seemed to me that uploading images frequently using FTP is such a waste of bandwidth?
Agreed, I'd prefer to generate them server side when required (and then cache for while), but that does need a PHP enabled web server, leaving people with static only servers* out in the cold.

*Are there still such things?
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CumulusMX and SteelSeries Gauges

Post by steve »

mcrossley wrote:Agreed, I'd prefer to generate them server side when required (and then cache for while), but that does need a PHP enabled web server,
I'm not awake yet; I was confusing server side on the web server (which is obviously what you mean) with server side as in the Cumulus MX engine.
leaving people with static only servers* out in the cold.

*Are there still such things?
I suspect there are a few (free ones?), but it must be quite rare.
Steve
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX and SteelSeries Gauges

Post by mcrossley »

steve wrote:
mcrossley wrote:Agreed, I'd prefer to generate them server side when required (and then cache for while), but that does need a PHP enabled web server,
I'm not awake yet; I was confusing server side on the web server (which is obviously what you mean) with server side as in the Cumulus MX engine.
:groan: Three tier architectures! How about I'm just clearer and say web server when I mean web server, MX server when I mean MX server :bash:
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CumulusMX and SteelSeries Gauges

Post by steve »

I think that what you said made perfect sense but I've only had one coffee.
Steve
Post Reply