Author |
|
smarty Super User
Joined: May 21 2006 Location: United States
Online Status: Offline Posts: 728
|
Posted: August 01 2006 at 21:17 | IP Logged
|
|
|
Boy, I thought I understood this...but it's not working.
I want a trigger to fire AFTER the SwitcLinc (MB LTS) has confirmed it has turned on. I always want to be in synch with the MB LTS status. This light could be manually changed, or changed via P.H. (PowerLinc controller).
In the case where PH causes the light to change, I DON'T want to trigger on the outgoing PH controller command, but rather the incoming (to PH) confirmation. Similarly, when the light is changed locally, I would think I want PH to trigger on a MB LTS group in command(in to PH).
This is what I see in my log PH log file when I turn the MB LTS off via the Device Status screen (top line is latest entry):
INSTEON IN Incoming Insteon received on Insteon DM controller INST-USB. From Address:[01.60.FB] To Address:[07.8B.11] Flags:[47] Cmd1:[19] Cmd2:[0]. Decode: Direct ACK. From: MB LTS To: POWERLINC-USB, Off
INSTEON OUT Insteon DM Controller INST-USB transmission of Address:[01.60.FB] Flags:[15] Cmd1:[19] Cmd2:[0]. Decode: Direct. ID: MB LTS, Off
From the log I can see my INST-USB PowerLinc telling MB LTS to turn off. However the only trigger that I can get to fire is a INSTEON DIRECT OUT with the Trigger ID MB LTS. To me, this trigger is firing off the send command rather than acknowledged command.
I have tried all variations of Group In and Direct In, using MB LTS at the Trigger ID. What am I doing wrong (or mis-interpreting)?
__________________ Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
|
Back to Top |
|
|
nadler Super User
Joined: February 25 2006 Location: United States
Online Status: Offline Posts: 354
|
Posted: August 02 2006 at 08:47 | IP Logged
|
|
|
The gurus will have a definitive answer but I saw this in an earlier post by Dave and thought this has the answer:
"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. "
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: August 02 2006 at 21:20 | IP Logged
|
|
|
Smarty,
PowerHome does not trigger on the Insteon ACK of any command. This is primarily because when a device is controlled via another Insteon device (other than the PowerLinc), it's done via a Group command (only the PLC sends Direct commands). Group commands are not ACK'ed. After a group command is sent, a device MAY send a group cleanup command which would be ACK'ed. But this cleanup is not always sent and is dependent upon the device and current Insteon traffic.
That said, to do what you want will take several triggers (fire a trigger when a light changes status basically). Im working to have new triggers to simplify this in the next beta BTW.
First, you'll need an Insteon Group Out trigger for the PowerLinc on the group that controls the device in question. Next you'll need a trigger for Insteon Direct Out to cover direct commands from the PowerLinc (such as from the Device Status screen). You'll probably want to use a "From Any" to the specific device. These two triggers will cover the PowerLinc. Next you'll need an Insteon Group In trigger for each device that is capable of controlling the device in question. If you've got 5 switches that all control the bedroom light and the bedroom light is what you want to trigger on then you'll need 5 triggers. One for each controlling device. This will cover all your bases.
Dave.
|
Back to Top |
|
|
|
|