Skip to content
/ cbus Public
forked from micolous/cbus

Python/Twisted library for interfacing with Clipsal C-Bus PCI, (basic) PCI/network emulator, D-Bus abstraction layer (cdbusd), mobile WebSockets interface (sage) and reverse engineering notes.

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

UraidLAN/cbus

 
 

Repository files navigation

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.

About

Python/Twisted library for interfacing with Clipsal C-Bus PCI, (basic) PCI/network emulator, D-Bus abstraction layer (cdbusd), mobile WebSockets interface (sage) and reverse engineering notes.

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 90.8%
  • JavaScript 5.4%
  • Shell 3.0%
  • HTML 0.8%