Please login or register.

Login with username, password and session length

Author Topic: Recovery Help  (Read 5542 times)

crussell

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 11
Recovery Help
« on: July 25, 2006, 04:49:42 AM »

Help!!! AHP Crashed right after doing an upload and the 'working' file I was using (at had been saving to was defaulted back to no macros.  Is their any way to suck the macros back out of the CM15A?  I would hate to try to recreat all the logic I had just finally gotten working.  The good part is that when disconected from my PC, the macros still seam to run from the box, so I hope not all hope is lost...
Logged

Dan Lawrence

  • Hero Member
  • *****
  • Helpful Post Rating: 68
  • Posts: 3991
Re: Recovery Help
« Reply #1 on: July 25, 2006, 08:52:48 AM »

Unfortunately, you are out of luck. There is no way to pull anyting out of the CM15A once it was downloaded.  Macros are housed either in the CM15A or the computer's hard drive, depending on what kind of macro it is. If the crash also damaged the .ahx file (where Active Home Pro keeps everything, then you are really out of luck.).

Were you able to reopen AHP after the crash at all?
Logged
I don't SELL this stuff... BUT I sure do ENJOY using it!!!

crussell

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 11
Re: Recovery Help
« Reply #2 on: July 27, 2006, 06:53:47 AM »

Rats, I was afraid of that!  I had just finished building some really cool macros that let me monitor if my ds7000 was armed, disarmed and if it had been triggered.  I had just gotten the delays right too.

Oh well, Back to the drawing board.  AHP re-opened just fine after the crash, but lost all of the information from my last save to the .ahx file.  Macros are still running inside the box though!
Logged

steven r

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 74
  • Posts: 2189
  • Halloween with X10
Re: Recovery Help
« Reply #3 on: July 27, 2006, 09:04:19 AM »

It would be a nice feature to have AHP do automatic backup of the previous settings when you save.
I make a regular backup of my .ahx file and even copy it off the computer every so often.
Logged
BVC let's me tell my camera where to go!
:) Murphy is my beta testing pal. He helps me find problems whether I like it or not. :)

Dan Lawrence

  • Hero Member
  • *****
  • Helpful Post Rating: 68
  • Posts: 3991
Re: Recovery Help
« Reply #4 on: July 27, 2006, 10:14:32 AM »

I always back all my .ahx files up every time I make any changes.  AHP has never crashed for me, but backups (to another drive) are a must.
Logged
I don't SELL this stuff... BUT I sure do ENJOY using it!!!

crussell

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 11
Re: Recovery Help
« Reply #5 on: July 27, 2006, 09:32:48 PM »

Oh believe me, I am a control system programmer/ systems engineer, so I understand the importance of backups!  Unfortunately, it crashed while making the updates, so was not able to do so.  But valid point to make.  I also recommend using 'Save As' and naming your files with revision or dates.  By doing this I was able to restore all but the stuff I was actively working on.
Logged

steven r

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 74
  • Posts: 2189
  • Halloween with X10
Re: Recovery Help
« Reply #6 on: July 27, 2006, 09:50:54 PM »

...By doing this I was able to restore all but the stuff I was actively working on.
It's good to hear you didn't have to start over completely, anyway.
Logged
BVC let's me tell my camera where to go!
:) Murphy is my beta testing pal. He helps me find problems whether I like it or not. :)

-Bill- (of wgjohns.com)

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 81
  • Posts: 1340
  • He's just this guy. You know?
    • wgjohns.com
Re: Recovery Help
« Reply #7 on: July 27, 2006, 10:59:02 PM »

See if you can find the file "MyHome.bak".

It appears to be a system generated backup of "MyHome.ahx".

Right-click it and open it with a text editor (notepad for instance).

There is a macros section.  Look for your old macro information there.  If it still exists in there then it may (anyone know for sure?) just take replacing "MyHome.ahx" with "MyHome.bak".

Copy "MyHome.ahx" and "MyHome.bak" to your desktop or another folder, then delete "MyHome.ahx" from the AHP program folder, then rename "MyHome.bak (in the AHP program folder) to "MyHome.ahx".

If all else fails, copy the copies you made back into the AHP program folder and you should be no worse off.
Logged
-Bill- (of wgjohns.com)
bill@wgjohns.com

In the real world, the only constant is change.

When I'm online you can find me in the Home Automation Chat Room!

Dan Lawrence

  • Hero Member
  • *****
  • Helpful Post Rating: 68
  • Posts: 3991
Re: Recovery Help
« Reply #8 on: July 27, 2006, 11:06:26 PM »

Just out of curiousity, Bill. Are the .bak files (which don't exist in my AHP folder) created by AHP crashing before the file is saved?  I've never had AHP crash on me since I got it last July.
Logged
I don't SELL this stuff... BUT I sure do ENJOY using it!!!

-Bill- (of wgjohns.com)

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 81
  • Posts: 1340
  • He's just this guy. You know?
    • wgjohns.com
Re: Recovery Help
« Reply #9 on: July 27, 2006, 11:15:20 PM »

Dan,

I don't honestly know when they are created without experimenting myself.  All I can tell you is that mine appears to have created one.  Mine appears to be over a year old but it may have been that long since I had to add modules or change macros.  It is however older than the .ahx file which is about nine months old.
Logged
-Bill- (of wgjohns.com)
bill@wgjohns.com

In the real world, the only constant is change.

When I'm online you can find me in the Home Automation Chat Room!
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.