Related but a little different. I am on the version of the driver before your update today. I finally got it working, honestly not sure what it took. I know there are notes about having to initialize it first. I had been doing that. I did again, with 8,1,0. I found that this was sort of remembered. So as I went back and forth playing with the device in my rules, if I did something like 1,2,0 then back to off, it would go back to 8,1,0. Eventually I initialized it again with 0,0,0. That works. Note I only find it working if I intetionally call SetNormal and SetMode (abbreviated)
Ok, so as you can see I am trying to control individual LEDs.
If the light is on, or off and hsm disarmed, and 2 contacts and 2 other switches, then SetSwitchModeNormal (all LEDs normal). But if HSM is not disarmed, then SetStatusLed 8,1,0-all red. If Contact1 open then 1,2,0. If Contact2 open then 5,6,0. If Switch2 On, then 3,4,0 and finally If Switch3 On, then 7,3,0.
The challenge I am having is my rule keeps skipping.
This is the current state of the rule:
IF (FR Deck(off) is on(F) OR
( FR Deck, Thermostat Override, Master Lights Override(off, off, off) all is off(T) AND
Thermo: Doors / Windows Open, Alarm: Windows / Doors Open all closed(T) AND
HSM status is Disarmed(T)
) [TRUE]) THEN
setSwitchModeNormal() on FR Deck
ELSE-IF (NOT HSM status is Disarmed(T) [FALSE]) THEN
setSwitchModeNormal() on FR Deck
Delay 0:00:05
setSwitchModeStatus() on FR Deck
setStatusLed(0, 1, 0) on FR Deck
END-IF
IF (Alarm: Windows / Doors Open open(F) [FALSE]) THEN
setSwitchModeNormal() on FR Deck
Delay 0:00:05
setSwitchModeStatus() on FR Deck
setStatusLed(1, 2, 0) on FR Deck
END-IF
IF (Thermo: Doors / Windows Open open(F) [FALSE]) THEN
setSwitchModeNormal() on FR Deck
Delay 0:00:05
setSwitchModeStatus() on FR Deck
setStatusLed(5, 6, 0) on FR Deck
This results in this log:
Action: setStatusLed(5, 6, 0) on FR Deck (skipped)
When I opened contact1 or contact2
However, this worked before I built the last If section...
IF (FR Deck(off) is on(F) OR
( FR Deck, Thermostat Override, Master Lights Override(off, off, off) all is off(T) AND
Thermo: Doors / Windows Open, Alarm: Windows / Doors Open all closed(F) AND
HSM status is Disarmed(T)
) [FALSE]) THEN
setSwitchModeNormal() on FR Deck
ELSE-IF (NOT HSM status is Disarmed(T) [FALSE]) THEN
setSwitchModeNormal() on FR Deck
Delay 0:00:05
setSwitchModeStatus() on FR Deck
setStatusLed(0, 1, 0) on FR Deck
END-IF
IF (Alarm: Windows / Doors Open open(T) [TRUE]) THEN
setSwitchModeNormal() on FR Deck
Delay 0:00:05
setSwitchModeStatus() on FR Deck
setStatusLed(1, 2, 0) on FR Deck
END-IF
Log:
Action: setStatusLed(1, 2, 0) on FR Deck
I am really trying to write this as one rule, and remember I still have to step through 2 more light switches. I need the last 4 items; 2 contacts and 2 switches to stack. Such that if contact1 is open and switch3 is on, it would send SetStatusLeds 1,2,0 AND 7,3,0.
Any ideas why my rule skips?