Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

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 drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Gauge oscillation in dashboard 2

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Post Reply
User avatar
HansR
Posts: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
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:
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
HansR
Posts: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
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...
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
kocher
Posts: 233
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: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
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
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
HansR
Posts: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
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)
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Post Reply