Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3044 7 December 2018. See the Wiki for download

Updating old version of steel gauges

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
The PIT
Posts: 83
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Updating old version of steel gauges

Post by The PIT » Sat 02 Jun 2018 3:30 pm

I'm trying to update an old version of Steel gauges to the latest version.

In theory I need to edit gauges.ssT and gauges.js

I used notepad++ and compared the files and then made the changes

I then copy gauges.sst and realtimegaugesT to the cumulus folder after backing it up.

Copy the new script and css folder to the web server removing the old versions and backing them up.

I then get a screen without any gauges so I'm missing something. The realtimegauges.txt file is populated so that isn't the problem.

I've moved back to the old version for now any have I missed a step?
Based in Sunny Old Sheffield South Yorkshire England

water01
Posts: 1486
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Somewhere in the USA
Contact:

Re: Updating old version of steel gauges

Post by water01 » Sat 02 Jun 2018 4:14 pm

I am not sure what gauges.sst is but if it the HTML file that is used to load the gauges it ought to be renamed as gauges.htm and you do not mention that you copied the gauges.js to your server either. They must match versions.

The PIT
Posts: 83
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Re: Updating old version of steel gauges

Post by The PIT » Sat 02 Jun 2018 4:46 pm

Gauges-ssT is the file just accidentally used . rather than a - when posting.

gauges.js is a script file so yes that is on the web servera s I copied that across when I copied the script folder.
Based in Sunny Old Sheffield South Yorkshire England

The PIT
Posts: 83
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Re: Updating old version of steel gauges

Post by The PIT » Sun 03 Jun 2018 9:29 am

Fixed it.
Simply restarted from scratch and did the same as did previously and it worked. So somewhere a invalid character got inserted either into the script file or the htm file.
Based in Sunny Old Sheffield South Yorkshire England

The PIT
Posts: 83
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Re: Updating old version of steel gauges

Post by The PIT » Sun 03 Jun 2018 9:41 am

I've noticed that the cumulus wiki is out of date and says version 2.6.1 is the latest the latest is 2.6.4. Could cause problems for users updating if something has changed and isn't mentioned.
Based in Sunny Old Sheffield South Yorkshire England

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

Re: Updating old version of steel gauges

Post by mcrossley » Sun 03 Jun 2018 1:50 pm

Glad you got it working.
The PIT wrote:I've noticed that the cumulus wiki is out of date and says version 2.6.1 is the latest the latest is 2.6.4.
Thanks, wiki now updated.

Post Reply