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

SteelSeries Gauges script

Discussion of Ken True's web site templates

Moderator: saratogaWX

Post Reply
andersondj
Posts: 39
Joined: Thu 03 Dec 2009 8:33 am
Weather Station: Davis Vantage Pro 2
Operating System: Windows 7

SteelSeries Gauges script

Post by andersondj »

Can anyone point me to a download link for a SteelSeries Gauges script suitable for integrating into the Saratoga Weather Template?
User avatar
ConligWX
Posts: 1573
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: SteelSeries Gauges script

Post by ConligWX »

old link: viewtopic.php?t=9262


dont think there is one. you use a new page from satatoga templates: copy wxnewpage.php and rename it.

then use the Steelgauages template: viewtopic.php?f=21&t=7186 and use that on you website. gauges-ss-basic.htm should be added to the wx?????.page.php you have created.
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
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: SteelSeries Gauges script

Post by mcrossley »

The package has a PHP "include" file version of the demo page (gauges-ss-basic-inc.php) that is designed to be included within an existing PHP framework page.
andersondj
Posts: 39
Joined: Thu 03 Dec 2009 8:33 am
Weather Station: Davis Vantage Pro 2
Operating System: Windows 7

Re: SteelSeries Gauges script

Post by andersondj »

I have inserted the contents of gauges-ss-basic-inc.php into an "empty" Saratoga template page wxgaugesda.php.

When I run https://eastleake-weather.org.uk/wxgaugesda.php the 2 temperature gauges are showing incorrect values.

However when I run https://eastleake-weather.org.uk/gauges-ss-basic.htm the temperatures gauges show the correct values as shown in realtimegauges.txt

Any ideas as to what I have done incorrectly when running the gauges script in the Saratoga template?

On another matter I posted several days ago you will notice in eastleake-weather.org.uk the dashboard wind units are inconsistent. The default value in settings is mph. However the daily average and gust values are displayed in km/h whereas the monthy gust is correctly displayed in mph. The various Trends and NOAA reports all display wind in mph. Is this inconsistency by design or a bug?

David.
Loughborough UK
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: SteelSeries Gauges script

Post by mcrossley »

Those are problems in your Saratoga template set up, so I'll have to leave that to Ken or others to answer.
User avatar
ConligWX
Posts: 1573
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: SteelSeries Gauges script

Post by ConligWX »

andersondj wrote: Mon 18 Jan 2021 6:47 pm I have inserted the contents of gauges-ss-basic-inc.php into an "empty" Saratoga template page wxgaugesda.php.

When I run https://eastleake-weather.org.uk/wxgaugesda.php the 2 temperature gauges are showing incorrect values.

However when I run https://eastleake-weather.org.uk/gauges-ss-basic.htm the temperatures gauges show the correct values as shown in realtimegauges.txt

Any ideas as to what I have done incorrectly when running the gauges script in the Saratoga template?

On another matter I posted several days ago you will notice in eastleake-weather.org.uk the dashboard wind units are inconsistent. The default value in settings is mph. However the daily average and gust values are displayed in km/h whereas the monthy gust is correctly displayed in mph. The various Trends and NOAA reports all display wind in mph. Is this inconsistency by design or a bug?

David.
Loughborough UK
David, send me a pm and attach your wxgaugesda.php (as a txt file) I'll have a look at it against my own.

https://www.conligwx.org/wxssgauges.php


as to wind. in settings.php have you set the wind unit?

Code: Select all

$SITE['uomWind'] = ' mph';   // =' km/h', =' kts', =' m/s', =' mph'
and ajax-dashboard.php

Code: Select all

$uomWind = ' mph';

you have a couple of updates too:

http://eastleake-weather.org.uk/check-f ... w=versions
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
andersondj
Posts: 39
Joined: Thu 03 Dec 2009 8:33 am
Weather Station: Davis Vantage Pro 2
Operating System: Windows 7

Re: SteelSeries Gauges script

Post by andersondj »

I have checked the uomwind parameters in settings.php and ajax-dashboard.php and they are both set to mph.
User avatar
ConligWX
Posts: 1573
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: SteelSeries Gauges script

Post by ConligWX »

the only other place I know of is:

ajaxCUwx.js

edit the contents of the settings within this file. be carefull.

Code: Select all

var useMPH   = true;       // set to true to force MPH for both English and Metric units
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
andersondj
Posts: 39
Joined: Thu 03 Dec 2009 8:33 am
Weather Station: Davis Vantage Pro 2
Operating System: Windows 7

Re: SteelSeries Gauges script

Post by andersondj »

I checked ajaxCUwx.js and var useMPH was set to false. Setting it true solved my problem!

Thanks Simon.
User avatar
ConligWX
Posts: 1573
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: SteelSeries Gauges script

Post by ConligWX »

your welcome. glad I could help.

BTW thermometer.php change the

Code: Select all

$tickColor    =  '#FFFFFF'; // color for tick marks and UOM
to

Code: Select all

$tickColor    =  '#000000'; // color for tick marks and UOM
you're missing the scale text.
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
Post Reply