If you use Cumulus, please donate Image

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

SteelSeries Announcements

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

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

SteelSeries Announcements

Postby mcrossley » Tue Mar 06, 2012 12:02 pm

23 April 2017: Latest version is 2.6.1 ...

Want to make a donation to the Weather Gauges? Please click here.

Post any queries in the SteelSeries Forum

The files are now available on GitHub. You can also download the zip file using this direct link

Remember, "It is your Wiki", so please contribute any amendments, additional information, maybe add to the SS FAQ page, create a page on integrating with Ken's Saratoga templates perhaps? Anything other people would find useful. I want the Wiki to replace the readme.txt in future releases.

The latest changes are...

2.6.1
  • Updated gauges.js
    - Fixed the odometer label colour not changing with the background colour.

2.6.0
  • Updated gauges.js
    - *Really* fixed scaling issues with rain gauge ;)
    - Added support for Weather Link/WL.com as a data source [Note requires a Saratoga template module]
    - Added title to Windrose odometer
  • Updated language.js/language.min.js
    - Added strings for mile, km, n_mile (nautical mile), used for WindRose odometer title

2.5.19
  • Updated gauges.js
    - Added tweak to rain gauge to fix constant redraws due to maxValue/maxScale mismatch when using default niceScale.

2.5.18
  • Updated gauges.js
    - Added CS tweak for WD users who normally use wxgraphs for the popup images, changes aspect ratio.
    - Now obeys the various default scale ranges in gaugeGlobals.[gauge]ScaleDef[Min|Max][unit] settings

2.5.17
  • Updated gauges.js
    - Added new config item "showWindMetar" to enable the METAR substring for wind on the direction gauge,
    the default is now disabled (was enabled). Previously you could only disable it by not showing any
    wind variation on the gauge.

2.5.16
  • Updated gauges.js
    - Minor code style/format changes
    - Fixed the display of todays high/low decimal places the singleBaro.update() function
    - Fixed an issue with the Ajax timeout error handling
    - Amended the hPa to inchesHg conversion to use 3 decimals for inches
    - Amended the popup tooltip positioning and sizing to try and keep it on-screen better on tiny displays
    - Added config.roundCloudbaseVal to enable/disable cloud base rounding for display
  • Updated gauges-ssT.htm, index.html.tmpl, gauges-ssT.htx, steelseriesVWSjson.php
    - Fixed the demo HTML templates to use double quotes for element ids
  • Updated steelseriesVWSjson.php
    - Added no cache header
    - Cosmetic changes
  • Updated gauge-data.txt.tmpl (Changes via pull request 3 from gjr80)
    - humidex calc now (correctly) uses dewpoint in degree K
    - removed redunant code in humidex and apptemp calcs
  • Updated language.js language.min.js
    - Minor change to Norwegan 'meters' -> 'meter'

2.5.15
  • Updated gauges.js
    - Removed deprecated RegExp.$1, and .selector code, plus other changes around the popups to make them compatible with JQuery 3.0

2.5.14
  • Updated gauges.js
    - Reversed style change which named all functions. Back to anonymous functions.

2.5.13
  • Updated gauges.js
    - Switched to using ESLINT and some stylistic changes to code and layout
    - Fix to Cloudbase autoscaling

2.5.12
  • Updated gauges.js
    - Auto-disable wind variantion for MeteoBridge users
    - Uplift weewx data template version to 13
  • Updated gauge-data.txt.tmpl
    - Now uses non-localised units for more robust data conversions
    - Corrected dew point calculation
    - Improved rain in mm calculation

2.5.11
  • Updated gauge-data.txt.tmpl
    - Fixes some data issues for WeeWx users

Note: In order to try out different colour combinations and gauge styles, you can use my demo pages Radial Gauges, LinearGauges, Extra Gauges, StopWatch Gauge

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

Re: SteelSeries Announcements

Postby mcrossley » Thu Mar 08, 2012 11:02 am

Version 1.6.5 is now available, the change list is quite long, maybe this should have been a 0.1 release! :lol:

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

Re: SteelSeries Announcements

Postby mcrossley » Mon Mar 19, 2012 12:09 pm

Version 1.6.6 now available.

One fix that you may want to incorporate soon, v1.6.5 downloads the humidity graph every realtime update cycle rather than every 15 minutes (default). The change if you just want to edit your existing file is line 1336, changes from:

