Published January 18th, 2004 by Jim O'Halloran

Controlling Home Lighting with Clipsal C-Bus

The last talk before lunch was LinuxSA and Linux.Conf.Au organiser Geoffrey Bennet’s talk on “Controlling your home lighting with C-Bus”. Geoffrey is a very bright guy who I’ve known since school, and the fact that he’s spent quite a bit of time reverse engineering his home lighting system doesn’t surprise me in the least.

Clipsal C-Bus is a home automation system allowing control of lights and power points via a programmable system. Rather than being connected directly to the lights, each switch is connected to a light via the Relay/Dimmer unit. This means that switches can be reprogrammed to turn on different lights, or do different things. Although the Windows software doesn’t allow it Geoffrey’s Linux software can also turn on and off the lights directly from a PC.

C-Bus also allows you to connect multiple switches (3 or more) to one light which is difficult to do with conventional wiring, and also to connect several lights to one switch. You can also set up a switch (e.g. by the front door of the bed) to turn all of the lights in the house off.

Clipsal only provides Windows based software to program the C-Bus controller, which Geoffrey took as a challenge. Using sersniff he was able to see what the Windows software was sending to the controller and eventually was able to reverse engineer the protocol by hand. Essentially this was a process of correlating what the Windows software was showing on the screen with changes in the data on the wire. As noted above, his cbusd software now supports some operations that you can’t do on the Windows software.

Along the way he wrote his own tool called spreech that connects any two character devices or TCP streams together in order to better be able to see what the C-Bus software was doing, and also a C-Bus simulator to help exercise the Windows software and see everything that it can do.


4 Responses to “Controlling Home Lighting with Clipsal C-Bus”

Feed for this Entry
  1. 1

    barry day Says

    is it possible to get a copy of your c-bus software?

  2. 2

    Mario Laginha Says

    Im a sparky who is just about to embark on my first c-bus install.
    Can you provide any info at all for a novice?
    Cheers,
    Mario

  3. 3

    Jim O'Halloran Says

    Unfortunately I haven’t had anything to do with C-Bus, I just went to a presentation on it. Looks vary cool, if I have built a home I’d have it installed, but I don’t know a whole lot about the technical details.

  4. 4

    agus gunawan Says

    hai,
    i’m wondering which is the better one ? C-bus or EIB system
    thank’s
    agus gunawan

Leave a Reply

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>