Weather by You!

General Category => General Discussion => Topic started by: Eternalfreeze on April 14, 2014, 05:29:01 AM

Title: How to change Weather Eden Steel Series gauges refresh (reload) time?
Post by: Eternalfreeze on April 14, 2014, 05:29:01 AM
I haven't been able to find this anywhere so I am asking here. I would like to have the gauges in the Weather Eden template refresh the data more often than 60 seconds (I want 15 seconds actually). I once used the Steel Series gauges with the default Cumulus template and I know how to edit the gauges.js file to change the counter time with that template. Can someone tell me if there is a way to do this with the Weather Eden template? The only gauges.js file is contained in a zip file and I don't know how to make the change. Thanks.

Jody
Title: Re: How to change Weather Eden Steel Series gauges refresh (reload) time?
Post by: Mr.Meteo on April 15, 2014, 05:41:13 PM
Hi Jody,

in folder lib/gauges-ss you'll found file gauges.js
This file contain parameters used by these gauges. To change delay,
simply find this line (line #22):

Code: [Select]
counter           : 60,                     //download data counter (secs, default 60)
... and change this delay, in seconds.

Regards,
Jacques
Title: Re: How to change Weather Eden Steel Series gauges refresh (reload) time?
Post by: shanebl on November 23, 2015, 06:52:13 PM
Im using weather_eden_v1-2 but I don't have lib/gauges-ss

The only folders in lib are
lib/gallerific
lib/steelseries

None of them have the file gauges.js

Please help

Cheers
Shane
Title: Re: How to change Weather Eden Steel Series gauges refresh (reload) time?
Post by: pernaczy on November 24, 2015, 01:34:29 AM
Hi,
In the "lib/steelseries" you will find "gauges.wby.js" file. You have to edit this file (I,m using "Notepad++" editor), and FIND the sequence "counter:60" (you have to find it because in this file all text is in ONE line - at least in my case).
If you are using an UV gauge you have to do the same with the file "gauges_UV.wby.js"
Regards,

Piotr
Title: Re: How to change Weather Eden Steel Series gauges refresh (reload) time?
Post by: shanebl on November 24, 2015, 11:24:17 PM
Hi Piotr,
Thank you very much for your help.
Now my gauges are updating every 10sec.  :)

www.mtroskillweather.nz

Cheers
Shane