Announcement

Collapse
No announcement yet.

More commands

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • More commands

    Hello.
    i have one question.
    Is possible nave more commands with the same switch?
    For example : if pull on switch for 2 seconds then....if pull on switch for 5 seconds then .....

  • #2
    Yes, just use a homeseer timer. start it on the button press then stop it on release and trigger the events on the timer value.

    Event 1
    If the button is pressed then start the timer

    Event 2
    If the button is released
    and Timer < 2 sec
    then stop timer
    Do more stuff that you want

    Event 3
    If the button is released
    and Timer > 2 sec
    and Timer < 5 sec
    then stop timer
    Do more stuff that you want

    If timer > 10
    Stop timer
    This stops this timer rolling when not required.

    Repeat for all available times you need.

    Greig.



    Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
    X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
    Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
    Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
    Scripts =
    Various

    Comment


    • #3
      Works.
      Thank you, Greig

      Comment

      Working...
      X