Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: SmartLinc Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: February 10 2012 at 20:07 | IP Logged Quote dhoward

All,

You'll never believe this...just found out that the SmartLinc has a hidden port that enables it to be used as a standard network based PLM. Didnt find out from SmartHome and they've have never documented the existence of such a thing. Just happened upon it while searching for info on a different problem.

Anyways, just thought I would pass this along as it has been a very requested feature. The amazing thing is that PowerHome (2.1.4 beta) is ready to make use of this as is. This is pretty cool as you can now have a remote PLM (the SmartLinc) and connect PowerHome to over ethernet. If you've got a SmartLinc, give it a try.

To test this out, you need to open PowerHome Explorer and navigate to the plugins section. Create a new plugin entry. Give an appropriate ID and set the activex column to: PH_VSP.phvsp

For initialization data, use something like this:

7 9761 192.168.0.174

The first number is the desired virtual COM port. You must pick a value that is not currently in use or exists as a COM port. The second number 9761 is the magic PLM port on the SmartLinc. Leave this as is. The last parameter is the IP of your SmartLinc.

Once you've configured your plugin line, navigate to Controllers and create a new or change your existing PLM line. Just make the COM port match the value you used for the plugin. In my example above, this would be COM 7. Reinit or restart and you should be using your SmartLinc as a standard PLM. Of course, you'll need to do the standard Add Min or Add Full on the Setup screen.

Let me know if anyone tests this or not and if you encounter any issues. If all works well, I'll advertise this an available option.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: May 07 2012 at 20:56 | IP Logged Quote BeachBum

Dave, I gave it a whirl but I can't get by "not able to open com port". If I go to Help-Plugins this is what I see.

PowerHome Virtual Serial Port Plugin
COM: 9
Remote Host: 192.168.1.109
Remote Port: 9761
PowerHome Plugin ID: PLM
Plugin Version: 1.0
SDK Version: 1.2
Current Status: Disabled.

Something flashes at me when I reinit probable the plugin failing. Tried different com ports to no avail.


__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: May 07 2012 at 23:16 | IP Logged Quote BeachBum

I may have figured it out. I loaded the drivers and the plugin took. Tomorrow I will test.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: May 08 2012 at 07:59 | IP Logged Quote BeachBum

Dave, it seems to work perfectly fine but will not take a load full just a min. What else can we do with this thing?

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: May 08 2012 at 13:48 | IP Logged Quote dhoward

Pete,

Glad you got it figured it out. I was going to suggest registering the Virtual serial port components but it looks like you already did it.

The odd thing though is that it won't take a full download. Even though everything should work with just a min, a full would be better as I believe its a later model PLM that is expecting full links. I'll have to confirm with my unit at home (also just ordered a second one when they had their reduced price a few days ago...mine hasnt arrived yet) later tonight when I get in.

Once its connected up and running though, you should be able to transfer all of your links from your old PLM into the new SmartLinc and use it as a network connected PLM. And of course, it also has its own internal webserver interface where you can create timers, etc. that run outside of PH. The version of I have is an early beta and I know they've changed the internal software from what I have. Not sure if it has any email capability or what all you can do with it (hence ordering a new one :) but an idea I would like to try is to have it and PowerHome periodically "communicate" and if the SmartLinc detects a COMM issue with PH, then possibly reboot the PH computer by turning on/off an appliancelinc that the PH PC is plugged into.

I'll know more about what else cool it could be used for after I get mine but the simple fact of a networked PLM is enough for me .

Dave.

BTW...been researching the issue with the forum not accepting files and found out that 1 and 1 let their license lapse on the upload component. No word from them on when or if this will be fixed so Im investigating alternative file upload solutions. Hope to have something in place by this weekend.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: May 08 2012 at 16:17 | IP Logged Quote BeachBum

I wonder if I can create a virtual port connection from an outside IP address. I'm about to go on the road so we'll find out. 9761 has been opened in all my routers.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: May 08 2012 at 20:40 | IP Logged Quote BeachBum

This isn't nice. Came home to a dark house.

