Please login or register.

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

Author Topic: Question for those using the CM11A for PC-based automation software  (Read 44897 times)

JeffVolp

  • Moderator
  • Hero Member
  • *
  • Helpful Post Rating: 122
  • Posts: 2299
    • XTB Home Page
Re: Question for those using the CM11A for PC-based automation software
« Reply #15 on: March 02, 2011, 10:29:24 PM »

Jeff - add a USB interface, keep the CM11A protocol and you'd be elected Grand Poobah in the HeyU Hall of Heroes!   :)

Sorry, but USB just isn't going to happen.

FYI - The hardware is working exactly as shown above.  You may note that I managed to squeeze in three opto-isolators (top left), so it will even support the ring indicator.

All that is left to do is code the CM11A protocol, but that may have to wait until after April 15.

Jeff
Logged
X-10 automation since the BSR days

pconroy

  • Hero Member
  • *****
  • Helpful Post Rating: 9
  • Posts: 294
Re: Question for those using the CM11A for PC-based automation software
« Reply #16 on: March 03, 2011, 06:50:08 PM »

Yeah - I was just razzing you.
It looks great.

Logged

dhouston

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 37
  • Posts: 2547
    • davehouston.org
Re: Question for those using the CM11A for PC-based automation software
« Reply #17 on: June 20, 2011, 08:58:48 PM »

To make this compatible with existing systems, it would emulate the “real-time” CM11A protocol.
What does "real time" mean? One problem with all of X-10's interfaces is that they report only valid X-10 commands - they do not report all power-line activity.
Logged
This message was composed entirely from recycled letters of the alphabet using only renewable, caffeinated energy sources.
No twees, wabbits, chimps or whales died in the process.
https://www.laser.com/dhouston

Noam

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 51
  • Posts: 2818
Re: Question for those using the CM11A for PC-based automation software
« Reply #18 on: June 20, 2011, 09:27:30 PM »

Jeff -
Was this meant as a simple replacement for the "live" function of the CM11A?
Is there anything this product would do that a CM11A CAN'T do?
Logged

JeffVolp

  • Moderator
  • Hero Member
  • *
  • Helpful Post Rating: 122
  • Posts: 2299
    • XTB Home Page
Re: Question for those using the CM11A for PC-based automation software
« Reply #19 on: June 21, 2011, 01:17:44 AM »

To make this compatible with existing systems, it would emulate the “real-time” CM11A protocol.
What does "real time" mean? One problem with all of X-10's interfaces is that they report only valid X-10 commands - they do not report all power-line activity.

My target for this product was the PC-based automation systems that interface to the powerline through a serial port.  HomeSeer is one example that does not use the "controller" functions in the CM11A, such as timed events or macros.  It uses the subset of commands that I call "real-time" because those are processed immediately.  And you are right, the CM11A only passes valid X10 commands back to the PC.

(Boy, the spell checker had some interesting suggestions for this message.  I especially liked "Pickaxed" automation systems.)

Jeff
Logged
X-10 automation since the BSR days

JeffVolp

  • Moderator
  • Hero Member
  • *
  • Helpful Post Rating: 122
  • Posts: 2299
    • XTB Home Page
Re: Question for those using the CM11A for PC-based automation software
« Reply #20 on: June 21, 2011, 01:32:23 AM »

Was this meant as a simple replacement for the "live" function of the CM11A?
Is there anything this product would do that a CM11A CAN'T do?

As stated in the prior response, the intent was to provide a high-reliabilty powerline interface for software-based automation systems running on the PC.  Except for driving with a much stronger signal, the XTB-232 only currently supports what I call the "real-time" subset of CM11A commands (up through section 4 in the CM11A protocol document).

Once the hardware platform exists, it is certainly possible to provide extensions beyond that basic capability.

FYI:  The prototype seems to run well under the original ActiveHome GUI.

Jeff
Logged
X-10 automation since the BSR days

dhouston

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 37
  • Posts: 2547
    • davehouston.org
Re: Question for those using the CM11A for PC-based automation software
« Reply #21 on: June 21, 2011, 07:12:13 AM »

(Boy, the spell checker had some interesting suggestions for this message.  I especially liked "Pickaxed" automation systems.)
Well, the PICAXE is actually quite impressive although I have no idea whether it includes any X-10 functions. ;D
Logged
This message was composed entirely from recycled letters of the alphabet using only renewable, caffeinated energy sources.
No twees, wabbits, chimps or whales died in the process.
https://www.laser.com/dhouston

JeffVolp

  • Moderator
  • Hero Member
  • *
  • Helpful Post Rating: 122
  • Posts: 2299
    • XTB Home Page
Re: Question for those using the CM11A for PC-based automation software
« Reply #22 on: August 08, 2011, 05:36:08 PM »


I wanted to give an update on the XTB-232.  There are a few beta units out there.  One installation uncovered a problem with status reports from 2-way modules.  The original beta firmware could receive standard STATUS_ON and STATUS_OFF commands, but not extended or preset-dim status reports.  That is fixed now for X10 modules such as the LM14A.  After I confirm it also works with a SmartHome 2-way module presently on order, the new beta firmware will be distributed.