Code: Select all

        if (g_showPopupDataGraphs && g_tipImgs[4][0] !== null) {
to

Code: Select all

        if (g_refreshGraphs && g_showPopupDataGraphs && g_tipImgs[4][0] !== null) {


Also added Danish and Finnish translations.

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

Re: SteelSeries Announcements

Postby mcrossley » Wed May 09, 2012 7:22 pm

I have updated the SteelSeries library to version 0.11.3...

These changes speed up the library quite a bit so I thought it would be worth providing an updated Cumulus specific version (as I normally supply the weather gauges releases). This 'should' be a drop in replacement for the existing file on your server.

The main changes are:

> Radial
* Fixed Odometer being reinitialised every time the background was redrawn
* Fixed background changes drawing LCD background when Odometer visisble
* Disabled pointer shadow blurring, it was causing performance issues in some browsers
* added check for 'knob' parameter in drawRadialForegroundImage()
> Odometer
* Added setValueAnimated() method
> RadialBargraph
* Fixed issue with LED halo still displaying when LED was off
> General
* Added full caching to: trendIndicator, MaxMinIndicators, LCDbackground, LEDimage,
LinearForeground, LinearBackground, LinearFrame,
RadialForeground, RadialBackground, RadialFrame, and RadialPointers
* Stopped some variable leakage to the global scope
* Some code styling changes and fixes for minor syntax niggles

EDIT: Script removed, it was missing the Odometer component, replacement below...

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

Re: SteelSeries Announcements

Postby mcrossley » Fri May 11, 2012 1:26 pm

Opps, I accidentally left out the Odometer component from the last SteelSeries script update. If you use the odometer component, then this version should work for you.

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

Re: SteelSeries Announcements

Postby mcrossley » Wed Dec 19, 2012 10:25 pm

Version 2.0 is now available!

I have decided enough is enough and I want to give you all something to do as the turkey digests. I have created a page in the Wiki for the SteelSeries Gauges, this provides the instructions and the download link. I am hoping that people will step up and create additional information in the Wiki - maybe an SS FAQ page? or add missing detail etc.

http://wiki.sandaysoft.com/a/SteelSeries_Gauges

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

Re: SteelSeries Announcements

Postby mcrossley » Wed Dec 19, 2012 10:26 pm

Version 2.0 is now available

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

Re: SteelSeries Announcements

Postby mcrossley » Fri Dec 21, 2012 8:53 pm

Version 2.0.1 posted, this is a one character syntax fix that only affects WD users, no need for Cumulus users to download this version.

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

Re: SteelSeries Announcements

Postby mcrossley » Sun Dec 30, 2012 7:29 pm

Version 2.0.2 is now available. Bug fix for WD users, and barometer scale now has a decimal place for kPa values.

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

Re: SteelSeries Announcements

Postby mcrossley » Tue Jan 15, 2013 1:19 pm

Version 2.0.3 is now available, there are quite a few changes in this release, please see the first post in this thread for details.

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

Re: SteelSeries Announcements

Postby mcrossley » Mon Jan 21, 2013 4:33 pm

Version 2.0.4 is now available, please see the first post in this thread for details.

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

Re: SteelSeries Announcements

Postby mcrossley » Sat Jan 26, 2013 6:06 pm

Version 2.1.0 is now available.

There are quite a few changes in this release, please see the version control list.

Major headlines...
  • Wind RoseGuage is now enabled by default
  • A wind run odometer has been added to the wind rose
  • A new 'basic' template html page has been added
  • Support for VWS users added (thanks to Ken True of saratoga-weather.org)

I intend to leave this package alone for a while now - except for bug fixes, translation updates etc.

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

Re: SteelSeries Announcements

Postby mcrossley » Sun Feb 03, 2013 12:29 pm

Version 2.1.1 is now available.

Mainly some minor bug fixes and translation updates in this one.

The one change to watch out for is the renaming of the combined Steelseries & Tween script file. My original name choice was causing much confusion so I have bitten the bullet and changed the file name - now I await all the "version 2.1.1 doesn't work messages" :roll:

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

Re: SteelSeries Announcements

Postby mcrossley » Fri Feb 15, 2013 2:35 pm

Version 2.2.0 is now available.

The headline changes are:
  • The gauge sizes are now picked up from the HTML/CSS, this makes it easy for custom layouts to be created using mixed gauge sizes.
  • The wind rose has changed from using a radar plot to a rose plot. Note the version of RGraph.rose.js included has been customised by me, the author is going to make changes to support this natively in a future release of RGraph.
  • Ken's Saratoga templates are now supported, the zip contains his gauges-ss-basic-inc.php file - note this has been changed from the file posted by Ken and used with v2.1.1 of the gauges.
  • Added support for WeatherCat

The image below shows the old and new style wind rose, I use 8 points with my Fine Offset but the code should work with 16 or any number!
WindRose-Old-New.png
You do not have the required permissions to view the files attached to this post.

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

Re: SteelSeries Announcements

Postby mcrossley » Mon Feb 18, 2013 7:13 pm

Version 2.2.1 is now available.

This is a fix for the automatic rescaling of the gauges on mobile devices which broke in 2.2.0, and a typo fix for "Longitude" in gauges-ssT.htm


Return to “SteelSeries Gauges”

Who is online

Users browsing this forum: No registered users and 3 guests