Access Keys:
Skip to content (Access Key - 0)

X10 Overview

X10 is somewhat old but well-known home automation protocol. Its benefits include low prices, availability across major markets in US, Europe and Asia and a relatively simple and well-known protocol and installation. Drawbacks include lack of reliability.

X10 units can be controlled over power-line (or in some cases wirelessly) by sending bits across alternating current waveform. More details can be found in Wikipedia.

Technical

External Links

Added by Administrator , last edit by Administrator on Jun 30, 2011 14:01

  1. May 21, 2009

    Mathieu Gallissot says:

    I've recently order an X10 kit for testing this protocol. The controller includ...


    I've recently order an X10 kit for testing this protocol. The controller included was a CM11EFL from Marmitek (it was said that's a European version). It worked using RS232, but it was also furbished with a USB cable (including an adapter).  So far, it is working with tjX10, so I guess it is fully compatible with a CM11A...

    1. May 22, 2009

      Juha Lindfors says:

      I also got the X10 stuff from Marmitek (CM11 unit for which I've lost the exact ...

      I also got the X10 stuff from Marmitek (CM11 unit for which I've lost the exact model number) and CM15EFL Pro. They seem reasonably solid stuff, at least as far as X10 goes.

      Haven't tried the CM15 yet.

      CM11 seemed to work (had one issue lately which I need to debug). Since you mentioned the USB, checked the package and have the USB driver on CD too. Can't recall a USB<->RS232 adapter though, so either I need to get one or I've lost the one that came with it.

      USB adapter not surprising, a lot of the USB just act like a serial connection internally. So it's basically a USB wrapper around RS-232.

      I need to play with X10 some more.

      1. Sep 05, 2010

        Fredrik Aubert says:

        I have been playing with the CM11 myself, and in my experience it's too unrelia...

        I have been playing with the CM11 myself, and in my experience it's too unreliable to be using it for anything serious. My unqualified guess is that the unit itself is flawed by design, and not worth spending a lot of time on (I know I did). I even bought two CM11, as I was sure the first one I tried was broken. It turned out the same thing happened to the second one.
        The problem was that every now an then the unit locks up, and doesn't respond to any commands. When I did the testing on the unit, I was happy when finally it seemed stable enough to send out several thousand on/off commands in a row without any crash. I didn't have any devices responding to the commands, though, as turning the lights on and off every few secons would turn me crazy before the first couple of hundreds commands. I even tested with a device responding to the command - but with no light connected to it with great success.
        However, when I was happy with the stability of the CM11, I tried to use it for actually turning on and off lights - and it would lock up within a few transmissions. To make it lock up quite fast; this is the setup I used: Connect an appliance module next to the cm11a. Make a test that sends on/off commands with a few seconds delay. This setup worked great, and a could pump out 10s of commands in a row without any faults. Then I connected a 60W light bulb to the appliance module, and within 10 transmissions the CM11 would lock up.
        So it seems to me the CM11 is very sensitive to variations on the power line - responding with a total lockup if there's too much noise or whatever. The only remedy to make it work was to disconnect the CM11 from the power line and reboot the computer (as it seemed the serial connection to the computer would be messed up as well).
        Personally I wouldn't bother with trying to get the CM11 to work, as I believe no software patch can work around the problem that the CM11 will lock up sooner or later if you actually try to use it to turn on and off lights and appliances. This is my experience - tested in my home in norway - I did not test different locations - but I believe I do not have a unique electrical system in my apartment - so I believe that the CM11 is by design so flawed that it is not worth investing time in. At least you should try to see how stable it it when turning on and off actual load close to the CM11 on the powerline - if it is further away, the lockups occur more rarely (but they do).
        I've since moved to the CTX35 controller - which seemed to be rock solid (but a little more expensive). I've started making an java API for it using rxtx, but I've kind of haven't had the time to finish it, so the code has been "in the drawer" for some time. I'll see if I can finish it and publish the API some time - I just need to get fired from my job or get more spare time somehow.

        1. Sep 05, 2010

          Juha Lindfors says:

          Thanks for sharing your experience, Fredrik. Would absolutely be interested in ...

          Thanks for sharing your experience, Fredrik.

          Would absolutely be interested in your Java API if you find time to finish it. It doesn't even need to be polished, just the core of the protocol would do just fine.

          Regards,

          – Juha

          1. Sep 06, 2010

            Fredrik Aubert says:

            I've got it working sending commands to the powerline, and sort of began looking...

            I've got it working sending commands to the powerline, and sort of began looking into reading commands off the powerline as well, but "abandoned" the project over a year ago for various reasons. I really don't need to read commands off the command line in my setup, as I plan to use RFXCOM for reading X10 commands sendt by wireless units (like motion sensors).

            I am planning on resuming it, though I don't know if/when I'll find the time. I could provide you the code I have so far if you're interested in build on that. As I remember, it worked quite stable in the sending regards - don't think I had any issues. Or, if you prefer, I will let you know when the API is completed - I really can't say when - at the earlies this winter some time - or perhaps further into the future.

            If you would like the code as it is now, do you have an email or other way to get in touch?

            1. Sep 06, 2010

              Juha Lindfors says:

              You can email me: juha at openremote org Sending commands is fine at this point...

              You can email me: juha at openremote org

              Sending commands is fine at this point, this is what we do with CM11 also although I'm looking to extend it for 2.0 release that now has sensor support.

              At the very least we could make your code part of the subversion source control, if somebody picks up the work and continues it. I'm interested in it too but won't have time in the near future either.

              For code contribution we will also need you to read and click through an online contributor agreement regarding your copyright, no patent claims and so on. I will send the details and link in the email.

              Thanks,

              – Juha

            2. Dec 03, 2010

              Fredrik Aubert says:

              The source is now on Github if anyone is interested. I will continue working on ...

              The source is now on Github if anyone is interested. I will continue working on it when I find the time, put progress will propably be slow:

              https://github.com/fredrikaubert/ctx35

              1. Dec 07, 2010

                Juha Lindfors says:

                Thanks Fredrik, if it's ok with you I will put a notice through our social netwo...

                Thanks Fredrik, if it's ok with you I will put a notice through our social network followers, maybe someone will catch it and help you with the implementation.

                1. Dec 07, 2010

                  Fredrik Aubert says:

                  Sure, no problem.

                  Sure, no problem.

© 2008-2011 OpenRemote Inc. OpenRemote is a trademark of OpenRemote, Inc.
Adaptavist Theme Builder (3.3.3-conf210) Powered by Atlassian Confluence 2.10.3, the Enterprise Wiki.
Free theme builder license