victronenergy / venus

Victron Energy Unix/Linux OS
https://github.com/victronenergy/venus/wiki
587 stars 75 forks source link

gui for systems in "kiosk mode": automatically go back after going to the notifications screen #888

Open mpvader opened 2 years ago

mpvader commented 2 years ago

This improvement is for systems where the user can not use the touch screen - aka kiosk mode: there are systems out there where the user cannot use the touch screen. For example rental hybrid gensets, where the rental agency simply doesn't want the user to do anything on the GX - and to accomplish that they've mounted it behind a window. And they then, for example, install a Digital Multi Control to allow just the bare necessity of control by the operator of the system.

There is one issue for such systems: if something triggers the gui to show a notification (ie a low battery alarm), the gui goes to, and then stays on the notification screen - even after the alarm was cleared. Is there some simple rule we could make to automatically go back to the previous screen - and then still show some exclamation mark blinking to indicate that something happened and hasn't been acknowledged yet - once the count of active alarms has dropped back down to 0?

Doable in todays gui? or better done only in the design for the next generation gui?

kwindrem commented 2 years ago

How about a physical button attached to one of the digital inputs that would return clear the alarm and return the menu system to the desired page?

I suppose you could use a timeout for the notification but then it could go away before anyone notices.

mpvader commented 2 years ago

Hi Kevin, thanks. We’ll consider this as well. Matthijs

SturmUDrang commented 2 years ago

Hi! We would also need an addition to the kiosk mode where the touch would be completely disabled on GX Touch so users can't play with language or other settings that are not disabled in user mode. The screen would be forced to stay on the page set on LAN or remote.

BTW Is there any quick workaround to disable touch from OS side?

jhofstee commented 2 years ago

For sure, never jump automatically in menus, it is just really annoying ...

mpvader commented 2 years ago

Fyi This is being fixed in the new gui, the Qt6 one