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

Yet more gauges

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

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

Re: Yet more gauges

Post by mcrossley »

Another update...

Changes:
- new pointer style TYPE9
- tick label format control
- first cut of a linear gauge type (still very incomplete)
- added optional popup data (my invention - not convinced!)
JimDantin
Posts: 108
Joined: Fri 10 Jun 2011 12:40 pm
Weather Station: WMR-968
Operating System: Windows XP SP3
Location: Prospect, KY, USA

Re: Yet more gauges

Post by JimDantin »

I really like the gauges -- are you packaging up a ZIP for sharing?
Thanks
Jim - The Timber Ridge Weather Station, Prospect, KY
http://dantinconsulting.com/
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Yet more gauges

Post by mcrossley »

Probably, but it is a while off being ready. The linear gauges are far from fully functional, and what I have put up is just a 'play' page so that I (and other folks) can play around with the various options to see what is possible. The 'orrible code behind it is growing organically by the day!
JimDantin
Posts: 108
Joined: Fri 10 Jun 2011 12:40 pm
Weather Station: WMR-968
Operating System: Windows XP SP3
Location: Prospect, KY, USA

Re: Yet more gauges

Post by JimDantin »

Code may be ugly, but the results are VERY nice. I appreciate your development efforts!

I can't run PHP on my website, so JS like this is really nice.
Thanks
Jim - The Timber Ridge Weather Station, Prospect, KY
http://dantinconsulting.com/
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Yet more gauges

Post by mcrossley »

Thanks Jim, but the gauge library isn't mine - I'm just helping a bit. Oh, and it's raining now, so give the linear rain gauge a whirl (untested)
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Yet more gauges

Post by gemini06720 »

Mark, it has been a while since I last posted a message in the forums - my Windows 7 crashed due to some needed system files getting corrupted after the download of an update of one of my registered software - it appears that a virus was 'accidentally' included into the update... :roll:

Just had a look at the gauges - very neat looking, indeed! As 'hinted' by Jim, it would be really, really nice if eventually in a future not too far a package containing all you hard work was released... ;) ;)

There was some mention of a more inclusive 'realtime+' type of file - I have been producing such a file (same format as the 'realtime.txt' file) containing a large number of the tags used by Cumulus - well, I am using only 206 tags to produce a 2,191 bytes file-size almost real-time 'realtimeextra.txt' file.
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Yet more gauges

Post by mcrossley »

The gauge code is coming on, the author has a demo page for the javascript version too:
http://idisk.mac.com/han.solo-Public/St ... eries.html
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Yet more gauges

Post by mcrossley »

Author has now added separate LCD display components, I'm just using them for the status and timer for now. I may look at using them instead on the 'built-in' LCD panels in the linear gauges as they are a bit small.
JimDantin
Posts: 108
Joined: Fri 10 Jun 2011 12:40 pm
Weather Station: WMR-968
Operating System: Windows XP SP3
Location: Prospect, KY, USA

Re: Yet more gauges

Post by JimDantin »

Is the package open source, shareware, commercial, or what?
Thanks
Jim - The Timber Ridge Weather Station, Prospect, KY
http://dantinconsulting.com/
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Yet more gauges

Post by mcrossley »

Open source, well the source is freely available (as with any JavaScript) but I think the author retains some rights.

The author is Gerrit Grunwald (http://harmoniccode.blogspot.com/) he developed them as Java components and is gradually porting them to HTML5 Canvas and JavaScript - I'm just helping him with some testing, suggestions, nags etc! The Java gauges are currently much more varied and configurable than the JavaScript versions.

He is posting the updates to the script on his blog every so often, I'm getting interim builds, almost daily! I have added some amendments into Gerrits library and have to re-apply these to each release to keep the extra functionality I need - this is mainly to drive changes on the demo page and some will not be required for production use.

Edit2: If you want to keep up with the changes, follow Gerrit on twitter, he tweets about progress.
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Yet more gauges

Post by mcrossley »

Todays updates (though you may have already seen some of them):
  • Added a 'canvas' status LED object for Remote Sensor Status
  • Added single line LCD panels for status and timer
  • Added multi line LCD panel to wind compass (shows current and previous values)
  • Change status panel to display the forecast whilst waiting for the next update
  • Some tweaks and tune ups in the gauge library
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Yet more gauges

Post by mcrossley »

And now added 'digital' fonts to the LCD displays. (optional of course)

http://bitly.com/lUAkfI
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: Yet more gauges

Post by steve »

These are looking very good. They work fine in FF5.
Steve
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Yet more gauges

Post by mcrossley »

The LCD digital font was wrong before, I have changed it from Bold to UltraBold and it looks a bit better. I may have a play with a LCD 'dot matrix' font and see what that looks like.

Its great that we can now control the display of fonts in browsers rather than rely on what the end user has installed. Though I did notice that Chrome on my Windows XP box doesn't monospace the font quite right for some reason when exactly the same version of Chrome on Windows 7 does :bash:
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Yet more gauges

Post by mcrossley »

steve wrote:These are looking very good. They work fine in FF5.
Thanks Steve. Maybe not all the features would be used on a 'real page' but I want to demo what is possible.

I did have a thought that maybe people could play with the options and come up with pleasing combinations that they post, what is there now is just my stab at it. Obviously you cannot change the background 'sector' and scale 'area' colours on my page, but they are fully configurable. The linear gauges will also draw in a horizontal position too.
Post Reply