Author |
|
doctorjerry Groupie
Joined: November 10 2007 Location: United States
Online Status: Offline Posts: 57
|
Posted: March 05 2008 at 21:02 | IP Logged
|
|
|
How do I write code for two quick off presses of an insteon switch as a trigger?
Jerry
Edited by doctorjerry - March 05 2008 at 21:03
__________________ Jerome
|
Back to Top |
|
|
cmhardwick Senior Member
Joined: July 08 2006 Location: United States
Online Status: Offline Posts: 290
|
Posted: March 05 2008 at 21:30 | IP Logged
|
|
|
two quick presses SHOULD send a faston or fastoff (depending), so that would be the trigger value (instead of ON or OFF or Dim, etc). The exception to this is the Controlinc table top controller. It does not send faston/fastoff at all (unfortunately).
__________________ Cicero, Enjoying automation!
|
Back to Top |
|
|
doctorjerry Groupie
Joined: November 10 2007 Location: United States
Online Status: Offline Posts: 57
|
Posted: March 05 2008 at 22:45 | IP Logged
|
|
|
I was looking for formal program code that could distinguish one press of a switch (which would turn off the lamp directly connected) from two or three presses of the same switch which would additionally trigger a corresponding macro.
__________________ Jerome
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: March 06 2008 at 07:35 | IP Logged
|
|
|
I don't know if anyone has done something like this, but this thread is close.
|
Back to Top |
|
|
doctorjerry Groupie
Joined: November 10 2007 Location: United States
Online Status: Offline Posts: 57
|
Posted: March 06 2008 at 10:53 | IP Logged
|
|
|
I think that thread does describe what I want. Unfortunately its in a language that I'm not familiar with. In fact it's Greek to me. I'll save the link for now and see if I can find a primer on the progamming language. Can you suggest one? Is there something like that in the forum?
__________________ Jerome
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: March 06 2008 at 13:25 | IP Logged
|
|
|
Yup. Check the Quick Start doc that came with PH. Also, poke around here on the forums. Lots of info.
|
Back to Top |
|
|