Please login or register.

Login with username, password and session length
Pages: 1 [2]

Author Topic: CM15A Strange Operations: Random ALL LIGHTS ON and more...  (Read 14204 times)

David Mark

  • Full Member
  • ***
  • Helpful Post Rating: -3
  • Posts: 58
    • Ohio Media Group
Re: CM15A Strange Operations: Random ALL LIGHTS ON and more...
« Reply #15 on: December 23, 2006, 11:17:00 PM »

>>With all due respect David, I don't believe either you or that other guy you reference fully understand the X10 protocol.

I think I understand it pretty well.  As I said, the other guy is wrong.  There is another version of the same theory out there that is accepted.
 
>>He is obviously clueless when it comes to the X10 encoding of house and unit codes, which you thankfully do understand.

Right.

>>Now he says "... X-10 does NOT have an error correction system.", which is a true statement.  However X10 does use an error detection scheme - each bit transmitted is immediately followed by its complement.  If that pattern isn't detected the signal is flagged as an error and ignored.  Then each signal is repeated to double the chances of the receiver getting a correct code.   With this scheme the probability of

I know about the repeated signal, but was unaware that the checksum scheme was part of the powerline transmissions.  If so then in a perfect world there would be no need for a scheme like this.

>noise or collided signals being received as a valid (albeit incorrect) code is very small, at least to the extent that a receiver module correctly i>mplements the protocol.  (Granted, we can't be sure of this since we don't have access to the microcontroller source code for the modules, and >X-10 hasn't received many awards for bug-free programming.)

Right.  It is not a perfect world.  I'm not familiar enough with the hardware/firmware end of it to comment on these articles much further.  I do think that it pays to think about how you organize your units per house code, especially if you insist on transceiving motion signals.

>But how then to account for the instances of lights flashing on and off apparently at random?

I don't know about flashing on and off, but motion sensors can cause odd things to happen. Just address a unit with your remote, forget about it and walk in front of a sensor on the same house code.

Several reasons:
>The on/off operation of these modules  is nominally controlled by the microcontroller flipping on/off bits in the module's power control circuitry.  But the AC power line is a pretty dirty electrical environment and it's not uncommon to have voltage spikes and surges which can induce bit-flips directly in a module's power control circuitry, bypassing the microcontroller.  Evidence that the module is being controlled by other than X10 signals is that no signal is detected by a receiver like a CM11A at the time a random event occurs.

Line noise.  No kidding.  Can definitely cause a module to come on for no good reason.  Luckily I have virtually none of that here.  X10 loves to blame everything on line noise when I call them though (even the macro and timer failures on the controller!)

>Another reason is that a flakey X10 controller is sending the wrong signals.  This is easy enough to see with a CM11A by disconnecting the serial cable at the computer end and leaving it dangling from the CM11A.  This happens a lot with me because I'm constantly fiddling with one or two CM11As between different PCs and serial ports.  Although anything is likely to be transmitted, in my case I often see a lot of 0x00 and 0xFF being transmitted, which unfortunately are received as several of what you describe as "safe" addresses and functions - M13, M-AllOff, J10, J-StatusRequest.

Well, I don't really deem them anything.  I read the article years ago and it seemed there were others in the X10 community who accepted it.  I had a CM11a for years but I never ran it unhooked from the PC.  Are those signals really received though?  Are the checksums sent as well?  Regardless, leaving the serial cable hanging isn't a good way to go.

>The TM751 Transceiver is susceptible to a mode whereby it transmits an endless stream of dim signals, thought to be due to RF feedback.

That's an easy one.  Plug two transceivers in on the same house code on the same phase (or anywhere if you have a coupler.)  Dims go all the way to off, brights go all the way to 100% every time.  Big trouble.

>In addition to the above are the oft-heard complaints which turn out to be X10 signals sent from a neighboring house on the same power company transformer.  Or the motion sensor which transmits on the programmed unit+1 on light or dark.

No issues there as none of my neighbors have X10.  Am quite familiar with the brightness sensors.  Odd that AHP isn't.

>In short I consider that table of "safe" house and unit codes worthless.  I would not use housecode A and unit 1 since that's the default for all >modules and controllers and there's always the chance of a neighbor getting a new X10 toy for Christmas.  I would not use housecode P,

If my neighbors ever get X10, I will make sure that there is no way for the signals to cross over into my house!

>especially units 1 or 16, since they're used by X10 test equipment and by AHP at startup.  In my own situation I would not use housecodes M or J

Not sure what test equipment you mean.  What in God's name is AHP doing on P at startup.  Never mind as I don't start it up (I shut it down.)

>for the reason stated earlier, but that wouldn't apply to most people.  Aside from that I consider any particular housecode/unit as no better or no worse than any other.

Could be.  Misinformation is not hard to find on the Internet.  Seems like some discussion in one of these forums led me to those two documents (the "right" one and the patently wrong one.)


[Edited by CS to delineate quoted from original material]


[TTA Edit: Increased SIZE of QUOTED TEXT from 8pt to 10pt so that those of us with "Advanced Eyesight" could at least read it!]
« Last Edit: December 24, 2006, 04:33:33 AM by TakeTheActive »
Logged

Charles Sullivan

  • Hero Member
  • *****
  • Helpful Post Rating: 94
  • Posts: 1565
    • HEYU - X10 Automation for Linux, Unix, and Mac OSX
Re: CM15A Strange Operations: Random ALL LIGHTS ON and more...
« Reply #16 on: December 24, 2006, 03:07:25 AM »

I know about the repeated signal, but was unaware that the checksum scheme was part of the powerline transmissions.  If so then in a perfect world there would be no need for a scheme like this.

It's not what we normally think of as a checksum.   A short 120 KHz pulse or lack thereof is transmitted at a zero crossing of the AC waveform and its complement at the next zero crossing.  So 1 bit of data requires one full AC cycle.

I don't know about flashing on and off, but motion sensors can cause odd things to happen. Just address a unit with your remote, forget about it and walk in front of a sensor on the same house code.

I presume you're talking about addressing a unit with a plug-in remote like a MaxiController which can send an address without an accompanying function.   X10 addressing is cumulative until the next function on the same housecode, so if you've addressed one or more units and didn't transmit a function, then the On signal from the motion detector will turn on all the addressed units.  If that's not what you're talking about, then I'd venture the guess that the function part of the signal sent from the remote was corrupted or marginally too weak to be recognized as such by the module, which then remained in the cumulative address mode.

I had a CM11a for years but I never ran it unhooked from the PC.  Are those signals really received though?  Are the checksums sent as well?

Oh yes, the signals are received by another CM11A as well as the affected modules.  I haven't put an o'scope on the power line, but assume the normal sequence of bit/~bit is there, else it the signal would be ignored by the CM11A.

Not sure what test equipment you mean.  What in God's name is AHP doing on P at startup.  Never mind as I don't start it up (I shut it down.)

X10 test signal generators - several I know of will repeatedly send P1 On, P1 Off.  It allows you to go around the house with an X10 signal strength meter to check the level at various locations.  I have no idea what X-10 had in mind for the P16 On signal transmitted by AHP at startup.

[TTA Edit: Increased font size of QUOTED TEXT to be 'readable' by our SENIOR Members. If you also agree with this increase, PLEASE post your support.]
« Last Edit: December 24, 2006, 05:01:55 AM by TakeTheActive »
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

David Mark

  • Full Member
  • ***
  • Helpful Post Rating: -3
  • Posts: 58
    • Ohio Media Group
Re: CM15A Strange Operations: Random ALL LIGHTS ON and more...
« Reply #17 on: December 24, 2006, 06:54:17 PM »

As for the motion sensor snafus, it can be either (forgot to finish a command or the function got corrupted, leaving the unit addressed.)  It isn't random, but it can seem like it to the uninitiated.  I am quite familiar with X10 unit addressing (the lack of logic for it was one of my primary complaints about mh that led me to rewrite most of its X10 processing.)
Logged
Pages: 1 [2]
 

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