cloudy cloudy

Author Topic: Update interval for SteelGauges (PI version)  (Read 2056 times)

0 Members and 1 Guest are viewing this topic.

Offline paperinics

  • Posts: 17
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 46.0
Update interval for SteelGauges (PI version)
« on: May 25, 2016, 09:17:11 AM »
Hi Brian and all,

      I'm creating a new web page for my meteo station using SteelGauges as an alternative to WDL.
Is there any way to force tha data to be updated more often that 5 minutes? In WDL I can update the page once per minute, but customclientraw.txt for SteelGauges only updates every 5 minutes.
I'm using the latest Raspberry PI version.

                  Thanks for your help! Mauro

Offline Weather Display

  • Posts: 80,654
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 50.0.2661.102
    • Weather Display
Re: Update interval for SteelGauges (PI version)
« Reply #1 on: May 25, 2016, 08:02:20 PM »
do you mean in the steel gauge .html settings or for consolewd update rate, or?

Offline paperinics

  • Posts: 17
  • OS/Browser:
  • Win NT 10.0
  • Chrome 50.0.2661.102
Re: Update interval for SteelGauges (PI version)
« Reply #2 on: May 25, 2016, 08:43:25 PM »
I mean the consolewd update rate. I've tried the "Customclientraw update rate" setting in config.txt, but it doesn't change anything (the file is always updated every 5 minutes on the ftp).

           Thanks! Mauro

Offline paperinics

  • Posts: 17
  • OS/Browser:
  • Win NT 10.0
  • Chrome 50.0.2661.102
Re: Update interval for SteelGauges (PI version)
« Reply #3 on: May 30, 2016, 05:18:29 PM »
Any comment on that? Is it possile to achieve a wdisplay update rate better than 5 minutes for Customclientraw? (one minute would be great).

                 Thank you, Mauro

Offline Weather Display

  • Posts: 80,654
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 50.0.2661.102
    • Weather Display
Re: Update interval for SteelGauges (PI version)
« Reply #4 on: May 30, 2016, 08:55:25 PM »
HI
I would have thought it would be updating faster than every 5 minutes
using the setting
are you refering to the actual file in the webfiles folder or on the web site (i.e the file that is FTP?)

Offline paperinics

  • Posts: 17
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 46.0
Re: Update interval for SteelGauges (PI version)
« Reply #5 on: May 31, 2016, 10:18:43 AM »
I've just checked that and the local file customclientraw.txt on the raspberry pi is updated more otfen, but it's uploaded on the FTP only every 5 minutes, this one problem.

Local file seems to be updated every 3 minutes, FTP every 5 minutes. I'm not really sure if those timers are controlled by some settings that I miss or they are hardcoded in the executable. My idea was to have the customclientraw.txt updated on the FTP every minute or so, exactly the same as it happens with the clientraw.txt.

              Thanks, Mauro
« Last Edit: May 31, 2016, 10:38:36 AM by paperinics »

Offline paperinics

  • Posts: 17
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 47.0
Re: Update interval for SteelGauges (PI version)
« Reply #6 on: June 13, 2016, 02:46:24 PM »
Any idea? I'm still stuck on that :( no way to get the customclientraw.txt uploaded to ftp more often that 5 minutes regardles of the settings in config.txt

          Thank you! Mauro

Offline Weather Display

  • Posts: 80,654
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 50.0.2661.102
    • Weather Display
Re: Update interval for SteelGauges (PI version)
« Reply #7 on: June 13, 2016, 08:56:09 PM »
its likely to be a ratio
but normally that is OK when you have the clientraw upload set to say every 5 seconds..so that then the customclientraw would be every 15 seconds in that case, sort of thing
(instead of every 3 minutes)

what is the interval you have set in the config?

Offline paperinics

  • Posts: 17
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 47.0
Re: Update interval for SteelGauges (PI version)
« Reply #8 on: July 04, 2016, 01:04:18 PM »
Uhmm, clientraw is set to one minute, so the ratio in this case is 1/5 since the customclientraw is updated every 5 minutes. 60 second is the shortest update interval for clientraw, so I cannot lower it.

The result is that with weather display live the newdata is refreshed every 1 minute and with steel gauges it's refreshed every 5 minute. that's the point, i would like to have the same uopdate rate also in steel gauges.

           Thanks, Mauro

Offline Weather Display

  • Posts: 80,654
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 51.0.2704.103
    • Weather Display
Re: Update interval for SteelGauges (PI version)
« Reply #9 on: July 04, 2016, 06:26:27 PM »
you should be able to set the clientraw update rate to lower than 60 seconds
why do you say you can not lower that?

Offline paperinics

  • Posts: 17
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 48.0
Re: Update interval for SteelGauges (PI version)
« Reply #10 on: August 22, 2016, 08:53:55 AM »
Brian, on the raspberry I tried several times and even setting the clientraw update interval to values lower than 60 seconds it remains 60 seconds. Not sure why, but I'm not able to set intervals less than one minute. Can you double check this issue? Is it a problem on my installation or there is a bug on that?

                  Thanks, Mauro

Offline Weather Display

  • Posts: 80,654
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 52.0.2743.116
    • Weather Display
Re: Update interval for SteelGauges (PI version)
« Reply #11 on: August 22, 2016, 06:49:19 PM »
Hi
I will check on this later today or tomorrow
(I am out all day today, showing a Spanish AFS student we have some sights in the city) :)

Offline Weather Display

  • Posts: 80,654
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 52.0.2743.116
    • Weather Display
Re: Update interval for SteelGauges (PI version)
« Reply #12 on: August 24, 2016, 09:12:09 PM »
question:
do you have a raspberry III or I (or II)?

Offline Weather Display

  • Posts: 80,654
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 52.0.2743.116
    • Weather Display
Re: Update interval for SteelGauges (PI version)
« Reply #13 on: August 24, 2016, 09:41:11 PM »
the ftp upload rate is set in the console.ini settings file
as
[customclientraw]
updaterate=

what do you have that set as?

Offline paperinics

  • Posts: 17
  • OS/Browser:
  • Win NT 10.0
  • Firefox 48.0
Re: Update interval for SteelGauges (PI version)
« Reply #14 on: September 06, 2016, 09:55:48 PM »
I looked at the wdconsole.ini and the value is set to 5:

[customclientraw]
updaterate=5

But, I'm quite confused... can I edit the consolewd.ini? I tought it was automatically generated with the data from config.txt? Isn't it? Also it has some historical data (records, etc...) in it.