Program: Key.d - Universal Devices ISY-994i User Manual

Home automation
Hide thumbs Also See for ISY-994i:
Table of Contents

Advertisement

11.5.4.2Program: Key.D

If
Control 'Mudroom / MudRm Button.D' is switched On
Or Control 'Mudroom / MudRm Button.D' is switched Off
Then
$sKeypress_sequence *= 10
$sKeypress_sequence += 4 <----- unique number for each key
Wait 1 second
Run Program 'Key.D' (Else Path)
Else
- No Actions - (To add one, press 'Action')
The second set of program(s) is triggered by the state variable $sKeypress_sequence. Each
combination result requires a separate program that is enabled and a desired combination
variable. This same technique can be used to operate many devices from the same keypad
with only one extra program per combination desired.
My program uses one Integer variable called $cARM.COMBO (Note I use the 'c' prefix to
denote a variable used as a constant value.) This number needs to be manually set into the
variable as well as it's 'init to' value.
Your key combinations have no length restrictions other than the signed 32 bit value itself
so 9 digit combinations should not be a problem. Mixing 3 digit and 5 digit combinations
should also not be a problem except that longer combination sequences cannot start with
the same key sequence as a shorter combination sequence.
Any time a pause in entry, more than 4 seconds, is encountered after the last keypress the
internal sequence recording is reset and you will have to start over.
Page | 290

Advertisement

Table of Contents
loading

Related Products for Universal Devices ISY-994i

Table of Contents