Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Insteon Group Trigger Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
UpstateMike
Senior Member
Senior Member


Joined: February 18 2006
Location: United States
Online Status: Offline
Posts: 142
Posted: June 23 2006 at 10:36 | IP Logged Quote UpstateMike

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 View UpstateMike's Profile Search for other posts by UpstateMike
 
UpstateMike
Senior Member
Senior Member


Joined: February 18 2006
Location: United States
Online Status: Offline
Posts: 142
Posted: June 23 2006 at 11:02 | IP Logged Quote UpstateMike

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 View UpstateMike's Profile Search for other posts by UpstateMike
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: June 23 2006 at 12:21 | IP Logged Quote TonyNo

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 View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
UpstateMike
Senior Member
Senior Member


Joined: February 18 2006
Location: United States
Online Status: Offline
Posts: 142
Posted: June 23 2006 at 13:02 | IP Logged Quote UpstateMike

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 View UpstateMike's Profile Search for other posts by UpstateMike
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: June 23 2006 at 19:30 | IP Logged Quote TonyNo

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 View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
UpstateMike
Senior Member
Senior Member


Joined: February 18 2006
Location: United States
Online Status: Offline
Posts: 142
Posted: June 23 2006 at 20:32 | IP Logged Quote UpstateMike

Tried that. I'm still missing something because it didn't work.
Back to Top View UpstateMike's Profile Search for other posts by UpstateMike
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: June 23 2006 at 22:50 | IP Logged Quote dhoward

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 View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
UpstateMike
Senior Member
Senior Member


Joined: February 18 2006
Location: United States
Online Status: Offline
Posts: 142
Posted: June 23 2006 at 23:39 | IP Logged Quote UpstateMike

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 View UpstateMike's Profile Search for other posts by UpstateMike
 
cmhardwick
Senior Member
Senior Member
Avatar

Joined: July 08 2006
Location: United States
Online Status: Offline
Posts: 290
Posted: July 11 2006 at 09:33 | IP Logged Quote cmhardwick

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 View cmhardwick's Profile Search for other posts by cmhardwick Visit cmhardwick's Homepage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: July 14 2006 at 16:25 | IP Logged Quote dhoward

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 View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 

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