Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 1.93 KB

README.md

File metadata and controls

49 lines (28 loc) · 1.93 KB

libcbus Build Status

Talks to C-Bus using Python.

Copyright 2012-2014 Michael Farrell. Licensed under the GNU LGPL3+. For more details see COPYING and COPYING.LESSER.

Clipsal state that use of C-Bus with non-Clipsal hardware or software may void your warranty.

Additional documentation for the project is published at http://cbus.rtfd.org/

Hardware interface support

This should work with the following C-Bus PC Interfaces (PCIs):

About this project

This is a reimplementation of the PCI serial protocol from scratch.

It does not use the libcbm library/DLL from Clipsal, or C-Gate:

  • The libcbm module only runs on x86_32 systems, and is only available as a static library (closed source).

  • C-Gate requires an OS and architecture specific closed source serial library (SerialIO), the Java runtime, and itself has various licensing restrictions.

As such, it should run on any Python supported platform, with the exeception of dbus (IPC server) components which don't work properly on Windows.

The software itself has been primarily developed on Linux with on armhf, x86_32 and x86_64 systems.

The most useful bits of this project are:

  • cdbusd, which shares events from the C-Bus PCI in D-Bus.

  • saged, which is a WebSocket server that communicates with cdbusd.

  • sage (in sage_root), which is a jQueryMobile-based JavaScript web app which can connect to saged.