Author |
|
UpstateMike Senior Member
Joined: February 18 2006 Location: United States
Online Status: Offline Posts: 142
|
Posted: June 23 2006 at 10:36 | IP Logged
|
|
|
OK. Now that I have my X-10 translator working by having X-10 commands trigger PowerLinc groups, I need to do the reverse. When a PowerLinc group changes state I want to send an X-10 command to keep the X-10 table in my Stargate in sync.
I assume the correct trigger would be Insteon Group In with a separate trigger for ON and OFF. Would this triggewr work when any device linked to the group causes the group to turn ON (or OFF)? Or am I misunderstanding what Insteon Group In does?
|
Back to Top |
|
|
UpstateMike Senior Member
Joined: February 18 2006 Location: United States
Online Status: Offline Posts: 142
|
Posted: June 23 2006 at 11:02 | IP Logged
|
|
|
Never mind.... I think I answered my own question. You can't cross link to a controller group so I guess it is like a ControLinc button and doesn't actually have an On and OFF state the way a KeypadLinc button would. Now I'm really confused about what the Insteon Group In trigger does.
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: June 23 2006 at 12:21 | IP Logged
|
|
|
All of my Insteon triggers are Insteon Group In. That worked, so I stopped there. I'm not sure about the differences between Group and Direct.
|
Back to Top |
|
|
UpstateMike Senior Member
Joined: February 18 2006 Location: United States
Online Status: Offline Posts: 142
|
Posted: June 23 2006 at 13:02 | IP Logged
|
|
|
I think I see where my confusion is coming from. The "Insteon Group In" is a trigger on a button press event such as a particular keypad button being pushed. I guess what I am looking for is trigger based on a change of state. That is, I want to trigger something when a switch turns on (for example) without having to know how it turned on (local control, response to a contoller group, or whatever.)
Maybe these are responder based triggers rather than controller based ones?
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: June 23 2006 at 19:30 | IP Logged
|
|
|
From the PH Insteon doc...
A direct command is a single Insteon device directly communicating with another single Insteon device. These communcations are typically acknowledged through two-way communication between the devices and automatically retried in the event of communication failure. Group messages are not acknowledged and are a broadcast command. In other words, the message is not sent to a single device. The message originates with a single device and is "broadcast" to any device within range.
Looking at my log, all of my Icon dimmers send a group command when they are switched on or off.
Hitting the switch, I see this...
Incoming Insteon received on Insteon DM controller INSTEON-1. From Address:[01.7A.7E] To Address:[00.00.01] Flags:[207] Cmd1:[17] Cmd2:[0]. Decode: Group Broadcast. From: DINING RM LIGHT Group: 1, On
Controlling it from PH, I see this...
Insteon DM Controller INSTEON-1 transmission of Address:[01.7A.7E] Flags:[15] Cmd1:[19] Cmd2:[0]. Decode: Direct. ID: DINING RM LIGHT, Off
So, I think you would use an Insteon Group In Trigger Type, select your controller for the Trigger ID, and specify the group number for the Trigger ID Number.
|
Back to Top |
|
|
UpstateMike Senior Member
Joined: February 18 2006 Location: United States
Online Status: Offline Posts: 142
|
Posted: June 23 2006 at 20:32 | IP Logged
|
|
|
Tried that. I'm still missing something because it didn't work.
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: June 23 2006 at 22:50 | IP Logged
|
|
|
The Insteon command sent by switches and the like when they are locally controlled is a "Group" command. They send a broadcast to no-one in particular and merely say that Im such and such device and Im controlling my group number 1 (1 for switchlincs, etc. 1-8 for KPL's, 1-5 for ControLincs).
After the group broadcast command is sent, the switch will then look through it's link database and send a "Group Cleanup" command which is a "Direct" command.
Also, when sending from the PLC using the ph_insteon function or the "Insteon" macro command or controlling from the Device Status screen, a "Direct" command will be sent. The ph_insteonrawgroup command uses a "Group" command.
Sooo, to trigger when a switch is controlled locally, you would use the "Insteon Group In" trigger.
Now the bad news. The current set of Insteon triggers only work on commands "sent" from a device. In other words, the trigger is looking for a specific command from a specific device and cannot currently trigger on a "device change" or received command (a particular device gets an "on" command). So instead of having a single trigger that fires when BEDROOM LIGHT receives an ON command, you would have to create a trigger for each device capable of sending the BEDROOM LIGHT an ON command.
Dont worry though, more Insteon triggers will be available in the next beta (damn Ive got a lot of work to do ) including the type of triggers detailed above.
HTH,
Dave.
|
Back to Top |
|
|
UpstateMike Senior Member
Joined: February 18 2006 Location: United States
Online Status: Offline Posts: 142
|
Posted: June 23 2006 at 23:39 | IP Logged
|
|
|
Sounds good. I figured if you can track status on the device status page then you should be able to trigger off a device status change.
|
Back to Top |
|
|
cmhardwick Senior Member
Joined: July 08 2006 Location: United States
Online Status: Offline Posts: 290
|
Posted: July 11 2006 at 09:33 | IP Logged
|
|
|
Is there some command sent when a light is turned on locally connected to a lamp module? (local control on) I've tried doing a trigger, but can't determine what's sent. The only reason I'd like it to trigger is to set the keypad link button that controls the light to ON so the status matches. I have noticed the status will update and show on, but I'm not seeing the group broadcast command.
Edited by cmhardwick - July 11 2006 at 14:27
__________________ Cicero, Enjoying automation!
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: July 14 2006 at 16:25 | IP Logged
|
|
|
CM,
Unfortunately no. LampLincs and Icon Lamp modules do not send any command when locally switched so there is nothing for PowerHome to trigger off of.
I think it's a definate flaw. I would never use switching the light on/off at the light itself but think it would have been somewhat useful to have a manual button that does send a command on the unit itself.
Dave.
|
Back to Top |
|
|