From: Andy M. <myidea72hum@st...> - 2008-06-29 06:37:22
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body bgcolor="#ffffff" text="#000000">
I have finally got around to tidying up my changes to
code/public/mh_cbus_v2.0/cbus.pl. Having sat on it for nearly a year
now is the time to actually release it!<br>
Is it possible for one of the project leaders to give me CVS access
(or for me to email the new code to somebody)?<br>
This module has been broken for a while due to changes made by
Clipsal to CGate (the software gateway) to the CBus network. I have
reworked a large part of the module and have spoken a bit to the
original author Richard Morgan. I have largely kept to his original
framework despite it being non-optimal in today's MH architecture. (The
original code was written in 2002.) I am hoping one day to write the
next major version of the CBus interface with the same level of
integration to MH as X10. <br>
As I said above, I have tested it for nearly a year and have had no
problems. It would be great if other CBus users (are there any???)
could give me some quick feedback in case some problems are still
lurking. Not having multiple networks I have not tested the multiple
<span class="moz-txt-underscore"><span class="moz-txt-tag"></span><u><b>MAJOR
<li>Fixed to be compatible with the latest Clipsal CGate release
<li>Requires CGate 2.0 or above.
<li>Now reports the name of the source unit that modified a group
<li>Added ability to scan CGate for groups and output to config file.
<li>Able to scan multiple CGate networks.
<li>Changed config file to XML format. Less likely to make a mistake.
Easier to read. More typing required but MH writes it for you, so I
hope the trade-off is fair.
The next major version will use MH tables.</li>
<li>If Builder cannot find config file, then it will first scan CGate
and write the config file.
<li>Fixed interpretation of dimming commands. MH reports when RAMPing
begins with correct direction.
<li>System state not required to be specified. PROD is the default
state. In PROD, no option to stop comms. Changed DEV state to DEBUG
for commonality with MH.
<li>Monitor and Talker attempt to always run unless in DEBUG state.
<li>Changed detection of feedback from CGate to use Session ID.
<li>Install/Activate cbus.pl </li>
<li>Update mh.ini configuration as cbus.pl comments. IMPORTANTLY, set
the project name of your cbus network</li>
<li>Command MH to "CBUS BUILDER RUN". This will scan cgate, write a
CBus config file (cbus.xml) and build cbus_procedures.pl</li>
<li>Command MH to "RELOAD CODE".</li>
<li>Enjoy (and report any bugs)</li>