X10 Community Forum
🖥️ActiveHome Pro => ActiveHome Pro General => Help & Troubleshooting => Topic started by: crussell 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...
-
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?
-
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!
-
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.
-
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.
-
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.
-
...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.
-
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.
-
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.
-
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.