Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: Two SDM’s Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
narc
Groupie
Groupie
Avatar

Joined: November 21 2006
Location: United States
Online Status: Offline
Posts: 49
Posted: August 20 2007 at 00:18 | IP Logged Quote narc

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 View narc's Profile Search for other posts by narc
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: August 20 2007 at 09:10 | IP Logged Quote BeachBum

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 View BeachBum's Profile Search for other posts by BeachBum
 
narc
Groupie
Groupie
Avatar

Joined: November 21 2006
Location: United States
Online Status: Offline
Posts: 49
Posted: August 20 2007 at 12:03 | IP Logged Quote narc

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

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: August 20 2007 at 13:46 | IP Logged Quote TonyNo

The SDM for PowerHome needs to be in the PowerHome folder.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
narc
Groupie
Groupie
Avatar

Joined: November 21 2006
Location: United States
Online Status: Offline
Posts: 49
Posted: August 20 2007 at 15:52 | IP Logged Quote narc

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 View narc's Profile Search for other posts by narc
 
cmhardwick
Senior Member
Senior Member
Avatar

Joined: July 08 2006
Location: United States
Online Status: Offline
Posts: 290
Posted: August 20 2007 at 19:01 | IP Logged Quote cmhardwick

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

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: August 20 2007 at 19:26 | IP Logged Quote TonyNo

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


Joined: June 18 2006
Location: United States
Online Status: Offline
Posts: 127
Posted: August 20 2007 at 21:49 | IP Logged Quote ginigma

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

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: August 20 2007 at 22:40 | IP Logged Quote TonyNo

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 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: August 21 2007 at 14:47 | IP Logged Quote dhoward

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