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

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

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

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: December 26 2006 at 13:29 | IP Logged Quote dhoward

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

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

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