Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Control Speed 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: October 08 2007 at 20:41 | IP Logged Quote TonyNo

OK, Dave! Any back doors to get faster response time from Insteon modules?

I'm trying some Halloween lighting effects and about one second is the fastest response I can get.
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: October 08 2007 at 22:19 | IP Logged Quote dhoward

Tony,

I played around and the best I can get is about 16 transitions in 10.5 seconds. Not great, but about the best that can be done.

The main thing is to always use PLC groups. Group commands are not acknowledged so they can be sent faster. The other thing to do is to disable background polling while running the Halloween effects. Next, make sure to disable any triggers that fire on Insteon Device Chg (that are on the Halloween lights) and any Insteon Group Out on the groups that you're using. If you can structure your groups where certain lights go to 0% while others are coming on and use varying ramprates, it will appear that you're exerting more control than you actually are.

The last thing is a backdoor command to squeeze that last little bit out. Below is a sample command that turns my PLC group 3 on and then off. It first disables the trigger that will fire on this group transition and then disables background polling.

ph_disabletrigger("INSTEON_CHG") + ph_insteonctrl("INSTEON","pollinterval",0) + ph_ctlrcmd1("INSTEON",5031,17,0,"00.00.03","C5",0) + ph_delay(100) + ph_ctlrcmd1("INSTEON",5031,19,0,"00.00.03","C5",0) + ph_insteonctrl("INSTEON","pollinterval",10) + ph_enabletrigger("INSTEON_CHG")

The backdoor command is ph_ctlrcmd1. Check the help file for info. The portions that need explaining are the third parameter which is the Insteon command to send and the fifth parameter which is the PLC group. Also, note the delay command. If you don't have this delay, the commands will overrun the SDM buffer and will actually slow down and nearly stop. This command will also bypass group cleanups, so a little extra speed will be picked up there.

Wish there was some way to go faster but this is about the best I can do.

HTH,

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: October 09 2007 at 07:18 | IP Logged Quote TonyNo

Thanks Dave!
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