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

all temp. data on the one single gauge?

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
jarom
Posts: 55
Joined: Tue 15 Oct 2013 11:08 pm
Weather Station: WH 1080
Operating System: Raspbian + Raspberry pi 2
Location: Poland
Contact:

all temp. data on the one single gauge?

Post by jarom »

I wonder how to collect all the "temp." data in the one single gauge
I would have only one gauge for every temp info - I mean the dew point, temp inside, temp. outside, humindex etc on the one gauge.
How to do it?
User avatar
mcrossley
Posts: 12695
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: all temp. data on the one single gauge?

Post by mcrossley »

I'd suggest you look at the code for the Dewpoint gauge and extend that to your requirements. It already has quite a few options, you can either change the existing ones, or add new ones, or both. I would expect you to have some skill in JavaScript to achieve this though.
rfsteel
Posts: 1
Joined: Sat 18 Jan 2014 7:03 pm
Weather Station: MWR88
Operating System: Windows Home Server 2011
Location: United Kingdom

Re: all temp. data on the one single gauge?

Post by rfsteel »

Just thought I share the steps to add an Extra Sensor Temp and Humidity value to the existing Temp and Humidity gauges for the non-techies out there.

First edit the /web/realtimegaugesT.txt file to add the extra sensor values;

Image

Use this wiki page to determine the correct tag to add http://wiki.sandaysoft.com/a/Webtags#The_Tags

Now edit the /web/gaugesT.htm to add the new radio button option to the existing Temp and Humidity gauges;

Image

Finally edit the /webfiles/lib/steelseries/scripts/gauges.js to change the existing IF ELSE block to a IF ELSE IF ELSE block;

Image
Image

Now FTP the updated /webfiles/lib/steelseries/scripts/gauges.js to your website and you should now have working gauges;

Image
http://cumulus.rfsteel.cloud.sn/weather/gauges.htm
Post Reply