Author |
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: December 26 2006 at 12:34 | IP Logged
|
|
|
I think I found the issue with one of my triggers not working all the time.
This does not fire it...
Incoming Insteon received on Insteon DM controller INSTEON-1. From Address:[x.x.x] To Address:[x.x.x] Flags:[69] Cmd1:[19] Cmd2:[1]. Decode: Group Cleanup. From: BATHROOM LIGHT To: POWERLINC1 Group: 1, Off
But this does...
Incoming Insteon received on Insteon DM controller INSTEON-1. From Address:[x.x.x] To Address:[x.x.x] Flags:[207] Cmd1:[19] Cmd2:[0]. Decode: Group Broadcast. From: BATHROOM LIGHT Group: 1, Off
Is there a way to get the first one to trigger without the Insteon Device Change method?
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: December 26 2006 at 13:29 | IP Logged
|
|
|
Tony,
Unfortunately, no. The trigger fires on the Group Broadcast command and not the group cleanup. I'll look at the code and see how hard it would be to add. The reason I didnt fool with the group cleanup is that they are not "guaranteed" commands. IOW, when a switch controls another switch, it first sends a group broadcast. This is what your switch should be responding to (and what the PLC should see) unless your communications are having problems. After the group broadcast and assuming that no other Insteon communications are present, the device will start sending group cleanup commands. The big problem here is that if any Insteon traffic appears on the powerline, the group cleanup commands are aborted (and therefore not "guaranteed").
However, if the group cleanup commands (if they get sent) are more reliable since it's a direct command requiring confirmation.
The Insteon Device Change trigger should fire on any change however.
If I can implement the Group Cleanup command into the trigger, keep in mind that the trigger will fire twice in most normal circumstances.
Dave.
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: December 26 2006 at 16:12 | IP Logged
|
|
|
OK, n/p.
In my system, the trigger in question just does not work all of the time. I have it set up so that the bathroom amp is turned off when the light turns off.
I'll just try the Device Change route and see if there's improvement.
|
Back to Top |
|
|