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 4017) - 17 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

IS THERE AN ADDON FOR UV GAUGE IN CUMULUS??

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

User avatar
hectic
Posts: 61
Joined: Fri 02 Dec 2011 10:54 pm
Weather Station: WH-3080
Operating System: windows vista
Location: Taunton somerset United Kingdom
Contact:

IS THERE AN ADDON FOR UV GAUGE IN CUMULUS??

Post by hectic »

I dont know if this has been covered before but is there any way of adding a gauge for uv and solar in the gauges template on cumulus?
Thanks
User avatar
SJG1976
Posts: 365
Joined: Wed 21 Dec 2011 11:04 am
Weather Station: Davis WLL, with Airlink
Operating System: Raspberry Pi3 MX on USB Drive
Location: Glemsford, Suffolk
Contact:

Re: IS THERE AN ADDON FOR UV GAUGE IN CUMULUS??

Post by SJG1976 »

I would also like that function as well if possible, not that where I am it would ever get much above 1 at the moment.

Would also like to have the steel guges to show these as well, but I'm no programmer!
duke

Re: IS THERE AN ADDON FOR UV GAUGE IN CUMULUS??

Post by duke »

I would also like that function as well if possible, not that where I am it would ever get much above 1 at the moment.

Would also like to have the steel guges to show these as well, but I'm no programmer!
+1

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

Re: IS THERE AN ADDON FOR UV GAUGE IN CUMULUS??

Post by mcrossley »

SJG1976 wrote:Would also like to have the steel guges to show these as well, but I'm no programmer!
A RadialBargraph, or LinearBargraph would probably be a good fit for a UV gauge, with coloured sections representing the levels of 'caution'.
User avatar
mcrossley
Posts: 12685
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: IS THERE AN ADDON FOR UV GAUGE IN CUMULUS??

Post by mcrossley »

I was rather hoping that people would come up with more alternative steelseries gauge layouts that they shared with everyone by now :lol: What I supply is really just a template that I intended to get people going, however it seems to be slow in happening. With no UV myself it's going to have to low down my priority list at the mo. :(
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: IS THERE AN ADDON FOR UV GAUGE IN CUMULUS??

Post by steve »

Regarding the gauges supplied with Cumulus, I don't know whether it's possible to create gauges other than the ones supplied. You could feed UV data into a gauge using a web tag, but I don't know if you could change the gauge to display it correctly - you might be able to take a humidity gauge, for example, and change the scale.
Steve
User avatar
mcrossley
Posts: 12685
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: IS THERE AN ADDON FOR UV GAUGE IN CUMULUS??

Post by mcrossley »

You can Steve, that is how I started out down the gauge fetish route - by modifying the Standard gauges. I did a few iterations before I decided I wasn't a good enough graphic designer. I think some of them are still hidden away on my website. I'll take a look when I get a 'puter fired up...
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: IS THERE AN ADDON FOR UV GAUGE IN CUMULUS??

Post by gemini06720 »

mcrossley wrote:I was rather hoping that people would come up with more alternative steelseries gauge layouts that they shared with everyone by now...(
Mark, over the past 3-4 days, I must have spent some 10 hours trying to add a linear gauge to my modified gauges scripts, a gauge that could eventually be used for either solar or UV values. Unfortunately, all I was able to accomplish was to stop the script from updating - and certainly not new linear gauge... :| ...I really really hate JavaScript... :evil:
User avatar
mcrossley
Posts: 12685
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: IS THERE AN ADDON FOR UV GAUGE IN CUMULUS??

Post by mcrossley »

gemini06720 wrote: ...I really really hate JavaScript... :evil:
Best language since Fortran! :lol: Seriously it is sooo flexible I love it.

How about something like this boys and girls?
UV-1.png
Fairly simple to do, I could put it out as version 1.4.0 sometime soon if you like?
UV-2.png
You do not have the required permissions to view the files attached to this post.
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: IS THERE AN ADDON FOR UV GAUGE IN CUMULUS??

Post by gemini06720 »

Mark, a 500*150 'LinearBargraph' with a 3-colour section also looks quite nice... :)
Screenshot - 14_01_2012 , 07_15_36.jpg
I was able to create such a gauge within the templates supplied with the latest release of the 'HanSolo/SteelSeries-Canvas' package. But I could not get the code to work within the 'gauges.js' script... :evil:
User avatar
mcrossley
Posts: 12685
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: IS THERE AN ADDON FOR UV GAUGE IN CUMULUS??

Post by mcrossley »

Looks good Ray. For the UV Index I've adopted the standard colours for the various UV Index levels in the above example.

What I am going to do is push out v1.4.0 with just an additional UV gauge as that is the most 'useful' item to most people I think and then maybe a light level later - if there is demand.

Meantime I'll ask for translation volunteers on the steelseries thread...
User avatar
SJG1976
Posts: 365
Joined: Wed 21 Dec 2011 11:04 am
Weather Station: Davis WLL, with Airlink
Operating System: Raspberry Pi3 MX on USB Drive
Location: Glemsford, Suffolk
Contact:

Re: IS THERE AN ADDON FOR UV GAUGE IN CUMULUS??

Post by SJG1976 »

Hi Mark,

That UV one looks great..

I've had a go at changing the gauges myself (not knowing what I'm doing or what files need changing)
All I managed to do was to stop everything working.

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

Re: IS THERE AN ADDON FOR UV GAUGE IN CUMULUS??

Post by mcrossley »

What is the upper limit for the UV index? I remember a thread about it, but the forum search will not let you search on "UV" :(
User avatar
hectic
Posts: 61
Joined: Fri 02 Dec 2011 10:54 pm
Weather Station: WH-3080
Operating System: windows vista
Location: Taunton somerset United Kingdom
Contact:

Re: IS THERE AN ADDON FOR UV GAUGE IN CUMULUS??

Post by hectic »

I like the steel series gauges they look very nice but how do you get them and how do you add them to cumulus?
Did you just make those UV gauge examples today?
Post Reply