Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: A way to shutdown the TimerApp @ Reboot Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: November 29 2007 at 22:24 | IP Logged Quote jeffw_00

So, at least on my XP SP2 PC,

start -> Turn Off Computer -> Restart (or Shutdown)

doesn't work anymore, because it can't kill the TimerApp.

One solution is to create a REBOOT shortcut and put it in your start menu that points to a .BAT file (DOS Script) that contains the command

shutdown -f -r -t 10

Which -forces- a reboot after 10 seconds.

However, it's not so great to always FORCE a shutdown of your PC. "FORCE" kills processes indescriminately, disallowing an orderly exit. So here's a better way.

1) Get the freeware process.exe from

http://www.beyondlogic.org/consulting/processutil/processuti l.htm

2) write a .BAT file that does

process.exe -k SDM3.exe
shutdown -r -t 10

And invoke this file when you want to reboot.
The first line successfully kills the TimerApp.

The only problem is that your Virus scanner may flag process.exe as an "unwanted app", because it can kill processes. You need to add it to your scanner's exclusion list.

/j
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: November 29 2007 at 22:59 | IP Logged Quote BeachBum

Thanks Jeff, I've been trying to solve this one for a long time. Had not found the freeware.

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


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: December 03 2007 at 21:45 | IP Logged Quote jeffw_00

actually, this works better

c:\util\process.exe -k pwrhome.exe
doze 10
c:\util\process.exe -k SDM3.exe
doze 3
shutdown -r -t 5
exit

get doze.exe by searching google, for example... here

http://www.jsifaq.com/SF/Tips/Tip.aspx?id=4170
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
bhlonewolf
Senior Member
Senior Member


Joined: March 29 2007
Online Status: Offline
Posts: 198
Posted: December 03 2007 at 22:22 | IP Logged Quote bhlonewolf

Same idea, but a freebie from MSFT:

http://www.microsoft.com/technet/sysinternals/ProcessesAndTh reads/PsKill.mspx

Back to Top View bhlonewolf's Profile Search for other posts by bhlonewolf
 
Lazyman
Groupie
Groupie
Avatar

Joined: February 08 2006
Location: United States
Online Status: Offline
Posts: 74
Posted: April 21 2009 at 13:03 | IP Logged Quote Lazyman

I am still having a similar problem. SDM3 does not close when I close PowerHome and prevents me from rebooting my computer. Are there any other fixes for this? Is there a way to get PowerHome to close SDM3 when it closes?
Back to Top View Lazyman's Profile Search for other posts by Lazyman
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: April 21 2009 at 13:05 | IP Logged Quote jeffw_00

are you running 2.0? Dave thought he fixed this there.
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
BeachBum
Super User
Super User
Avatar

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

One sure fix is to upgrade to the PLM. Otherwise I found Task Manager to be the only real way to kill it without killing the power.

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


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: April 21 2009 at 13:12 | IP Logged Quote jeffw_00

seems like a pricey fix to me. 8-}

Beachbum, did you try my fix above?

Edited by jeffw_00 - April 21 2009 at 13:42
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: April 21 2009 at 13:21 | IP Logged Quote BeachBum

I run both and the PLC hangs every few weeks or so and the PLM has yet to hang PH since I’ve used it. Yes it’s pricy but time wasted and aggravation is also. SDM runs by itself and is not really a PH issue other than it relies on it for App support for PLC support. From my observation, I would say SH is slowly phasing the PLC out. My 2 cents worth.

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


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: April 21 2009 at 13:27 | IP Logged Quote jeffw_00

Ok, but for those of us who (knock wood) have no problems with the PLC...

This really isn't a sufficient reason to upgrade, I think?
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: April 21 2009 at 13:33 | IP Logged Quote BeachBum

For that reason, if your happy, then don’t fix what’s not broke but this thread is about a broken process. And then there is the reliability and speed plus future Insteon support that the PLM offers.

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


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: April 21 2009 at 13:38 | IP Logged Quote grif091

Lazyman, I'm running PH 2.1b, XP Home Edition SP3. Although normally I run with a PLM I switched back to the PLC Controller definition to see what happens with SDM3 when PH is shutdown. The PH connection to SDM3 is closed but the SDM3 Icon remains in the system tray. I was able to shutdown XP with no special action with this condition.

