upstatemike
Senior Member
I'm trying to convert a Stargate event into an Elk M1 Rule and am having a hard time figuring out how to do it efficiently. All the event does is monitor eleven inputs shared between the Stargate and Elk units and turns on a relay whenever one or more of the inputs is on and shuts the relay off again whenever all the inputs are clear. The inputs monitor eleven lighting zones in the basement and the relay operates an indicator over the door to the basement stairs to let me know if any lights have been left on. Here is the existing Stargate event:
Event: Basement Indicator
If
(DI: Basement Stairs) is ON
or (DI: Wood Room)
or (DI: Lab1)
or (DI: Lab2)
or (DI: Lab3)
or (DI: Lab4)
or (DI: Storage Room)
or (DI: Furnace Room)
or (DI: Pump Room)
or (DI: Workshop)
or (DI: Telephone Room)
Then
(RELAY: SG16) ON
Else
(RELAY: SG16) OFF
End
How can I replicate this in the Elk M1 without using a whole ton of separate rules?
Event: Basement Indicator
If
(DI: Basement Stairs) is ON
or (DI: Wood Room)
or (DI: Lab1)
or (DI: Lab2)
or (DI: Lab3)
or (DI: Lab4)
or (DI: Storage Room)
or (DI: Furnace Room)
or (DI: Pump Room)
or (DI: Workshop)
or (DI: Telephone Room)
Then
(RELAY: SG16) ON
Else
(RELAY: SG16) OFF
End
How can I replicate this in the Elk M1 without using a whole ton of separate rules?