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/
This should work with the following C-Bus PC Interfaces (PCIs):
-
5500PCU USB PCI (Linux: use
cp210x
kernel module on v2.6.25 or later.)
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 onx86_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 withcdbusd
. -
sage
(insage_root
), which is a jQueryMobile-based JavaScript web app which can connect tosaged
.