Author |
|
RichardL Senior Member
Joined: December 29 2008 Location: United States
Online Status: Offline Posts: 165
|
Posted: January 29 2010 at 13:57 | IP Logged
|
|
|
Is there a way to disable/enable a device, like a KPL programmatically, via PH.xxx?
Is it possible to set a light to "flash", I see the manual control menu, but no references in PH.xxx commands.
Thanks,
Richard
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: January 29 2010 at 15:29 | IP Logged
|
|
|
No Insteon command to do it programmatically. You can always pull the air-gap to shut it off.
Nothing in Insteon to "flash" a device with a specific command. You can turn On/Off with a pause between commands.
EDIT: this is the Insteon Raw Log for a Flash. Powerhome is alternating between Fast On and Fast Off.
2010-01-29 18:42:30.701 TX &nbs p; 02 62 04 56 50 05 12 00
2010-01-29 18:42:30.748 RX &nbs p; SENTINSTEON=0F 44 DC 04 56 50 05 12 00 06
2010-01-29 18:42:30.936 RX &nbs p; RECEIVEINSTEONRAW=04 56 50 0F 44 DC 21 12 00
2010-01-29 18:42:31.029 TX &nbs p; 02 62 04 56 50 05 14 00
2010-01-29 18:42:31.061 RX &nbs p; SENTINSTEON=0F 44 DC 04 56 50 05 14 00 06
2010-01-29 18:42:31.264 RX &nbs p; RECEIVEINSTEONRAW=04 56 50 0F 44 DC 21 14 00
2010-01-29 18:42:31.373 TX &nbs p; 02 62 04 56 50 05 12 00
2010-01-29 18:42:31.389 RX &nbs p; SENTINSTEON=0F 44 DC 04 56 50 05 12 00 06
2010-01-29 18:42:31.607 RX &nbs p; RECEIVEINSTEONRAW=04 56 50 0F 44 DC 21 12 00
2010-01-29 18:42:31.701 TX &nbs p; 02 62 04 56 50 05 14 00
2010-01-29 18:42:31.717 RX &nbs p; SENTINSTEON=0F 44 DC 04 56 50 05 14 00 06
2010-01-29 18:42:31.936 RX &nbs p; RECEIVEINSTEONRAW=04 56 50 0F 44 DC 21 14 00
Edited by grif091 - January 29 2010 at 18:46
__________________ Lee G
|
Back to Top |
|
|
RichardL Senior Member
Joined: December 29 2008 Location: United States
Online Status: Offline Posts: 165
|
Posted: January 29 2010 at 22:22 | IP Logged
|
|
|
Oh well. When I used the GUI, I saw it is doing a Fast On/Fast Off, exactly like you said, and I had to ReInit PH to stop it. Looked cool, we'll move on...
For disabling a KPL, I guess I'll have each button run via a trigger and throw a global variable to indicate if the trigger should continue or exit.
Again, worth the try!
Thanks,
Richard
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: January 29 2010 at 22:27 | IP Logged
|
|
|
Click the Flash button again to stop the activity.
__________________ Lee G
|
Back to Top |
|
|
RichardL Senior Member
Joined: December 29 2008 Location: United States
Online Status: Offline Posts: 165
|
Posted: January 31 2010 at 22:57 | IP Logged
|
|
|
For some reason the Flash button goes grey, so it does not do anything...
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: February 01 2010 at 03:33 | IP Logged
|
|
|
I tried Flash on just about every type device I have installed. Flash button goes from Raised button to Recessed button back to Raised button. Seems like your system is working differently. Are you running 2.1b.
__________________ Lee G
|
Back to Top |
|
|
RichardL Senior Member
Joined: December 29 2008 Location: United States
Online Status: Offline Posts: 165
|
Posted: February 05 2010 at 10:47 | IP Logged
|
|
|
I did some review:
I had been playing with the flash feature as a possibility to build into a scene. I thought there was a parameter like iFlash similar to iOn/iOff, but that is not the case.
But - when I press the Flash button, the light begins to flash. All buttons except the Flash button turns grey. However, clicking the Flash button does not have any effect since it appears that PH starts executing in such a tight loop that nothing else can interrupt. I have no choice but to use Task Manager to kill PH, or reboot.
I notice that RTeng7.exe is at 35-45% CPU and Pwrhome.exe is at 3-8% CPU.
What is interesting on a different front - but related, is that when I save a large amount of links, I also cannot do anything else in PH until the operations (as seen in the Raw Log) stop. This can take a few minutes. This has also has been an issue, and is probably a bigger concern than the flash button, which I only exploring. Another piece of info: Upon PH startup, PH Explorer takes about 45 secs to start.
My system should be OK, and is a dedicated PH PC.
System details:
Compaq Evo W6000
Windows XP SP3, patched up to date.
1.8 Xeon CPUs - dual processors
1 GB RAM
2GB Page file on a 2nd hard drive
PH v2.1b
Windows Defender
Symantec AntiVirus Corporate Edition 8.1.0.825
Office 2003
PwrHome.exe v1.3.4.11 12/13/08
RTeng7.exe v7.0.2.1402 11/11/03
Any thoughts?
Thanks.
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: February 05 2010 at 11:10 | IP Logged
|
|
|
Just one thing upgrade to PH V2.1b and then try again with the raw log writing to file that way when you kill it we can see the traffic.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: February 05 2010 at 12:05 | IP Logged
|
|
|
I thought you were on a v1 release based on the version of pwrhome.exe but 1.3.4.11 is the version for 2.1b plus you indicated being on 2.1b (was confusing this old man for a bit). Also snowing here again after getting 7” last weekend which was not near melting before this round of snow started to fall this morning. 1-3” of rain possible further South so we could get lots more snow if it stays cold here. It may be spring before I get to drive my no traction truck again. I’ll delete this part of the post later.
I ran a Flash test on two different devices, relay and dimmer. I am seeing 15-22% for rteng7.exe and 10-20% for powerhome, with a total CPU utilization of 43-44%. XP SP3, Pent 4 2.4 GHz with 2 GB. Pretty old machine as PCs go. I see the same graying of the other buttons except clicking on Flash again stops the flash operation. There is no Flash function at 2.1b. To flash a Group execute a FastOn followed by a FastOff sequence for as long as you want the Group to blink. When you start Insteon Explorer the link database in the Controller (PLM) is read over the serial interface. Takes about 10 seconds here with 260+ link records at last count.
I do not try to do anything while device links are being updated. That process is slow enough being 1 byte at a time without trying to do other things. I guess working on trigger/macro definitions, something like what would be okay, but I would put nothing on the powerline while links are being read/written. Link updates may be faster for Insteon 2 devices on the next PH upgrade. HouseLinc2 uses the faster Extended commands which makes link management much faster. You need a PLM for that if Dave does add I2 linking. The older PLC does not support Extended commands.
Edited by grif091 - February 05 2010 at 12:09
__________________ Lee G
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: February 05 2010 at 12:42 | IP Logged
|
|
|
grif091 wrote:
1.3.4.11 is the version for 2.1b plus you indicated being on 2.1b (was confusing this old man for a bit). |
|
|
Confused this "old man" too.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
RichardL Senior Member
Joined: December 29 2008 Location: United States
Online Status: Offline Posts: 165
|
Posted: February 05 2010 at 18:45 | IP Logged
|
|
|
Yep, the v2.1b and v1.3.4.11 on the file level threw me too.
Older PC, fine, it is dedicated and simple. Runs great.
Good idea to just let the PLM updates go and do nothing else. I have to do a PLM link count, but I'm sure there is a boatload in there.
I wasn't sure if there was some form of a performance tweak. I'm just trying to get so much done, it can be frustrating...
PS: I want the snow! Let it run North!
Thanks guys!
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: February 05 2010 at 19:40 | IP Logged
|
|
|
We had all the rain last night the snow is all yours. Enjoy…
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: February 05 2010 at 19:58 | IP Logged
|
|
|
..
Edited by grif091 - February 05 2010 at 22:37
__________________ Lee G
|
Back to Top |
|
|