Get IM Info command failed for Insteon PLM PLM. Attempting to restart controller...
Get IM Info command failed for Insteon PLM PLM. Attempting to restart controller...
Get IM Info command failed for Insteon PLM PLM. Attempting to restart controller...
Get IM Info command failed for Insteon PLM PLM. Attempting to restart controller...
No Insteon or X10 output after.


__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: May 08 2012 at 20:59 | IP Logged Quote BeachBum

OK here's what I trapped. The trace is partial as far as the beginning.

Unable to retrieve next internal link on Insteon PLM PLM. Attempting to restart controller.


2012-05-08 20:51:00.076     TX  &nbs p;  02 62 0E A1 EC 05 19 00
2012-05-08 20:51:00.129     RX  &nbs p;  SENTINSTEON=1D 63 63 0E A1 EC 05 19 00 06
2012-05-08 20:51:00.324     RX  &nbs p;  RECEIVEINSTEONRAW=0E A1 EC 1D 63 63 21 00 00
2012-05-08 20:51:00.668     TX  &nbs p;  02 62 0A FB 06 05 19 00
2012-05-08 20:51:00.714     RX  &nbs p;  SENTINSTEON=1D 63 63 0A FB 06 05 19 00 06
2012-05-08 20:51:00.922     RX  &nbs p;  RECEIVEINSTEONRAW=0A FB 06 1D 63 63 21 00 46
2012-05-08 20:51:00.953     TX  &nbs p;  02 62 0A FB 06 05 19 00
2012-05-08 20:51:01.004     RX  &nbs p;  SENTINSTEON=1D 63 63 0A FB 06 05 19 00 06
2012-05-08 20:51:01.198     RX  &nbs p;  RECEIVEINSTEONRAW=0A FB 06 1D 63 63 21 00 46
2012-05-08 20:51:01.312     TX  &nbs p;  02 62 0A FB 06 05 19 00
2012-05-08 20:51:01.362     RX  &nbs p;  SENTINSTEON=1D 63 63 0A FB 06 05 19 00 06
2012-05-08 20:51:01.891     RX  &nbs p;  RECEIVEINSTEONRAW=0A FB 06 1D 63 63 26 00 46
2012-05-08 20:51:05.364     RX  &nbs p;  INSTEON TIMEOUT=0A FB 06
2012-05-08 20:51:05.369     TX  &nbs p;  02 62 0A FB 06 05 19 00
2012-05-08 20:51:05.419     RX  &nbs p;  SENTINSTEON=1D 63 63 0A FB 06 05 19 00 06
2012-05-08 20:51:05.615     RX  &nbs p;  RECEIVEINSTEONRAW=0A FB 06 1D 63 63 21 00 46
2012-05-08 20:51:05.668     TX  &nbs p;  02 62 0A FB 06 05 19 00
2012-05-08 20:51:05.721     RX  &nbs p;  SENTINSTEON=1D 63 63 0A FB 06 05 19 00 06
2012-05-08 20:51:05.917     RX  &nbs p;  RECEIVEINSTEONRAW=0A FB 06 1D 63 63 21 00 46
2012-05-08 20:51:06.028     TX  &nbs p;  02 62 0F 00 F5 05 19 00
2012-05-08 20:51:06.081     RX  &nbs p;  SENTINSTEON=1D 63 63 0F 00 F5 05 19 00 06
2012-05-08 20:51:06.596     RX  &nbs p;  RECEIVEINSTEONRAW=0F 00 F5 1D 63 63 26 00 46
2012-05-08 20:51:06.628     TX  &nbs p;  02 62 0F 00 F5 05 19 00
2012-05-08 20:51:06.678     RX  &nbs p;  SENTINSTEON=1D 63 63 0F 00 F5 05 19 00 06
2012-05-08 20:51:08.597     RX  &nbs p;  RECEIVEINSTEONRAW=0F 00 F5 1D 63 63 2B 00 46
2012-05-08 20:51:08.952     TX  &nbs p;  02 62 0F 00 F5 05 19 00
2012-05-08 20:51:09.013     RX  &nbs p;  SENTINSTEON=1D 63 63 0F 00 F5 05 19 00 06
2012-05-08 20:51:10.428     RX  &nbs p;  RECEIVEINSTEONRAW=0F 00 F5 1D 63 63 2B 00 46
2012-05-08 20:51:10.460     TX  &nbs p;  02 62 0F 00 F5 05 19 00
2012-05-08 20:51:10.510     RX  &nbs p;  SENTINSTEON=1D 63 63 0F 00 F5 05 19 00 06
2012-05-08 20:51:10.780     RX  &nbs p;  RECEIVEINSTEONRAW=0F 00 F5 1D 63 63 21 00 46
2012-05-08 20:51:14.516     RX  &nbs p;  INSTEON TIMEOUT=0F 00 F5
2012-05-08 20:51:14.543     TX  &nbs p;  02 62 0F 00 F5 05 19 00
2012-05-08 20:51:14.593     RX  &nbs p;  SENTINSTEON=1D 63 63 0F 00 F5 05 19 00 06
2012-05-08 20:51:18.605     RX  &nbs p;  INSTEON TIMEOUT=0F 00 F5
2012-05-08 20:51:18.629     TX  &nbs p;  02 62 0F 00 F5 05 19 00
2012-05-08 20:51:18.675     RX  &nbs p;  SENTINSTEON=1D 63 63 0F 00 F5 05 19 00 06
2012-05-08 20:51:19.675     RX  &nbs p;  RECEIVEINSTEONRAW=0F 00 F5 1D 63 63 2B 00 46
2012-05-08 20:51:20.034     TX  &nbs p;  02 62 0E 9B D7 05 19 00
2012-05-08 20:51:20.091     RX  &nbs p;  SENTINSTEON=1D 63 63 0E 9B D7 05 19 00 06
2012-05-08 20:51:24.093     RX  &nbs p;  INSTEON TIMEOUT=0E 9B D7
2012-05-08 20:51:24.095     TX  &nbs p;  02 62 0E 9B D7 05 19 00
2012-05-08 20:51:24.256     RX  &nbs p;  SENTINSTEON=1D 63 63 0E 9B D7 05 19 00 06
2012-05-08 20:51:28.264     RX  &nbs p;  INSTEON TIMEOUT=0E 9B D7
2012-05-08 20:51:28.288     TX  &nbs p;  02 62 0E 9B D7 05 19 00
2012-05-08 20:51:28.339     RX  &nbs p;  SENTINSTEON=1D 63 63 0E 9B D7 05 19 00 06
2012-05-08 20:51:32.349     RX  &nbs p;  INSTEON TIMEOUT=0E 9B D7
2012-05-08 20:51:32.389     TX  &nbs p;  02 62 0E 9B D7 05 19 00
2012-05-08 20:51:32.441     RX  &nbs p;  SENTINSTEON=1D 63 63 0E 9B D7 05 19 00 06
2012-05-08 20:51:36.452     RX  &nbs p;  INSTEON TIMEOUT=0E 9B D7
2012-05-08 20:51:36.479     TX  &nbs p;  02 62 0E 9B D7 05 19 00
2012-05-08 20:51:36.532     RX  &nbs p;  SENTINSTEON=1D 63 63 0E 9B D7 05 19 00 06
2012-05-08 20:51:40.537     RX  &nbs p;  INSTEON TIMEOUT=0E 9B D7
2012-05-08 20:51:40.564     TX  &nbs p;  02 62 0E 9B D7 05 19 00
2012-05-08 20:51:40.615     RX  &nbs p;  SENTINSTEON=1D 63 63 0E 9B D7 05 19 00 06
2012-05-08 20:51:44.627     RX  &nbs p;  INSTEON TIMEOUT=0E 9B D7
2012-05-08 20:51:44.850     TX  &nbs p;  02 62 0E 9B D7 05 19 00
2012-05-08 20:51:44.899     RX  &nbs p;  SENTINSTEON=1D 63 63 0E 9B D7 05 19 00 06
2012-05-08 20:51:48.903     RX  &nbs p;  INSTEON TIMEOUT=0E 9B D7
2012-05-08 20:51:48.908     TX  &nbs p;  02 62 0E 9B D7 05 19 00
2012-05-08 20:51:48.958     RX  &nbs p;  SENTINSTEON=1D 63 63 0E 9B D7 05 19 00 06
2012-05-08 20:51:52.957     RX  &nbs p;  INSTEON TIMEOUT=0E 9B D7
2012-05-08 20:51:52.984     TX  &nbs p;  02 62 0E 9B D7 05 19 00
2012-05-08 20:51:53.035     RX  &nbs p;  SENTINSTEON=1D 63 63 0E 9B D7 05 19 00 06
2012-05-08 20:51:57.046     RX  &nbs p;  INSTEON TIMEOUT=0E 9B D7
2012-05-08 20:51:57.090     TX  &nbs p;  02 62 0E 9B D7 05 19 00
2012-05-08 20:51:57.143     RX  &nbs p;  SENTINSTEON=1D 63 63 0E 9B D7 05 19 00 06
2012-05-08 20:52:01.150     RX  &nbs p;  INSTEON TIMEOUT=0E 9B D7
2012-05-08 20:52:01.176     TX  &nbs p;  02 62 0E 9B D7 05 19 00
2012-05-08 20:52:01.226     RX  &nbs p;  SENTINSTEON=1D 63 63 0E 9B D7 05 19 00 06
2012-05-08 20:52:05.236     RX  &nbs p;  INSTEON TIMEOUT=0E 9B D7
2012-05-08 20:52:05.263     TX  &nbs p;  02 62 0E 9B D7 05 19 00
2012-05-08 20:52:05.322     RX  &nbs p;  SENTINSTEON=1D 63 63 0E 9B D7 05 19 00 06
2012-05-08 20:52:09.334     RX  &nbs p;  INSTEON TIMEOUT=0E 9B D7
2012-05-08 20:52:16.922     TX  &nbs p;  02 60
2012-05-08 20:52:17.011     RX  &nbs p;  GETINFO=1D 63 63 03 05 99 06
2012-05-08 20:52:17.015     TX  &nbs p;  02 6B 40
2012-05-08 20:52:17.069     RX  &nbs p;  SETCONFIG=40 06
2012-05-08 20:52:17.079     TX  &nbs p;  02 69
2012-05-08 20:52:17.125     RX  &nbs p;  GETFIRSTLINK=06
2012-05-08 20:52:17.128     RX  &nbs p;  ALLLINKRECORD=A2 01 04 BB 8F FF 31 00
2012-05-08 20:52:17.132     TX  &nbs p;  02 6A
2012-05-08 20:52:17.182     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:17.185     RX  &nbs p;  ALLLINKRECORD=A2 01 04 D0 45 FF 31 00
2012-05-08 20:52:17.189     TX  &nbs p;  02 6A
2012-05-08 20:52:17.238     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:17.241     RX  &nbs p;  ALLLINKRECORD=A2 01 09 42 7F FF 31 00
2012-05-08 20:52:17.245     TX  &nbs p;  02 6A
2012-05-08 20:52:17.295     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:17.298     RX  &nbs p;  ALLLINKRECORD=A2 01 09 43 1F FF 31 00
2012-05-08 20:52:17.302     TX  &nbs p;  02 6A
2012-05-08 20:52:17.357     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:17.360     RX  &nbs p;  ALLLINKRECORD=A2 01 09 45 B2 FF 31 00
2012-05-08 20:52:17.364     TX  &nbs p;  02 6A
2012-05-08 20:52:17.414     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:17.417     RX  &nbs p;  ALLLINKRECORD=A2 01 09 50 A3 FF 31 00
2012-05-08 20:52:17.421     TX  &nbs p;  02 6A
2012-05-08 20:52:17.470     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:17.473     RX  &nbs p;  ALLLINKRECORD=A2 01 0A 00 DF FF 31 00
2012-05-08 20:52:17.477     TX  &nbs p;  02 6A
2012-05-08 20:52:17.528     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:17.531     RX  &nbs p;  ALLLINKRECORD=A2 01 0A 02 CC FF 31 00
2012-05-08 20:52:17.535     TX  &nbs p;  02 6A
2012-05-08 20:52:17.585     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:17.588     RX  &nbs p;  ALLLINKRECORD=A2 01 0A 03 13 FF 31 00
2012-05-08 20:52:17.592     TX  &nbs p;  02 6A
2012-05-08 20:52:17.641     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:17.644     RX  &nbs p;  ALLLINKRECORD=A2 01 0A 1F 40 FF 31 00
2012-05-08 20:52:17.648     TX  &nbs p;  02 6A
2012-05-08 20:52:17.698     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:17.701     RX  &nbs p;  ALLLINKRECORD=A2 01 0A 3D 52 FF 31 00
2012-05-08 20:52:17.705     TX  &nbs p;  02 6A
2012-05-08 20:52:17.755     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:17.758     RX  &nbs p;  ALLLINKRECORD=A2 01 0A 3D B3 FF 31 00
2012-05-08 20:52:17.762     TX  &nbs p;  02 6A
2012-05-08 20:52:17.813     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:17.816     RX  &nbs p;  ALLLINKRECORD=A2 01 0A 96 83 FF 31 00
2012-05-08 20:52:17.820     TX  &nbs p;  02 6A
2012-05-08 20:52:17.874     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:17.877     RX  &nbs p;  ALLLINKRECORD=A2 01 0A 96 A8 FF 31 00
2012-05-08 20:52:17.881     TX  &nbs p;  02 6A
2012-05-08 20:52:17.931     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:17.934     RX  &nbs p;  ALLLINKRECORD=A2 01 0A FB 06 FF 31 00
2012-05-08 20:52:17.938     TX  &nbs p;  02 6A
2012-05-08 20:52:17.986     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:17.989     RX  &nbs p;  ALLLINKRECORD=A2 01 0B FD 6A FF 31 00
2012-05-08 20:52:17.993     TX  &nbs p;  02 6A
2012-05-08 20:52:18.043     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:18.046     RX  &nbs p;  ALLLINKRECORD=A2 01 0C 04 E0 FF 31 00
2012-05-08 20:52:18.050     TX  &nbs p;  02 6A
2012-05-08 20:52:18.101     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:18.104     RX  &nbs p;  ALLLINKRECORD=A2 01 0D 03 DC FF 31 00
2012-05-08 20:52:18.108     TX  &nbs p;  02 6A
2012-05-08 20:52:18.163     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:18.166     RX  &nbs p;  ALLLINKRECORD=A2 01 0E 7A 42 FF 31 00
2012-05-08 20:52:18.170     TX  &nbs p;  02 6A
2012-05-08 20:52:18.219     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:18.222     RX  &nbs p;  ALLLINKRECORD=A2 01 0E 7A 45 FF 31 00
2012-05-08 20:52:18.226     TX  &nbs p;  02 6A
2012-05-08 20:52:18.277     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:18.280     RX  &nbs p;  ALLLINKRECORD=A2 01 0E 7A 61 FF 31 00
2012-05-08 20:52:18.284     TX  &nbs p;  02 6A
2012-05-08 20:52:18.333     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:18.336     RX  &nbs p;  ALLLINKRECORD=A2 01 0E 7A A2 FF 31 00
2012-05-08 20:52:18.340     TX  &nbs p;  02 6A
2012-05-08 20:52:18.390     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:18.393     RX  &nbs p;  ALLLINKRECORD=A2 01 0E 7A B7 FF 31 00
2012-05-08 20:52:18.397     TX  &nbs p;  02 6A
2012-05-08 20:52:18.447     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:18.450     RX  &nbs p;  ALLLINKRECORD=A2 01 0E 9B D7 FF 31 00
2012-05-08 20:52:18.454     TX  &nbs p;  02 6A
2012-05-08 20:52:18.503     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:18.506     RX  &nbs p;  ALLLINKRECORD=A2 01 0E 9D 19 FF 31 00
2012-05-08 20:52:18.510     TX  &nbs p;  02 6A
2012-05-08 20:52:18.560     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:18.563     RX  &nbs p;  ALLLINKRECORD=A2 01 0E 9E 23 FF 31 00
2012-05-08 20:52:18.567     TX  &nbs p;  02 6A
2012-05-08 20:52:18.617     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:18.620     RX  &nbs p;  ALLLINKRECORD=A2 01 0E A0 C0 FF 31 00
2012-05-08 20:52:18.624     TX  &nbs p;  02 6A
2012-05-08 20:52:18.672     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:18.675     RX  &nbs p;  ALLLINKRECORD=A2 01 0E A1 EC FF 31 00
2012-05-08 20:52:18.679     TX  &nbs p;  02 6A
2012-05-08 20:52:18.730     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:18.733     RX  &nbs p;  ALLLINKRECORD=A2 01 0E A3 95 FF 31 00
2012-05-08 20:52:18.737     TX  &nbs p;  02 6A
2012-05-08 20:52:18.780     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:18.783     RX  &nbs p;  ALLLINKRECORD=A2 01 0E A5 02 FF 31 00
2012-05-08 20:52:18.787     TX  &nbs p;  02 6A
2012-05-08 20:52:18.830     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:18.833     RX  &nbs p;  ALLLINKRECORD=A2 01 0F 00 F5 FF 31 00
2012-05-08 20:52:18.837     TX  &nbs p;  02 6A
2012-05-08 20:52:18.887     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:18.890     RX  &nbs p;  ALLLINKRECORD=A2 01 0F 42 4E FF 31 00
2012-05-08 20:52:18.894     TX  &nbs p;  02 6A
2012-05-08 20:52:18.944     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:18.947     RX  &nbs p;  ALLLINKRECORD=A2 01 11 6D 48 FF 31 00
2012-05-08 20:52:18.951     TX  &nbs p;  02 6A
2012-05-08 20:52:18.999     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:19.002     RX  &nbs p;  ALLLINKRECORD=A2 01 11 8C C6 FF 31 00
2012-05-08 20:52:19.006     TX  &nbs p;  02 6A
2012-05-08 20:52:19.056     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:19.059     RX  &nbs p;  ALLLINKRECORD=A2 01 13 FA D6 FF 31 00
2012-05-08 20:52:19.063     TX  &nbs p;  02 6A
2012-05-08 20:52:19.113     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:19.116     RX  &nbs p;  ALLLINKRECORD=A2 01 17 D5 7F FF 31 00
2012-05-08 20:52:19.120     TX  &nbs p;  02 6A
2012-05-08 20:52:19.170     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:19.173     RX  &nbs p;  ALLLINKRECORD=A2 01 19 94 27 FF 31 00
2012-05-08 20:52:19.177     TX  &nbs p;  02 6A
2012-05-08 20:52:19.227     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:19.230     RX  &nbs p;  ALLLINKRECORD=A2 01 1A 76 5D FF 31 00
2012-05-08 20:52:19.234     TX  &nbs p;  02 6A
2012-05-08 20:52:19.282     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:19.285     RX  &nbs p;  ALLLINKRECORD=A2 01 1B AB EA FF 31 00
2012-05-08 20:52:19.289     TX  &nbs p;  02 6A
2012-05-08 20:52:19.339     RX  &nbs p;  GETNEXTLINK=06
2012-05-08 20:52:19.342     RX  &nbs p;  ALLLINKRECORD=A2 01 1C 94 BE FF 31 00
2012-05-08 20:52:19.346     TX  &nbs p;  02 6A
2012-05-08 20:52:19.396     RX  &nbs p;  GETNEXTLINK=15


