AHP & CM15A Error

Started by spam4us, September 28, 2007, 10:52:59 AM

Previous topic - Next topic

spam4us

I got the following error message.

Error  An error has occurred while
communicating with your AH USB interface. To
make sure that your timers and macros
continue to run, click OK to download your
settings to the interface"

I clicked "OK" 
After that, my macros did not run correctly. 
I then did the "download Timers and Macro" thing and still the same problem.
I then did the folllowing
   unplugged the CM15A
   removed the batteries
   waited for 2 minutes
   reinstalled the batteries
   downloaded the timers & macros again.
   updated the hardware interface
   
I have macros that trigger other macros that were working before this happened.  Now, when a macro triggers the unit on, the macro doesn't run anymore.

Here's the macro that worked before the error above happened.
Example:
trigger e1 On
    set f1 on (light)
    set g2 on (trigger macro)

Trigger G2 On
    set f2 Off(turn one light off)
    set f5 on (turn another on)


I've rebooted restarted AHP......still same problem
In the Activity Monitor, I see the trigger e1 On macro run, F1 get set ON, G2 gets set to ON BUT......the Trigger G2 ON macro where it sets F2 Of and F5 On doesn't run.

Again,  this worked perfectly before the error occurred.

Any input is appreciated.

Thanks



Tuicemen

You forgot to clear the interface  and purge delayed macros before unpluging the CM15A! ;) :D ;D
Please Read Topic:
General Forum Etiquette
Before you post!

spam4us

Tuicemen ,

You forgot to clear the interface  and purge delayed macros before unpluging the CM15A
Wouldn't
"I then did the folllowing
   unplugged the CM15A
   removed the batteries
   waited for 2 minutes
   reinstalled the batteries
   downloaded the timers & macros again.
   updated the hardware interface"
have accomplished the same thing?

Puck

#3
Quote from: spam4us on September 28, 2007, 03:19:31 PM
Wouldn't
"I then did the folllowing
   unplugged the CM15A
   removed the batteries
   waited for 2 minutes
   reinstalled the batteries
   downloaded the timers & macros again.
   updated the hardware interface"
have accomplished the same thing?

The user memory (for the *.AHX file) is stored in non-volitile EEPROM. The above procedure would then just reset the microcontroller and clear it's internal RAM memory only.

Have you tried as Tuicemen suggested? And did it solve the problem?

[Puck edit: NOTE: Verified the user memory is a 24C65 EEPROM....non-volaile. So updated the post.]

spam4us

Just did as Tuicemen suggested, even did a little dance but it did not solve the problem.

Dan Lawrence

Quote from: spam4us on September 28, 2007, 10:52:59 AM
I got the following error message.

Error  An error has occurred while
communicating with your AH USB interface. To
make sure that your timers and macros
continue to run, click OK to download your
settings to the interface"


I've gotten that quite a few times.   Each time I clear the CM15 and reload the .ahx file I'm using (I have 8 different .ahx files for different times of the year).  I'm running AHP 3.04 and no plug-ins of any kind.  It's probably a bug in AHP, which I will add to the thread about improvements to AHP.
I don't SELL this stuff... BUT I sure do ENJOY using it!!!

spam4us

All,
      thanks for the replies.  What I eventually did was create a new .ahx file, unplugged the CM15A, reboot pc, did the dance, then downloaded the new .ahx file.  All seems to be OK at the moment.

Just a word to the wise.........    create backups

thanks again
Oh yeah   and please vote for #89 in the contest.......please,please,please

Tuicemen

Quote from: spam4us on September 28, 2007, 09:16:29 PM
All,
      thanks for the replies.  What I eventually did was create a new .ahx file, unplugged the CM15A, reboot pc, did the dance, then downloaded the new .ahx file.  All seems to be OK at the moment.

Just a word to the wise.........    create backups

thanks again
Oh yeah   and please vote for #89 in the contest.......please,please,please
create backups
MY number one rule! ;) :D ;D
AHX files have been known to get corrupt via internet install,updates or the boogy man! ;) :D ;D
I should have stated rebuild your AHX file after all else fails! ;) :D ;D
Thanks for the update!
Please Read Topic:
General Forum Etiquette
Before you post!

KDR

That is odd... Since I moved my CM15A about 30 feet away by way of 2 USB extension cables I have gotten that error, sometimes 3 times back to back. When I click on it to close it, it runs the download process and all is fine. It has never corrupted my .ahx file nor has any of my many macros failed to run. My guess is that the computers USB port momentarily looses communication with the CM15A and that causes the error. Mine mostly happens when I'm viewing or controlling one of my cameras. I would further guess that if one of the macros was in the middle of executing it could corrupt the .ahx file. Perhaps I have been lucky so far but as everyone says... Back up your .ahx file everytime you make a change.

----------------KDR
Note: "Guests" may read the X10 forum , but you must register to post!

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

Charles Sullivan


I've experienced persistent file corruption just copying files to a flash drive connected via a 6 foot USB extension cable which was an el-cheapo purchased at Dollar Tree.   I've also experienced occasional lockups of USB-Serial adapters connected with that same cable.

Yesterday it worked.
Today it doesn't work.
X10 on Windows is like that.

HEYU - X10 Automation for Linux, Unix, and Mac OS X     http://www.heyu.org

-Bill- (of wgjohns.com)

Another potential problem to consider:

My CM15A is very unhappy on a USB 2.0 port.  Plays nice on a USB 1.1 port.   ???

P.S.
That is an answer, not a question. ;)
-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!

SMF spam blocked by CleanTalk