Page 1 of 1

Gauge oscillation in dashboard 2

Posted: Sat 13 Jun 2020 8:45 am
by HansR
@all:
As Javier has reported, there is an issue with the second dashboard which starts oscillation between values at some point, under some conditions in some browsers.

I have some questions ;)
In relation to the oscillation of the gauges between values I notice the following:
  • It seems to be oscillation between a new value and the first value;
  • The oscillation seems to increase when the second dashboard remains open longer (and the values start to have larger differences)
  • I suspect a relation with the update frequency/timers
  • and maybe possibly the LED on status of the gauges.
In order to continue research, could you:
  • Give me your update frequencies (realtime and FTP) in seconds and minutes
  • Could you turn the led of the gauges on/off (set the ini parameter: SteelseriesLedVisible=false) and report changes in the issue (after changinhg the value you need to run "cumulusutils website" again. Do not use thrifty.
  • Could you report in the comments below if you see/don't see the oscillation and with that report:
    • Browser ecology: type and OS you are running it on
    • Setting of the LedVisible
    • and whatever you deem relevant.
I am not sure I can fix it quickly, but a setting to prevent it would be nice to start with and it would be nice to have a real clean release coming up :groan:

Re: Gauge oscillation in dashboard 2

Posted: Sat 13 Jun 2020 5:33 pm
by HansR
OK.

Not yet found the actual part of the code where it goes wrong, but I am pretty confident that, if you switch the LedVisible to false, the problem will go away.
So at the moment, that is my advise.
If you have evidence this is not true, please let me know.

To be continued...

Re: Gauge oscillation in dashboard 2

Posted: Sat 13 Jun 2020 10:06 pm
by kocher
Greetings Hans

Incredibly, those oscillations have disappeared. I do not know the cause that originated it :roll:


http://kocher.es/cumulusMX/FWI/

Re: Gauge oscillation in dashboard 2

Posted: Sun 14 Jun 2020 5:05 am
by HansR
Hi Javier,

Yes it's got a strange effect doesn't it :o

It is an internal steelseries affair. The value of the parameter is passed straight to gauges.js which passes it actually straight to the steelseries.js and that's where I get lost because for me that's a black box (used as a black box). So I asked Mark but he is busy and this may take some time to cure (if ever).

In the mean time to prevent confusion on the user side, I will invalidate the parameter and set it to false always.
You could also remove it from the inifile, with the new release it will not be recreated.

Regards, Hans

Re: Gauge oscillation in dashboard 2

Posted: Mon 15 Jun 2020 7:51 am
by HansR
In addition after communication with Mark.

The idea of the led in the gauge is a kind of alarm indicator if the value goes over a certain threshold. However that threshold can not be given in the parameter section of gauges.js, nor is it clear (to me) where to fill it in. As CumulusUtils uses the gauges.js as a layer between the application and the steelseries (as I think it was designed to) it should be a pairwise definition in that module/library to define the led and the corresponding value. It is not. As the global definition of ledVisible therefore is kind of useless is has been disabled and set to false.

As a per gauge alarm setting would be nice, I may come back to this later though it clearly has no priority.
(It actually became effective as per version 3.9.0)