Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: Triggers with Dim/Bright Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
RichardL
Senior Member
Senior Member


Joined: December 29 2008
Location: United States
Online Status: Offline
Posts: 165
Posted: March 03 2010 at 16:06 | IP Logged Quote RichardL

I am using triggers with the "Insteon Group In" (thanks Lee) to sense SwitchLincs and KPLs being turned On or Off with no problem. I have tried the same config but using the Bright and Dim setting, and it does not seem to work. I simply want to have different (dim/bright) triggers get launched if someone presses and holds a SwitchLinc to make it dim or bright. Any ideas?

Thanks.
Back to Top View RichardL's Profile Search for other posts by RichardL
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: March 03 2010 at 17:34 | IP Logged Quote grif091

Try the Trigger Value of Start Man Chg (0x17). This is the command issued when a paddle/button is pressed and held. The Stop Man Chg command (0x18) is issued when the paddle/button is released. If someone happens to double tap the paddle/button you get a command Fast On (0x12).

__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
RichardL
Senior Member
Senior Member


Joined: December 29 2008
Location: United States
Online Status: Offline
Posts: 165
Posted: March 03 2010 at 17:57 | IP Logged Quote RichardL

I saw that (there are also alot of other real cool items there...one day), but can that tell me if the paddle was dimmed versus brightened?

I want to have triggers if the SwitchLinc gets brightened, and different triggers if it gets dimmed...

Thanks!
Back to Top View RichardL's Profile Search for other posts by RichardL
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: March 03 2010 at 18:13 | IP Logged Quote grif091

The cmd2 field indicates direction of change. 0x00 = down,   0x01 = up.   Display the temp variables in the macro that is invoked by the trigger. Not sure if PH passes the cmd2 value on to the macro.

__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: March 03 2010 at 19:04 | IP Logged Quote grif091

Looks like temp3 is tracking with the cmd2 value. You can check temp3 for Up (1) or Down (0).

__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
RichardL
Senior Member
Senior Member


Joined: December 29 2008
Location: United States
Online Status: Offline
Posts: 165
Posted: March 14 2010 at 17:22 | IP Logged Quote RichardL

Got it, works fine!

I set the trigger for Start Man Chg (0x17), the trigger does a PH_RunScript_1, where I included [TEMP3] as a parameter. In the code I handled the 0 for dim, a 1 for bright.

More good stuff.

Thank you again!

Richard
Back to Top View RichardL's Profile Search for other posts by RichardL
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum