Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.8.4 (build 3094) - 14 September 2020 (please see announcement regarding releases since 3.5.0)
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of the NOAA report and Snow Index drop-down menus to 2030)

Use this Wiki link to Download the Software (Cumulus MX / Cumulus 1 and other related items).

Gauge oscillation in dashboard 2

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Post Reply
User avatar
HansR
Posts: 1380
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
Location: Wagenborgen (NL)
Contact:

Gauge oscillation in dashboard 2

Post 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:
https://meteo-wagenborgen.nl / Cumulus 3.6.8 (build: 3084)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l (before: 4.19.118)
Mono JIT compiler version 6.10.0.104 (before: 6.8.0.123)

User avatar
HansR
Posts: 1380
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
Location: Wagenborgen (NL)
Contact:

Re: Gauge oscillation in dashboard 2

Post 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...
https://meteo-wagenborgen.nl / Cumulus 3.6.8 (build: 3084)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l (before: 4.19.118)
Mono JIT compiler version 6.10.0.104 (before: 6.8.0.123)

User avatar
kocher
Posts: 206
Joined: Sat 19 Apr 2014 7:57 pm
Weather Station: Davis Vantage Pro2+
Operating System: Windows 10
Location: San Sebastian - Spain
Contact:

Re: Gauge oscillation in dashboard 2

Post by kocher »

Greetings Hans

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


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

User avatar
HansR
Posts: 1380
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
Location: Wagenborgen (NL)
Contact:

Re: Gauge oscillation in dashboard 2

Post 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
https://meteo-wagenborgen.nl / Cumulus 3.6.8 (build: 3084)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l (before: 4.19.118)
Mono JIT compiler version 6.10.0.104 (before: 6.8.0.123)

User avatar
HansR
Posts: 1380
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
Location: Wagenborgen (NL)
Contact:

Re: Gauge oscillation in dashboard 2

Post 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)
https://meteo-wagenborgen.nl / Cumulus 3.6.8 (build: 3084)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l (before: 4.19.118)
Mono JIT compiler version 6.10.0.104 (before: 6.8.0.123)

Post Reply