The XTB-232 will be a “polite” transmitter.  Not only will it wait for a clear line before transmitting, but it will also automatically abort and re-transmit a command if there is a collision with a command sent by a dumb controller such as the TM751.  While that doesn't prevent corruption of the command from the dumb controller, the command issued by the XTB-232 should be received cleanly.

This may be an improvement over the actual CM11A because collision testing with that unit not only locked up the CM11A itself, but also the ActiveHome program.  I suspect the occasional lockups that occurred back when I used the CM11A were also due to collisions.

The prototype XTB-232 has been tested running under ActiveHome, HomeSeer, and Home Control Assistant.  Please let me know if there are other PC-based X10 control systems that I should also test for compatibility.

Jeff
Logged
X-10 automation since the BSR days

Brian H

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 305
  • Posts: 13295
Re: Question for those using the CM11A for PC-based automation software
« Reply #23 on: August 08, 2011, 06:02:43 PM »

Has anyone with a LM14A,AM14A or AM15A. Two way module tested it?
I understand from one of the old X10 whitepapers. They send a request to the controller {CM11A} when powered up. Asking its last known state as they have no memory to store the information. That isn't lost with no power.
Logged

dhouston

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 37
  • Posts: 2547
    • davehouston.org
Re: Question for those using the CM11A for PC-based automation software
« Reply #24 on: August 08, 2011, 10:38:43 PM »

I may be mistaken but I don't think that is what they send. It's been too long for me to recall such details but a search of comp.home.automation using Lanciani LM14A power up might show this.

Hmmm - I guess the old brain ain't totally fried. Here's one extensive thread from comp.home.automation discussing what the LM14A sent at start-up (soon after its introduction) and its effect on a CM11A starting up at the same time (e.g. after a power outage). It sent its status (possibly saved to the MCU's EEPROM) which would cause the CM11A to lock-up.
« Last Edit: August 08, 2011, 10:55:52 PM by dhouston »
Logged
This message was composed entirely from recycled letters of the alphabet using only renewable, caffeinated energy sources.
No twees, wabbits, chimps or whales died in the process.
https://www.laser.com/dhouston

JeffVolp

  • Moderator
  • Hero Member
  • *
  • Helpful Post Rating: 122
  • Posts: 2299
    • XTB Home Page
Re: Question for those using the CM11A for PC-based automation software
« Reply #25 on: August 08, 2011, 11:09:25 PM »

Has anyone with a LM14A,AM14A or AM15A. Two way module tested it?

Yes, I have been testing the status response with the LM14A, RR501, and the PR511 floodlight.

I've cycled power on the LM14A a few times, but didn't see anything strange happen.

Update:  I just retested with a "port sniffer" watching RS232 traffic, and indeed the LM14A does send an extended code when it is powered up.  ActiveHome (not Pro) responds with its own extended code.  However, the command and data bit patterns are not defined in the extended code document I have, so I don't know what meaning either of those extended codes conveys.

Jeff
« Last Edit: August 08, 2011, 11:12:46 PM by JeffVolp »
Logged
X-10 automation since the BSR days

Brian H

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 305
  • Posts: 13295
Re: Question for those using the CM11A for PC-based automation software
« Reply #26 on: August 09, 2011, 06:35:20 AM »

There was a White Paper about the two way protocol used by the LM14,AM14-15. On the X10 web site at one time, but I can't find it now.
It was from Dave Rye and I did find basically the same date here:
http://www.hometoys.com/htinews/apr99/columns/x10/2way.htm
« Last Edit: August 09, 2011, 06:37:51 AM by Brian H »
Logged

dhouston

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 37
  • Posts: 2547
    • davehouston.org
Re: Question for those using the CM11A for PC-based automation software
« Reply #27 on: August 09, 2011, 07:23:56 AM »

From the Dave Rye paper...
Quote
When the unit is made to turn ON from being OFF, it fades up to the MEMORY level from FULL DIM at the normal dimming rate. When the unit is made to turn OFF, it fades from the MEMORY level to FULL DIM before turning OFF. The MEMORY is saved.
As best I recall, that's what it did way back when. There's a Commander X log in the CHA thread I referenced above documenting this. Whether it has since changed, I know not.
Logged
This message was composed entirely from recycled letters of the alphabet using only renewable, caffeinated energy sources.
No twees, wabbits, chimps or whales died in the process.
https://www.laser.com/dhouston

JeffVolp

  • Moderator
  • Hero Member
  • *
  • Helpful Post Rating: 122
  • Posts: 2299
    • XTB Home Page
Re: Question for those using the CM11A for PC-based automation software
« Reply #28 on: August 09, 2011, 09:31:43 AM »


Yes, the LM14A ramps up and down like the Leviton dimmers, stopping at the last preset level.

I believe Brian asked about the LM14A powerline traffic after power is cycled.  In that case there is extended message communication with ActiveHome.  While the LM14A house and unit codes can be seen in those messages, it isn't clear to me what content of that communication is.

The LM14A remains off when power is cycled, just like other X10 lamp modules.

Jeff
Logged
X-10 automation since the BSR days

Brian H

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 305
  • Posts: 13295
Re: Question for those using the CM11A for PC-based automation software
« Reply #29 on: August 09, 2011, 09:49:09 AM »

Near the bottom of the link I gave. Is a explanation of with is sent when it wants to know its last know state and what the CM11A sent back.
Logged
Pages: 1 [2] 3
 

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