X10 Community Forum

🖥️ActiveHome Pro => Plug-ins => Smart Macros => Topic started by: OldSalt on March 01, 2011, 12:35:14 PM

Title: RF Switch/Remote Debounce
Post by: OldSalt on March 01, 2011, 12:35:14 PM
RF switches and remotes will often produce multiple commands for a single keypress.  There are numerous situtations where this is not acceptable.  One example of this is where an RF Switch/Remote is used to trigger a macro.  Here is a solution that Allows only one command to be forwarded.

A1 - Phantom Module 1 (RF Switch SS13A sends commands)
A2 - Module 2 Implemented in software, not physically present(Used to trigger other Macros)

Macro1 Power On:
Trigger: A1 On
Condition: A2 Off
Action:
 - Send A2 On
 - Delay 5 seconds (set to your preference)

Macro2 Power Off:
Trigger: A1 Off
Condition: A2 On
Action:
 - Send A2 Off
 - Delay 5 seconds (set to your preference)


A2 can now be used as a trigger for your macro