v1.6.3 posted, this fixes the last known (ha ha!) bug introduced by the 1.6 changes - the maximum average temperature reading.
I also taken the opportunity to do a long overdue tidy up the graph handling in the popups.
There is a new variable (g_showPopupDataGraphs) which allows you switch off the graphs completely and just leave text based popups.
All the graph images are now defined in gauges.js by the g_tipImgs array - you no longer need to edit the ddimagetooltips.js as well. This array has also been expanded; by default it is configured with the ‘standard’ Cumulus trend images, but you can now add your own custom graphs for every gauge reading such separate graphs for dewpoint, apparent, windchill, indoor humidity etc. You can also add graphs for UV and Solar Radiation which Cumulus does not generate at all. WD users should find this feature useful.
I noticed some spelling errors in the Dutch translation:
moderndere - modernere
should be a space between ‘oude’ and meters
weeerstation - weerstation
Data laten - Data laden
Buitentemperatur - Buitentemperatuur
Binnentemperatur - Binnentemperatuur
Gevoelstemperatur - Gevoelstemperatuur
Abbreviation for the month of March (Maart), I’d prefer Mrt instead of Mar
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:
if (g_showPopupDataGraphs && g_tipImgs[4][0] !== null) {
to
if (g_refreshGraphs && g_showPopupDataGraphs && g_tipImgs[4][0] !== null) {
The rain rate gauge hasn’t been working correctly with WD, I have attached an updated customclientrawlocal.txt file to the first post, please replace teh version in 1.6.6 with this file until the next release when I’ll roll it in.
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 Weather Gauge 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
Opps, the last version of the cutdown SteelSeries script was a little too cut down - I left out the Odometer component. This version adds it back in again, it only really affects you if you use the odometer display on a gauge.
There are quite a few changes in this release, please see the version control list.
Major headlines…
[ul][li]Wind RoseGuage is now enabled by default[/li]
[li]A wind run odometer has been added to the wind rose[/li]
[li]A new ‘basic’ template html page has been added[/li]
[li]Support for VWS users added (thanks to Ken True of saratoga-weather.org)[/li][/ul]
I intend to leave this package alone for a while now - except for bug fixes, translation updates etc.
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:
[ul][li]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.[/li]
[li]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.[/li]
[li]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.[/li]
[li]Added support for WeatherCat[/li][/ul]
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!
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 (intended for use by Cumulus users)
Version 2.2.2 is available. The main fix is for WeatherCat users, so Weather Display users can probably ignore this release. There is a slight tweak to the gauges-ss.css to pretty the units table slightly, and the Nederlands translation has been updated that’s it.
I have also updated the FAQ with information on tweaking the wind rose appearance.