Please login or register.

Login with username, password and session length

Author Topic: AHP & CM15A Error  (Read 5612 times)

spam4us

  • Hero Member
  • *****
  • Helpful Post Rating: 3
  • Posts: 152
AHP & CM15A Error
« 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 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


Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: AHP & CM15A Error
« Reply #1 on: September 28, 2007, 02:24:35 PM »

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

spam4us

  • Hero Member
  • *****
  • Helpful Post Rating: 3
  • Posts: 152
Re: AHP & CM15A Error
« Reply #2 on: September 28, 2007, 03:19:31 PM »

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?
Logged

Puck

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 171
  • Posts: 1799
Re: AHP & CM15A Error
« Reply #3 on: September 28, 2007, 03:36:39 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.]
« Last Edit: September 28, 2007, 05:08:48 PM by Puck »
Logged

spam4us

  • Hero Member
  • *****
  • Helpful Post Rating: 3
  • Posts: 152
Re: AHP & CM15A Error
« Reply #4 on: September 28, 2007, 06:05:56 PM »

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

Dan Lawrence

  • Hero Member
  • *****
  • Helpful Post Rating: 68
  • Posts: 3991
Re: AHP & CM15A Error
« Reply #5 on: September 28, 2007, 06:53:35 PM »

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.
Logged
I don't SELL this stuff... BUT I sure do ENJOY using it!!!

spam4us

  • Hero Member
  • *****
  • Helpful Post Rating: 3
  • Posts: 152
Re: AHP & CM15A Error
« Reply #6 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
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: AHP & CM15A Error
« Reply #7 on: September 30, 2007, 09:08:50 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!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

KDR

  • Hero Member
  • *****
  • Helpful Post Rating: 53
  • Posts: 758
    • Home Automation Chat
Re: AHP & CM15A Error
« Reply #8 on: September 30, 2007, 09:23:42 PM »

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
Logged
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

  • Hero Member
  • *****
  • Helpful Post Rating: 94
  • Posts: 1565
    • HEYU - X10 Automation for Linux, Unix, and Mac OSX
Re: AHP & CM15A Error
« Reply #9 on: September 30, 2007, 10:05:20 PM »


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.

Logged
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)

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 81
  • Posts: 1340
  • He's just this guy. You know?
    • wgjohns.com
Re: AHP & CM15A Error
« Reply #10 on: October 02, 2007, 12:01:42 AM »

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. ;)
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.