__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: May 10 2012 at 22:21 | IP Logged Quote BeachBum

I tested on the road and the vsp connects with no problem from the outside. Possibilities unlimited. I’m also trying to control the insteon network from multiple resources meaning multiple PHs using one controller vs 2 PHs using 2 controllers with one listening only. Currently I have USB PLM being controlled from the house while the system with me is in listening mode only with CC allowed to override on the TCPIP controller.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
nick7920
Senior Member
Senior Member


Joined: March 04 2008
Location: United States
Online Status: Offline
Posts: 193
Posted: January 10 2013 at 19:44 | IP Logged Quote nick7920

I am trying above with Insteon Hub 2242-222.
I am getting plugin error on startup return code is -2

I have loaded driver manually c:\powerhome\drivers\VSP 6.2\vspdxp_install.exe

I have tried the REGSVR32 and PH_VSP.ocx which register without any problem.

Insteon HUb also does have the port 9761 it does connect fine with Houselinc software.

Thanks in advance for any help.

Nick
_
Back to Top View nick7920's Profile Search for other posts by nick7920
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: January 10 2013 at 21:32 | IP Logged Quote dhoward

Nick,

It looks like the VSP plugin is having problems loading
so we're not even getting to the point to connecting to
the Hub.

What OS are you using? If its Win 7, then its most
likely the current version of the Virtual serial port
activex at fault. Ive got a newer version and will work
up an upgrade to the PHVSP plugin to see it that helps.

