Author |
|
narc Groupie
Joined: November 21 2006 Location: United States
Online Status: Offline Posts: 49
|
Posted: August 20 2007 at 00:18 | IP Logged
|
|
|
Hey Guys,
Every time I fire up PH I get 2 copies of SDM running. How can I fix this? One is the version that comes with PH (3xx) and the other is version 235.
- jason
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: August 20 2007 at 09:10 | IP Logged
|
|
|
One of them might be residual. Take PH down and make sure there are no SDM3 running in Task Manager. Then restart PH and check again.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
narc Groupie
Joined: November 21 2006 Location: United States
Online Status: Offline Posts: 49
|
Posted: August 20 2007 at 12:03 | IP Logged
|
|
|
Well, I fixed it (sort of). If I use Add/Remove programs and remove the SDM then only the PH version fires up. It seems that if I install SDM with any other application then PH wants to fire off both.
I can point all other applications at the SDM located in:
Program Files\powerhome\Smarthome\Device Manager
But that doesn't seem right.
- jason
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: August 20 2007 at 13:46 | IP Logged
|
|
|
The SDM for PowerHome needs to be in the PowerHome folder.
|
Back to Top |
|
|
narc Groupie
Joined: November 21 2006 Location: United States
Online Status: Offline Posts: 49
|
Posted: August 20 2007 at 15:52 | IP Logged
|
|
|
TonyNo wrote:
The SDM for PowerHome needs to be in the PowerHome folder. |
|
|
I catch that, but how come PH fires up both that copy of SDM and the one in \Program Files\Common Files\Smarthome\ at the same time if both are installed?
- jason
|
Back to Top |
|
|
cmhardwick Senior Member
Joined: July 08 2006 Location: United States
Online Status: Offline Posts: 290
|
Posted: August 20 2007 at 19:01 | IP Logged
|
|
|
I just did the regular SDM install, changing the install folder to the normal powerhome location. worked great. Actually, the only way I could get 308 to work for me.
__________________ Cicero, Enjoying automation!
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: August 20 2007 at 19:26 | IP Logged
|
|
|
Sometimes, such as when you upgrade, the SDM itself gets confused.
Dave has mentioned that you should manually launch the SDM from the PH folder fist to make sure that this does not happen.
|
Back to Top |
|
|
ginigma Senior Member
Joined: June 18 2006 Location: United States
Online Status: Offline Posts: 127
|
Posted: August 20 2007 at 21:49 | IP Logged
|
|
|
TonyNo wrote:
The SDM for PowerHome needs to be in the PowerHome folder. |
|
|
I don't think that's true. The location of the SDM is stored in the Registry, so when it's called, I'm sure there is some kind of lookup for the location. Mine is not under the PH folder and I have no issues with the SDM.
__________________ Insteon (40 devices) ^ PowerHome (435 links) ^ Logitech Harmony 880
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: August 20 2007 at 22:40 | IP Logged
|
|
|
Fair enough. I was going by this post from Dave...
Quote:
To solve the multiple launching, try shutting down PowerHome and all open instances of the SDM. Use the Task Manager to make sure that everything is shutdown. Next, navigate to the SDM that is in the PowerHome subdirectory. Manually launch it all by itself. Then launch PowerHome. PowerHome should connect and use this single SDM resource. Subsequent launches of PowerHome should also only launch this SDM version. If you launch a different SDM version from another application, you may have to repeat this step since the SDM always updates the registry with the last version run. |
|
|
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: August 21 2007 at 14:47 | IP Logged
|
|
|
The problem with multiple SDM's launching is fairly common but should be correctable. This is compounded by the fact that PowerHome has used a variety of ways to launch the SDM to try to alleviate the SDM hangup problems.
There are two ways the SDM can be launched. You can manually execute the SDM3.exe file and the SDM will appear in the system tray. You can also instantiate an instance of the SDM activex control and this will cause the SDM to launch as well.
The problem arises because each version of the SDM updates registry information and they all update the same location. So, if you launch the SDM by instantiating the activeX control, you'll get whatever version launched that the registry contains info for (this should be the last SDM version launched because the SDM always updates the registry everytime it runs. If you then manually launch the SDM3.exe (a different version than what is currently running), you'll get a second copy AND also update the registry to now point to this SDM version. So, the next time you auto launch by instantiating the activex, you'll get this version instead of the version you originally launched. This of course creates a mess.
The .12 version of PowerHome will employ a new SDM launch mechanism that will hopefully take care of this problem (it may already be in one of the later alphas...Ive lost track). The method is as follows: When PowerHome first attempts connecting to the SDM (prior to any activex instantiation), it will check to see if any version of the SDM is already running. This can be ANY SDM3 version...not just the one in the PowerHome directory. If the SDM is running (the registry entries should match this running version), then PowerHome will instantiate the activex control which should latch on to the currently running SDM. If no SDM client is currently running, then PowerHome will manually launch the SDM3.exe in the PowerHome subdirectory. This will update the registry entries to point to the PowerHome version SDM. Once this version is up and running, PowerHome will then instantiate the activex which should latch on to the currently running SDM.
Dave.
|
Back to Top |
|
|