---
title: Smart Panel - Smart Panel as an alarm system keypad
description: Sometimes there is a need to authorize an operation with a password. In the alarm systems, we have a keypad that allows us to do this. In the Grenton System, authorization can be performed using the S
---

[Skip to content](https://knowledgebase.grenton.com/en/smart-panel-smart-panel-as-an-alarm-system-keypad#main-content)

- [English](https://knowledgebase.grenton.com/en/smart-panel-smart-panel-as-an-alarm-system-keypad)
- [Polski](https://knowledgebase.grenton.com/pl/smart-panel-jako-manipulator-systemu-alarmowego)

English

Show submenu for translations

[New ticket](https://knowledgebase.grenton.com/en/kb-tickets/new?hsLang=en) [Customer portal](https://knowledgebase.grenton.com/wsparcie?hsLang=en)

![Logo\_Grenton\_Main\_2020\_RGB\_v1.0-1.png\]](https://knowledgebase.grenton.com/hs-fs/hubfs/Logo_Grenton_Main_2020_RGB_v1.0-1.png?width=200&height=94&name=Logo_Grenton_Main_2020_RGB_v1.0-1.png)

Open main navigation

Close main navigation

- - [English](https://knowledgebase.grenton.com/en/smart-panel-smart-panel-as-an-alarm-system-keypad)
    - [Polski](https://knowledgebase.grenton.com/pl/smart-panel-jako-manipulator-systemu-alarmowego)

  English
  
  Show submenu for translations
- [New ticket](https://knowledgebase.grenton.com/en/kb-tickets/new)
- [Customer portal](https://knowledgebase.grenton.com/wsparcie)
- [Trainings](https://www.grenton.com/cooperation/trainings.html)

[Trainings](https://www.grenton.com/cooperation/trainings.html)

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Knowledge Base](https://knowledgebase.grenton.com/en?hsLang=en)
2. [Manuals](https://knowledgebase.grenton.com/en/manuals?hsLang=en)
3. [Smart Panel](https://knowledgebase.grenton.com/en/manuals?hsLang=en#smart-panel)

# Smart Panel - Smart Panel as an alarm system keypad

Sometimes there is a need to authorize an operation with a password. In the alarm systems, we have a keypad that allows us to do this. In the Grenton System, authorization can be performed using the *Smart Panel*.

Below are instructions on how to realize this.

To complete this example, there are needed:

- CLU Z-Wave 
- Grenton Smart Panel
- Gate Alarm (optional)

1\. Preparation of user features responsible for counting the number of button presses  
![](https://knowledgebase.grenton.com/hubfs/Knowledge%20Base%20Import/s3.amazonaws.comcdn.freshdesk.comdatahelpdeskattachmentsproduction35155989809originalX-yAKjWm4UQ0mvaR6jpRdrapfINPkFOWbQ-1.png)

1\. Preparation of an***alarm\_screen  script*** responsible for displaying the *ALARM* page

The script is created to check the value of a feature, e.g. alarm system status (*Gate\_Alarm-\>alarm\_state*) and then set the appropriate page.

```
CLU->x250005193_PANEL_01->PrintText(45,10,"ALARM",1.5) CLU->x250005193_PANEL_01->DrawLine(0,25,127,25,1) if(Gate_Alarm->alarm_state==1) then CLU->x250005193_PANEL_01->DrawIcon(60,35,"locked") CLU->x250005193_PANEL_01->PrintText(15,40,"Disarm",1.5) CLU->x250005193_PANEL_01->DisplayContent() CLU->x250005193_PANEL_BUTTON_01->RedLedSwitchOn() CLU->x250005193_PANEL_BUTTON_02->RedLedSwitchOn() CLU->x250005193_PANEL_BUTTON_03->RedLedSwitchOn() CLU->x250005193_PANEL_BUTTON_04->RedLedSwitchOn() else CLU->x250005193_PANEL_01->DrawIcon(60,35,"unlocked") CLU->x250005193_PANEL_01->PrintText(15,40,"Arm",1.5) CLU->x250005193_PANEL_01->DisplayContent() CLU->x250005193_PANEL_BUTTON_01->LedSwitchOn() CLU->x250005193_PANEL_BUTTON_02->LedSwitchOn() CLU->x250005193_PANEL_BUTTON_03->LedSwitchOn() CLU->x250005193_PANEL_BUTTON_04->LedSwitchOn() end
```

2\. *Smart Panel* configuration

Set *PANEL\_PAGE\_01* object as following:

![](https://knowledgebase.grenton.com/hubfs/Knowledge%20Base%20Import/s3.amazonaws.comcdn.freshdesk.comdatahelpdeskattachmentsproduction35155990209originalnl3CEKVUtdohLiLxijHtHYrER_0OTNkhWg-1.png)

![](https://knowledgebase.grenton.com/hubfs/Knowledge%20Base%20Import/s3.amazonaws.comcdn.freshdesk.comdatahelpdeskattachmentsproduction35155990250original-c8Y3PBJuJCJMQT5W8U6hZrMsoydjFNHqQ-1.png)

In *PANEL\_BUTTON\_01*, *PANEL\_BUTTON\_02*,* PANEL\_BUTTON\_03* i *PANEL\_BUTTON\_04* objects enter commands responsible for the increment of *button\_1*,* button\_2*, *button\_3*, *button\_4* user features.

![](https://knowledgebase.grenton.com/hubfs/Knowledge%20Base%20Import/s3.amazonaws.comcdn.freshdesk.comdatahelpdeskattachmentsproduction35097754279originalkJK8djlGa-VZSUlIqCJhfb9AcO3ZYW5Mlg-4.png)

3\. Activation, deactivation of the alarm and PIN verifying

To entering the PIN by user, it is necessary to specify the time in which the password should be entered. For this purpose, is needed to prepare *Timer* virtual object (***PIN\_timeout***).

![](https://knowledgebase.grenton.com/hubfs/Knowledge%20Base%20Import/s3.amazonaws.comcdn.freshdesk.comdatahelpdeskattachmentsproduction35155990569originalt04Pi_oHMiRVjuDdoLjvhKhzLDnV71Oiuw-1.png)

Each start of the *Timer,* resets the values of the user features.

![](https://knowledgebase.grenton.com/hubfs/Knowledge%20Base%20Import/s3.amazonaws.comcdn.freshdesk.comdatahelpdeskattachmentsproduction35155991424originalMujg8H_nJtj9eozPQy9lP_ejHyuhPznfsw-1.png)

In order to inform the user about the possibility of entering the password or executed activation of alarm, prepare a script called ***PIN\_entering***:

```
if(Gate_Alarm->alarm_state==1) then CLU->x250005193_PANEL_01->ClearScreen() CLU->x250005193_PANEL_01->PrintText(20,25,"Enter the PIN",1.500) CLU->x250005193_PANEL_BUTTON_01->ShowError() CLU->x250005193_PANEL_BUTTON_02->ShowError() CLU->x250005193_PANEL_BUTTON_03->ShowError() CLU->x250005193_PANEL_BUTTON_04->ShowError() CLU->x250005193_PANEL_01->DisplayContent() CLU->PIN_timeout->Start() CLU->x250005193_PANEL_01->SwitchOnDisplay() else Gate_Alarm->alarm_state=1 CLU->alarm_screen() end
```

A** *PIN\_denial*** script responsible for informing the user of an incorrect password:

```
CLU->x250005193_PANEL_01->ClearScreen() CLU->x250005193_PANEL_01->PrintText(25,25,"Incorrect PIN",1.500) CLU->x250005193_PANEL_01->SetBeep(560,230,16,0) SYSTEM.Wait(200) CLU->x250005193_PANEL_01->SetBeep(260,130,16,0) CLU->x250005193_PANEL_01->DisplayContent() CLU->x250005193_PANEL_01->SwitchOnDisplay() CLU->x250005193_PANEL_BUTTON_01->ShowError() CLU->x250005193_PANEL_BUTTON_02->ShowError() CLU->x250005193_PANEL_BUTTON_03->ShowError() CLU->x250005193_PANEL_BUTTON_04->ShowError() SYSTEM.Wait(2000) CLU->PIN_entering()
```

A ***PIN\_acceptance*** script responsible for informing the user of a correct password:

```
CLU->x250005193_PANEL_01->SwitchOnDisplay() CLU->x250005193_PANEL_01->ClearScreen() CLU->x250005193_PANEL_01->PrintText(20, 15, "ALARM ", 1.500) CLU->x250005193_PANEL_01->PrintText(20, 30, "INACTIVE", 1.500) CLU->x250005193_PANEL_01->DisplayContent() CLU->x250005193_PANEL_BUTTON_01->ShowOK() CLU->x250005193_PANEL_BUTTON_02->ShowOK() CLU->x250005193_PANEL_BUTTON_03->ShowOK() CLU->x250005193_PANEL_BUTTON_04->ShowOK() CLU->x250005193_PANEL_01->SetBeep(560,230,16,0) SYSTEM.Wait(1000) CLU->alarm_screen()
```

After the time for entering the password has elapsed, following script (***PIN\_verification***) will be run:

```
if(not (CLU->button_1==2)) then CLU->PIN_denial() else if(not (CLU->button_2==3)) then CLU->PIN_denial() else if(not (CLU->button_3==1)) then CLU->PIN_denial() else if(not (CLU->button_4==1)) then CLU->PIN_denial() else CLU->PIN_acceptance() Gate_Alarm->alarm_state=0 CLU->alarm_screen() end end end end
```

The above mentioned scripts should be assigned to the events as follows:

In***PIN\_timeout*** virtual object:

![](https://knowledgebase.grenton.com/hubfs/Knowledge%20Base%20Import/s3.amazonaws.comcdn.freshdesk.comdatahelpdeskattachmentsproduction35155991237originalMK5oll1ZZodD3v18v-htCUGjvArG8smq_A-1.png)

In ***PANEL\_BUTTON\_03* **object:

![](https://knowledgebase.grenton.com/hubfs/Knowledge%20Base%20Import/s3.amazonaws.comcdn.freshdesk.comdatahelpdeskattachmentsproduction35155998186originalVLuVxiX-Yt0WvEy7hqNyJYnh21Jr5z60qQ-1.png)

Additionally, in embedded features of***PANEL\_BUTTON\_03*** object, increment the value of ***HoldInterval*** feature:

![](https://knowledgebase.grenton.com/hubfs/Knowledge%20Base%20Import/s3.amazonaws.comcdn.freshdesk.comdatahelpdeskattachmentsproduction35155998278original1jCCMXlo00-Xqlz3v6OOXT2_dY0i2DU4wg-1.png)

The configuration should be sent to the CLU unit.

On hold press of *PANEL\_BUTTON\_03*  the alarm will be activated. When the alarm is active, a long press of the *PANEL\_BUTTON\_03* allows you to enter the password.

![](https://knowledgebase.grenton.com/hubfs/Knowledge%20Base%20Import/support.grenton.plensupportsolutionsarticles35000166321-smart-panel-smart-panel-as-an-alarm-system-keypadhit-1.gif)

- [Installation guidelines](https://knowledgebase.grenton.com/en/installation-guidelines?hsLang=en#main-content)

    - [How to Prepare Electrical Installation](https://knowledgebase.grenton.com/en/installation-guidelines?hsLang=en#how-to-prepare-electrical-installation)
- [Reference devices](https://knowledgebase.grenton.com/en/reference-devices?hsLang=en#main-content)

    - [Integrated Device](https://knowledgebase.grenton.com/en/reference-devices?hsLang=en#integrated-device)
- [Most Common Mistakes](https://knowledgebase.grenton.com/en/most-common-mistakes?hsLang=en)
- [Electrical Installation](https://knowledgebase.grenton.com/en/electrical-installation?hsLang=en)
- [Manuals](https://knowledgebase.grenton.com/en/manuals?hsLang=en#main-content)

    - [Gate Modbus](https://knowledgebase.grenton.com/en/manuals?hsLang=en#gate-modbus)
    - [Training](https://knowledgebase.grenton.com/en/manuals?hsLang=en#training)
    - [SW Applications](https://knowledgebase.grenton.com/en/manuals?hsLang=en#sw-applications)
    - [Gate HTTP](https://knowledgebase.grenton.com/en/manuals?hsLang=en#gate-http)
    - [Smart Panel](https://knowledgebase.grenton.com/en/manuals?hsLang=en#smart-panel)
    - [Configuration](https://knowledgebase.grenton.com/en/manuals?hsLang=en#configuration)
    - [myGrenton interfaces](https://knowledgebase.grenton.com/en/manuals?hsLang=en#mygrenton-interfaces)
    - [Virtual Objects](https://knowledgebase.grenton.com/en/manuals?hsLang=en#virtual-objects)
    - [Gate Alarm](https://knowledgebase.grenton.com/en/manuals?hsLang=en#gate-alarm)
- [Intercom](https://knowledgebase.grenton.com/en/intercom?hsLang=en)
- [FAQ](https://knowledgebase.grenton.com/en/faq?hsLang=en#main-content)

    - [FAQ](https://knowledgebase.grenton.com/en/faq?hsLang=en#faq)
    - [About Grenton](https://knowledgebase.grenton.com/en/faq?hsLang=en#about-grenton)
- [Price list and documents](https://knowledgebase.grenton.com/en/price-list-and-documents?hsLang=en)

[![Grenton logo](https://knowledgebase.grenton.com/hs-fs/hubfs/Logo_Grenton_variants_BIG_2020_plus_RGB_v0.2-02.png?width=400&height=100&name=Logo_Grenton_variants_BIG_2020_plus_RGB_v0.2-02.png "Grenton logo")](http://grenton.com)

<https://www.facebook.com/grenton.smart.home> <https://www.instagram.com/grenton_smart_home/> <https://www.youtube.com/channel/UCFNNI-dgO1cm81kCrSr1bzg> <https://www.linkedin.com/company/grenton>

Copyright © 2026, Grenton Sp.z o.o.