If you're on XP, then we should be able to get you going.

In any event, let me know your parameters for the PHVSP
plugin and we'll go from there.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
nick7920
Senior Member
Senior Member


Joined: March 04 2008
Location: United States
Online Status: Offline
Posts: 193
Posted: January 10 2013 at 22:42 | IP Logged Quote nick7920

Thanks Dave here are the info from plugin

I am using XP pro
PH 2.1.4

Parameters in plugin

ID : HUB
Plugin Type : ActiveX
Launch Data : PH_VSP.phvsp
initialization data : 7 9761 10.0.0.89

Thanks
Nick
Back to Top View nick7920's Profile Search for other posts by nick7920
 
nick7920
Senior Member
Senior Member


Joined: March 04 2008
Location: United States
Online Status: Offline
Posts: 193
Posted: January 11 2013 at 13:08 | IP Logged Quote nick7920

I got one step further .

I run the command ph_pictrl("PH-VSP","reinit",1)
return was -999
but then PH got locked (don't know why) but on restart of Ph now in about help plugins I get this. ((before It was not even loading the plugin)

---------------------------------------------
PowerHome Virtual Serial Port Plugin
COM: 7
Remote Host: 10.0.0.89
Remote Port: 9761
PowerHome Plugin ID: HUB
Plugin Version: 1.0
SDK Version: 1.2
Current Status: Disabled.
--------------------------------------------------

Status is now Disabled.

I tried ph_pictrl("PH-VSP","enable",0) but return was -999


Nick



Edited by nick7920 - January 11 2013 at 13:09
Back to Top View nick7920's Profile Search for other posts by nick7920
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: January 11 2013 at 13:54 | IP Logged Quote dhoward

Nick,

Since you're running XP we should definitely be able to
get you going.

I see that in your config string you're trying to use COM
7 (the same I used). Have you verified that COM 7 is not
currently in use anywhere else within your system (check
COM ports under Device Manager).

If COM 7 is free to use in your system, can the PowerHome
machine reach the IP address 10.0.0.89. You should be
able to hit the web inteferface (port 80) of the
SmartLinc by entering 10.0.0.89 in a web browser on the
PH machine.

I carefully reread your last email and see a problem with
the -999 return. -999 means that the plugin ID was not
found. It appears that you're trying to reinit and
enable a plugin ID of "PH-VSP" but from the Help->About-
>Plugins and the parameters you sent earlier, your plugin
ID should be "HUB" (PowerHome Plugin ID: HUB). Not sure
where PH-VSP is coming from I would correct this first.

With the plugin now at least showing in the Help->About-
>Plugins screen, are you getting any kind of error in the
eventlog when starting PH? If so, can you copy/paste the
exact text of the error and I can track down at what
point the error is occurring.

Thanks,

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
nick7920
Senior Member
Senior Member


Joined: March 04 2008
Location: United States
Online Status: Offline
Posts: 193
Posted: January 11 2013 at 15:54 | IP Logged Quote nick7920

Thanks again Dave,

error at startup is

An error occurred while attempting to open COM port 7 on Insteon PLM controller HUB. Attempting to restart controller...


in my controller setup
ID : HUB (I assume I can use different name also)
controller type : Insteon PLM
under setup using the same COM7



COM7 is not being used by nay other app.

ph_pictrl("HUB","status",0)

return is 0 (zero)

ph_pictrl("HUB","enable",0)

return is -998 (now)

ph_pictrl("HUB","reinit",1)

returns is 0 (zero)

about help plugins still shows Disable.

10.0.0.89 is accessible from this computer ping and web.

Thanks,

Nick.








Edited by nick7920 - January 11 2013 at 15:59
Back to Top View nick7920's Profile Search for other posts by nick7920
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: January 11 2013 at 16:37 | IP Logged Quote dhoward

Nick,

Gotcha. So the error message is for the controller and
not the plugin. The plugin needs to load first and
create COM 7 and then the controller tries to connect to
COM 7. Since the plugin is not actually creating COM 7
(apparently without an error message though) the
controller will of course fail.

Yes, its safe to use the same ID of HUB for both the
plugin and the controller. They can also be different
because the only real link is the COM 7.

It looks like the ph_pictrl commands are working now
since we're getting the -998 back. I was experimenting
on my Win 7 machine and am getting the same results as
you (probably different reasons though).

Give this a try. Open your Device Manager window and
expand the COM ports section. With it in the background
(but the COM ports still visible) and PH in the
foreground, open the Multi-Editor in PH Formula mode
(shift-F6) and do the reinit command:

ph_pictrl("HUB","reinit",0)

See if the COM port is created at all and then goes away
(this is where Im at on my system).

Let me know and we'll go from there.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
nick7920
Senior Member
Senior Member


Joined: March 04 2008
Location: United States
Online Status: Offline
Posts: 193
Posted: January 11 2013 at 17:32 | IP Logged Quote nick7920

ON mine something happens , because its collapse the whole Device manager listing and then redisplay again. (so I can not see in between if the port was created but since its collapse and redisplay again assume it created something)

Just to add
Also I tried from web browser and HUB does respond to command and I was able to turn light on and off in serial mode.

http://10.0.0.89/3?02620CC4530F11FF=I=3 (for on)
http://10.0.0.89/3?02620CC4530F13FF=I=3 (for off)

above command Device ID is 0CC453 (for others you can can put your own device ID to try)

Thanks
Nick



Edited by nick7920 - January 13 2013 at 12:28
Back to Top View nick7920's Profile Search for other posts by nick7920
 
nick7920
Senior Member
Senior Member


Joined: March 04 2008
Location: United States
Online Status: Offline
Posts: 193
Posted: January 11 2013 at 19:51 | IP Logged Quote nick7920

Okay some more info.

If I change the port from 9761 to 80 plugin shows Enable,
Device Manager shows ELTIMA virtual serial port

but still get error :
Get IM Info command failed for Insteon PLM HUB. Attempting to restart controller...

now I dont know if port 9761 only acts as PLM
but as I mention before Houslinc does connect using 9761 and refers as connected on SmartLinc on port 9761

(dont know if HUB needs some other extra info to connect)

Nick

Edited by nick7920 - January 11 2013 at 20:08
Back to Top View nick7920's Profile Search for other posts by nick7920
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: January 11 2013 at 20:06 | IP Logged Quote dhoward

Nick,

Definite progress. With that info, it shows that we've
got the plugin actually working and the controller even
connecting to it. I would expect it to fail though on
port 80 (the controller connecting as a PLM) since port
is the standard HTTP web interface and would not be
compatible with the raw PLM communication protocol.

Since we know the plugin works, the key now is to make
the plugin connect to port 9761. Since Houselinc can
connect to 9761 we should be able to get the plugin as
well. The first thing I would do is make sure that
Houselinc is completely shutdown before trying to get the
PH plugin to connect. You can typically only have a
single device connect to a single port at a time unless
they've actually configured it as a server.

If HouseLinc is shutdown and nothing else is connected to
port 9761, I wonder if there is something specific to the
hub that is required to be sent. When you had the Device
Manager open and you saw the COM ports flash and refresh,
that would mean that a serial port was actually being
created but it was shutting down almost immediately. Im
wondering if the Hub is expecting some kind of
communication or synchronization bytes to be sent in
order for it to hold the port open.

Anyways, the next step would be to make sure that nothing
else has the port open when PH tries to init the plugin.
If nothing is else has it open, probably the only way to
try and see what is different between the hub and a
SmartLinc will be to write a special debug program to try
and intercept the synchronization process.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
nick7920
Senior Member
Senior Member


Joined: March 04 2008
Location: United States
Online Status: Offline
Posts: 193
Posted: January 11 2013 at 20:22 | IP Logged Quote nick7920

Thanks Dave,

worked   

I rebooted the computer which was running HouseLinc even though HouseLinc was exited and not running.
I should have known that socket ports are remain open in windows in some apps even after you exit.

Now time to play with new toy ...

Thanks again Dave.

Nick
Back to Top View nick7920's Profile Search for other posts by nick7920
 

Page of 2 Next >>
  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