If you want to block buttons or gestures in the panel for some time, to be able to clean the glass, follow these steps:


1. Create a "unclean" script that will cause red LEDs to turn on, buttons will not respond to touch, gestures will not be detected, and then the Timer will start.


Graphically:

lyrically:

CLU->x250001517_PANEL_BUTTON1->RedLedSwitchOn()

CLU->x250001517_PANEL_BUTTON2->RedLedSwitchOn()

CLU->x250001517_PANEL_BUTTON3->RedLedSwitchOn()

CLU->x250001517_PANEL_BUTTON4->RedLedSwitchOn()

CLU->x250001517_PANEL_BUTTON1->SetMode(2)

CLU->x250001517_PANEL_BUTTON2->SetMode(2)

CLU->x250001517_PANEL_BUTTON3->SetMode(2)

CLU->x250001517_PANEL_BUTTON4->SetMode(2)

CLU->x250001517_PANEL1->SetGestureMode(0)

CLU->clean_time->Start()


2. Create a "clean_time" Timer virtual object that runs the "clean" script after 60s (washing time)

The timer counts down the pre-defined cleaning time.


3. Create a "clean" script. This script will restore normal operation of the panel.


Graphically:

lyrically::

CLU->x250001517_PANEL_BUTTON1->LedSwitchOff()

CLU->x250001517_PANEL_BUTTON2->LedSwitchOff()

CLU->x250001517_PANEL_BUTTON3->LedSwitchOff()

CLU->x250001517_PANEL_BUTTON4->LedSwitchOff()

CLU->x250001517_PANEL_BUTTON1->SetMode(0)

CLU->x250001517_PANEL_BUTTON2->SetMode(0)

CLU->x250001517_PANEL_BUTTON3->SetMode(0)

CLU->x250001517_PANEL_BUTTON4->SetMode(0)

CLU->x250001517_PANEL1->SetGestureMode(1)


4. The washing mode can be triggered using e.g. a mobile application or OnLongPress event run on the Panel.