Hello, I'm another Australian LinuxMCE newbie who's trying to interface to the CBUS system. We're building a new house and I've somehow managed to convince my wife that automated lighting was high on the list of priorities
Here's the info that I've gathered so far:
(1) The notes at
http://wiki.linuxmce.org/index.php/Implementing_Clipsal_Interface_using_Generic_Serial_Device gave me the impression that LinuxMCE is talking directly to the clipsal 5500PC device. Is that the case ? Are the magic binary strings documented or were they determined by reverse engineering ? Will LinuxMCE be notified when a light is turned on/off via a regular wallswitch ?
(2) Clipsal have a linux driver (see reference #4 below) provided as a set of libraries. I'm not sure how LinuxMCE would interact with this library given that it would need to periodically poll the bus (~every 100ms).
(3) Clipsal have a java app (C-Gate2) that provides a simple ascii command interface to the 5500PC (serial-CBUS interface) via a telnet socket. This is used in conjunction with the Windows based 'CBus Toolkit' app which is used to configure each of the devices, but also accomodates other applications sending commands etc.
At this stage (for the sake of simplicity) I'm planning to use C-Gate.
The first silly problem that I ran into seemed to be related to the version of java included within LinuxMCE 0704.
- When I ran 'java -jar cgate.jar', I got the following response 'Java Version 1.4.2 or later required for C-Gate operation'.
- Of course the funny thing was that when I ran 'java -version', it responded with 'java version "1.4.2"'.
Hopefully this is a trivial issue to resolve... (pity that I know zippo about java).
I'm curious to know whether other people are keen to proceed down the path of using C-Gate as apposed to directly talking with the 5500PC interface. I've already bought some of the CBUS hardware so that I can play with it prior to it being installed in the new house. I certainly wasn't keen on buying the Clipsal colour touchscreens for A$2500ea, especially seeing as I inherited a number of 10.4" touchscreens which will one day run LinuxMCE! Now I've just got to get it working...
References:
(1) The C-Gate2 server software can be freely downloaded as part of the C-Bus Toolkit available from
http://www2.clipsal.com/cis/technical/downloads/c-bus_toolkit(2) The ascii protocol documentation is available from
http://www2.clipsal.com/cis/technical/downloads/developer_tools#Cgatedoco(3) There are a few tips at
http://www2.clipsal.com/cis/technical/technical_support/application_notes(4) CBUS Linux driver doc available at
http://training.clipsal.com/downloads/Driver/CBM-Linux_1_4.pdf