I´m beginner of isy994i and I need some help because I don´t know if I want is possible. Sorry for my english...
I have two switchlink on/off 2477S and I would like to turn on the light 02 only when I pressed (dual click) the switchlinc button of the module 01. When I pressed (up) the first time, the light 01 turn on and if I press (up) again the light 02 turn on too. I would like to wait the double click before decide if I need to turn on the light 01 or not.
Details of my system:
- light 01 - wired in switchlinc 01 (2477S)
- light 02 - wired in switchlinc 02 (2477S)
a) one click (up) on the switchlinc 01 - turn on the light 01
double click (up) on the switchlinc 01 - turn on the light 02 - the light 01 is preserved as your original state (doesn´t change your state)
c) one click (down) on the switchlinc 01 - turn off the light 01
d) double click (down) of switchlinc 01 - turn off the light 02 - the light 01 is preserved as your original state (doesn´t change your state)
My program:
--- double click off ---
If
$count is -2
Then
$count = 0
Set 'Light 2' Off
Set 'Light 2' 250 (Beep Duration)
Set 'Light 1' 100% (Backlight Level)
Else
Wait 3 seconds
Set 'Light 1' 100% (Backlight Level)
$count = 0
--- double click on ---
If
$count is 2
Then
$count = 0
Set 'Light 2' On
Set 'Light 2' 250 (Beep Duration)
Set 'Light 1' 100% (Backlight Level)
Else
Wait 3 seconds
Set 'Light 1' 100% (Backlight Level)
$count = 0
---Light 02 off---
If
Control 'Light 1' is switched Off
Then
$count -= 1
Set 'Light 1' 0% (Backlight Level)
Run Program 'double click off' (If)
Else
- No Actions - (To add one, press 'Action')
---Light 02 on ---
If
Control 'Light 1' is switched On
Then
$count += 1
Set 'Light 1' 0% (Backlight Level)
Run Program 'double click on' (If)
Else
- No Actions - (To add one, press 'Action')
Thanks,
Fabio