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
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
Editing the Dashboard.js file for different guage look.
Moderator: daj
-
captzero
- Posts: 363
- Joined: Wed 03 Mar 2010 10:20 am
- Weather Station: Vantage Pro2 w/ daytime FARS
- Operating System: Windows 10
- Location: Brisbane, Australia
- Contact:
Re: Editing the Dashboard.js file for different guage look.
Mark, does the outdoor temp graph go beyond 40C? It can get pretty warm in some parts of Aus for days on end. I suppose the box over could just read something like "IT'S BLOODY HOT"
Dan
http://www.brisbaneliveweather.com
A man with a thermometer always knows the temperature. A man with two thermometers, not so sure.
http://www.brisbaneliveweather.com
A man with a thermometer always knows the temperature. A man with two thermometers, not so sure.
- 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: Editing the Dashboard.js file for different guage look.
Yes, there are three possible gauge images covering the ranges: -50/+10, -20/+40, 0/+60
I think that should cover most folk?
edit: I got the ranges wrong, now corrected above.
I think that should cover most folk?
edit: I got the ranges wrong, now corrected above.
Last edited by mcrossley on Tue 23 Nov 2010 9:52 am, edited 2 times in total.
-
captzero
- Posts: 363
- Joined: Wed 03 Mar 2010 10:20 am
- Weather Station: Vantage Pro2 w/ daytime FARS
- Operating System: Windows 10
- Location: Brisbane, Australia
- Contact:
Re: Editing the Dashboard.js file for different guage look.
Sounds good. I thought you would have it covered. Thanks.
Dan
http://www.brisbaneliveweather.com
A man with a thermometer always knows the temperature. A man with two thermometers, not so sure.
http://www.brisbaneliveweather.com
A man with a thermometer always knows the temperature. A man with two thermometers, not so sure.
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: Editing the Dashboard.js file for different guage look.
Can't wait for the sourcemcrossley wrote:Yes, there are three possible gauge images covering the ranges: -40/20, -20/40, 0/60
I think that should cover most folk?
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: Editing the Dashboard.js file for different guage look.
Hi Mark, I 've copied the files and uploaded them (I replaced the realtime text for mine) it seems to work fine exept the gauges stop by rainafall ... is this because I use other units ? I've made an example in my 'play' directory http://www.apeldoorn.tk/wx/gauges.htmmcrossley wrote:Here is my first stab at making the gauges work with the standard (1.9.1) realtime.txt file
http://weather.wilmslowastro.com/gauges8.htm
Some of the readings have gone (time it last rained, todays max rain rate are the most notable), but the good news is most of the data is available.
- 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: Editing the Dashboard.js file for different guage look.
It is crashing on cloudbase - I've not converted the cloudbase yet - it only works in feet, you are using metres, I haven't added the code for metres yet, or drawn a new background image.
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: Editing the Dashboard.js file for different guage look.
Okay thanks in that case I'll wait 
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: Editing the Dashboard.js file for different guage look.
Removed the cloudbase code eveything works fine , now I can translate wel tomorrow
- 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: Editing the Dashboard.js file for different guage look.
Except your windspeed is in m/s and the scale on the gauge is mph & km/h, though the indicated speed should be correct - I need to make a m/s gauge, but I think a knots scale is out of scope at the mo.
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: Editing the Dashboard.js file for different guage look.
You're right I hadn't noticed it just was staring at the moving needles 
-
captzero
- Posts: 363
- Joined: Wed 03 Mar 2010 10:20 am
- Weather Station: Vantage Pro2 w/ daytime FARS
- Operating System: Windows 10
- Location: Brisbane, Australia
- Contact:
Re: Editing the Dashboard.js file for different guage look.
Hey Mark...... You are probably busy but any progress to report?mcrossley wrote: I'm just changing the code so it will work with a standard realtime.txt file rather than my custom file. I also need to create a metre version of the cloud base background image.
Cheers
Dan
http://www.brisbaneliveweather.com
A man with a thermometer always knows the temperature. A man with two thermometers, not so sure.
http://www.brisbaneliveweather.com
A man with a thermometer always knows the temperature. A man with two thermometers, not so sure.
- 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: Editing the Dashboard.js file for different guage look.
Would you like to test this version?
You can edit the gauges_lang_en.js to customise the text - there is already a Dutch version of the file. Change teh gauges.htm file to point to the appropriate file.
There are some settings to edit in gauges.js - set the URL to your realtime.txt, and choose which temperatures to display on the Dew gauge.
This version is for Fine Offset, I need to add options to remove the status for stations that do not have this - and I do not like the current status display anyway.
This version should cope with wind speed in m/s, kph, mph, kts. Heights in m, ft. Pressure in hPa, in, mb, and temps in C or F.
I'd keep in a separate test area of your website for now!
Please report any problems, I try and fix them but I'm busy at work so it may take a few days to respond.
Mark
You can edit the gauges_lang_en.js to customise the text - there is already a Dutch version of the file. Change teh gauges.htm file to point to the appropriate file.
There are some settings to edit in gauges.js - set the URL to your realtime.txt, and choose which temperatures to display on the Dew gauge.
This version is for Fine Offset, I need to add options to remove the status for stations that do not have this - and I do not like the current status display anyway.
This version should cope with wind speed in m/s, kph, mph, kts. Heights in m, ft. Pressure in hPa, in, mb, and temps in C or F.
I'd keep in a separate test area of your website for now!
Please report any problems, I try and fix them but I'm busy at work so it may take a few days to respond.
Mark
You do not have the required permissions to view the files attached to this post.
-
captzero
- Posts: 363
- Joined: Wed 03 Mar 2010 10:20 am
- Weather Station: Vantage Pro2 w/ daytime FARS
- Operating System: Windows 10
- Location: Brisbane, Australia
- Contact:
Re: Editing the Dashboard.js file for different guage look.
Thanks Mark,
I'll give it a go.
Cheers
Edit: Results are here: http://www.brisbaneliveweather.com/gauges.htm
Easy as....looks good too. Took me about 10 mins to get working and then about an hour tweaking for my site.
Good job Mark.
Thanks again.
I'll give it a go.
Cheers
Edit: Results are here: http://www.brisbaneliveweather.com/gauges.htm
Easy as....looks good too. Took me about 10 mins to get working and then about an hour tweaking for my site.
Good job Mark.
Thanks again.
Last edited by captzero on Fri 16 Dec 2011 1:56 pm, edited 3 times in total.
Dan
http://www.brisbaneliveweather.com
A man with a thermometer always knows the temperature. A man with two thermometers, not so sure.
http://www.brisbaneliveweather.com
A man with a thermometer always knows the temperature. A man with two thermometers, not so sure.
-
werribee_au
- Posts: 338
- Joined: Mon 08 Jun 2009 6:25 am
- Weather Station: WH-1081 (Jaycar Digitech XC0348)
- Operating System: XP SP3
- Location: Wyndham Vale, Vic, Australia.
- Contact:
Re: Editing the Dashboard.js file for different guage look.
I too have given it a go, looks great.
http://members.optusnet.com.au/ktau/wws/gauges/
The only thing I changed is the realtime.txt location, all other files as as they were in the archive you posted. (Oh, I also edited the menu navigation links)
I see that with my url the degrees symbol is not displaying, although it is displaying ok while viewing captzero's page here http://users.tpg.com.au/captzer0/gauges.htm
Tried Chrome, IE 32bit and iPhone.
I have come across this before but cant remember how I dealt with it.
Great work! Love the graphics!
http://members.optusnet.com.au/ktau/wws/gauges/
The only thing I changed is the realtime.txt location, all other files as as they were in the archive you posted. (Oh, I also edited the menu navigation links)
I see that with my url the degrees symbol is not displaying, although it is displaying ok while viewing captzero's page here http://users.tpg.com.au/captzer0/gauges.htm
Tried Chrome, IE 32bit and iPhone.
I have come across this before but cant remember how I dealt with it.
Great work! Love the graphics!
You do not have the required permissions to view the files attached to this post.
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: Editing the Dashboard.js file for different guage look.
Perhaps there is a solution look in the gauges_canvas.js and search for ° character in +" °"+ repace this with in ° I'm not sure if it wil work anyway the synatx might be + ° +werribee_au wrote:I too have given it a go, looks great.
http://members.optusnet.com.au/ktau/wws/gauges/
The only thing I changed is the realtime.txt location, all other files as as they were in the archive you posted. (Oh, I also edited the menu navigation links)
I see that with my url the degrees symbol is not displaying, although it is displaying ok while viewing captzero's page here http://users.tpg.com.au/captzer0/gauges.htm
Tried Chrome, IE 32bit and iPhone.
I have come across this before but cant remember how I dealt with it.
Great work! Love the graphics!
Note this doesnt work ... try to change the <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
in the gauges.htm to <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> more about yhis on wikipedia http://en.wikipedia.org/wiki/Character_ ... gs_in_HTML
Last edited by nitrx on Thu 02 Dec 2010 12:22 pm, edited 1 time in total.