Jump to content


Photo
- - - - -

Need help with Elk M1 Rules


  • Please log in to reply
2 replies to this topic

#1 upstatemike

upstatemike

    Cocoonut

  • Registered
  • PipPipPipPip
  • 3556 posts
  • Location:CNY
  • Experience:novice
  • Hardware:Elk M1, HomeTroller, ISY-99, StarGate
  • Tech:INSTEON
  • Audio:Sonos
  • CCTV:ip
  • Phone:POTS

Posted 14 April 2018 - 01:39 PM

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?



#2 RAL

RAL

    Cocoonut

  • Registered
  • PipPipPipPip
  • 1726 posts
  • Location:Rhinebeck, NY
  • Experience:average
  • Hardware:Elk M1
  • Tech:X10-PLC
  • Phone:POTS

Posted 14 April 2018 - 02:04 PM

I think you would have to do something like this.

 

Whenever every 1 minute   (or x seconds, if you need faster indications)

  AND Zone 017 IS Secure

  OR  Zone 018 IS Secure

  OR  Zome 019 IS Secure

    ...

    THEN Turn Output 016 ON

 

Whenever every 1 minute

  AND  Zone 017 IS Not Secure

  AND  Zone 018 IS Not Secure

  AND  Zone 019 IS Not Secure

    ...

    THEN Turn Output 016 OFF

 

My assumption is that when a light is on, the zone input is closed, indicating secure status. 

 

So, if one or more of the zones is secure,  the indicator light will be turned on.  If all the zones are not secure, then no lights are on, and the indicator is turned off.



#3 upstatemike

upstatemike

    Cocoonut

  • Registered
  • PipPipPipPip
  • 3556 posts
  • Location:CNY
  • Experience:novice
  • Hardware:Elk M1, HomeTroller, ISY-99, StarGate
  • Tech:INSTEON
  • Audio:Sonos
  • CCTV:ip
  • Phone:POTS

Posted 14 April 2018 - 02:30 PM

That should work... I didn't think of using a time trigger. Thanks!






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users