__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: April 21 2009 at 13:38 | IP Logged Quote jeffw_00

I'm sorry - not explaining myself well. At least right now, my PLC has all the reliability and speed I need 8-},
and more important, the O.P. didn't complain about reliability or speed, or even indicate if he had a PLC or PLM, or 1.0 or 2.0? I was trying to be jocular about it, but I guess my point was to try to help him fix his problem rather than sell him something he may or may not need.
/j

Edited by jeffw_00 - April 21 2009 at 13:40
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: April 21 2009 at 14:00 | IP Logged Quote grif091

Pete, thanks for posting your experience with the PLM. I agree completely with your view that the PLM is a better choice than the PLC. It is faster, more reliable, eliminates SDM3 and provides the powerline interface necessary to support ED messages. For those that are happy with what they have, with no plans to move to any of the new Insteon devices which utilize ED, sounds fine with me. Anyone who is moving forward with new Insteon devices should consider moving to a PLM.

__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: April 21 2009 at 14:03 | IP Logged Quote jeffw_00

all right, I'll bite.
what's "ED"? I assume it has a meaning different than in the daily emails I get 8-}

and for the record, I'm not disputing the PLM is "better".    But, except for this "ED" of which you mention, I've found that the PLC does the job fine. I wouldn't tell someone to buy a PLM strictly over the reboot issue.

Edited by jeffw_00 - April 21 2009 at 14:04
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: April 21 2009 at 14:03 | IP Logged Quote BeachBum



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


Joined: March 29 2007
Online Status: Offline
Posts: 198
Posted: April 21 2009 at 19:20 | IP Logged Quote bhlonewolf

jeffw_00 wrote:
all right, I'll bite.
what's "ED"? I assume it has a meaning different than in the daily emails I get 8-}

and for the record, I'm not disputing the PLM is "better".    But, except for this "ED" of which you mention, I've found that the PLC does the job fine. I wouldn't tell someone to buy a PLM strictly over the reboot issue.


Extended Data or something along those lines -- essentially, for newer devices that need/support longer messages than the current ones Insteon uses. I forget the exact message lengths. I believe some have been calling this I2 (Insteon 2) for these extended length messages...
Back to Top View bhlonewolf's Profile Search for other posts by bhlonewolf
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: April 21 2009 at 20:26 | IP Logged Quote jeffw_00

Ok - i'll worry about it when I want a device that uses it 8-}
/j
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: April 22 2009 at 22:25 | IP Logged Quote dhoward

PowerHome version 2.1b can be set to automatically close the SDM when PH closes. To enable this functionality, just edit the pwrhome.ini file (default in c:\program files\powerhome) and locate the [SDM] section. Set the "shutdown" parameter equal to 1. Save/close the file and restart or reinit PowerHome.

HTH,

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


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: April 26 2009 at 14:11 | IP Logged Quote jeffw_00

Ok - so in Powerhome 1, if you wanted to reboot your system, you had to first exit powerhome, and then exit the SDM, and then do the reboot. In 2.1, you can have Powerhome exit the SDM for you when PH shuts down, but this doesn't really solve the problem.

At least for me (curious if others have this too), I'm running XPHomeSP3, when I do a Start->Turn Off Computer->Restart, the first thing I get is the prompt from Powerhome asking if I really want to exit, if I say Yes, then Powerhome, SDM, and most other apps and TSRs exit, but the system does NOT reboot, apparently the pause injected by Powerhome screws up the process, and I have to do the restart again (now with no apps running) to get the system to actually reboot.

This is an annoyance, and makes life difficult for automated shutdowns. To do a scheduled reboot, one can still do a shutdown -f(orce), but that's still not a great thing to do, so I still have to use the technique at the top of this thread.

So I'm wondering
a) Can other people who run 2.1b on XP-SP3 simply do a Start->Turn Off Computer->Restart and get their PC to reboot?

b) Can/should Dave put on his todo list modifying powerhome so that it is well-behaved during a conventional reboot/shutdown?

Thanks
/j






Edited by jeffw_00 - April 26 2009 at 14:13
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 

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