[Fwd: CBus Support Fixed - New Code for CVS]

View: New views
3 Messages — Rating Filter:   Alert me  

[Fwd: CBus Support Fixed - New Code for CVS]

by Andy M. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


  I have now committed to SVN the changes mentioned below for the Clipsal CBus interface.
 
  Instead of a zip file containing quite a few files, the new version only requires "cbus.pl" to be installed. Due to the increase in automation of the module, the amount of documentation has reduced and is contained in the module itself.

  Please encourage anybody you know to be using CBus to test and report any problems.

  I have only tidied up and fixed the module to be compatible with the current Clipsal CGate gateway. I would like to fully integrate CBus to the level of X10 et al., but would like to know if anybody else would be using it!

Andy.

-------- Original Message --------
Subject: [mh] CBus Support Fixed - New Code for CVS
Date: Sun, 29 Jun 2008 16:37:14 +1000
From: Andy M. myidea72hum@...
Reply-To: The main list for the MisterHouse home automation program misterhouse-users@...
To: The main list for the MisterHouse home automation program misterhouse-users@...


Hi All,

  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!

  Is it possible for one of the project leaders to give me CVS access (or for me to email the new code to somebody)?

  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.

  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 network features.


MAJOR CHANGES
  • Fixed to be compatible with the latest Clipsal CGate release v2.6.1
  • Requires CGate 2.0 or above. 
  • Now reports the name of the source unit that modified a group level.
  • Added ability to scan CGate for groups and output to config file.
  • Able to scan multiple CGate networks.
  • 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.
  • If Builder cannot find config file, then it will first scan CGate and write the config file.
  • Fixed interpretation of dimming commands. MH reports when RAMPing begins with correct direction.
  • 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.
  • Monitor and Talker attempt to always run unless in DEBUG state.
  • Changed detection of feedback from CGate to use Session ID.

QUICK START
  1. Install/Activate  cbus.pl
  2. Update mh.ini configuration as cbus.pl comments. IMPORTANTLY, set the project name of your cbus network
  3. Command MH to "CBUS BUILDER RUN". This will scan cgate,  write a CBus config file (cbus.xml) and build cbus_procedures.pl
  4. Command MH to "RELOAD CODE".
  5. Enjoy (and report any bugs)

Enjoy,
Andy.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

________________________________________________________
To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
________________________________________________________
To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365


Re: [Fwd: CBus Support Fixed - New Code for CVS]

by Adrian Soundy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi Andy,

 

I also have a version of CBUS that works with the version 2 gateway that I did a few years ago. I always meant to post it to the list but never got around to it.

 

I will gladly test your version and look at integrating the any extra stuff I have to end up with one version.

 

Cheers

 

Adrian  

 

From: misterhouse-users-bounces@... [mailto:misterhouse-users-bounces@...] On Behalf Of Andy M.
Sent: Friday, 18 July 2008 6:50 p.m.
To: The main list for the MisterHouse home automation program
Subject: [mh] [Fwd: CBus Support Fixed - New Code for CVS]

 


  I have now committed to SVN the changes mentioned below for the Clipsal CBus interface.
 
  Instead of a zip file containing quite a few files, the new version only requires "cbus.pl" to be installed. Due to the increase in automation of the module, the amount of documentation has reduced and is contained in the module itself.

  Please encourage anybody you know to be using CBus to test and report any problems.

  I have only tidied up and fixed the module to be compatible with the current Clipsal CGate gateway. I would like to fully integrate CBus to the level of X10 et al., but would like to know if anybody else would be using it!

Andy.

-------- Original Message --------

Subject:

[mh] CBus Support Fixed - New Code for CVS

Date:

Sun, 29 Jun 2008 16:37:14 +1000

From:

Andy M. myidea72hum@...

Reply-To:

The main list for the MisterHouse home automation program misterhouse-users@...

To:

The main list for the MisterHouse home automation program misterhouse-users@...



Hi All,

  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!

  Is it possible for one of the project leaders to give me CVS access (or for me to email the new code to somebody)?

  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.

  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 network features.


MAJOR CHANGES

  • Fixed to be compatible with the latest Clipsal CGate release v2.6.1
  • Requires CGate 2.0 or above. 
  • Now reports the name of the source unit that modified a group level.
  • Added ability to scan CGate for groups and output to config file.
  • Able to scan multiple CGate networks.
  • 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.
  • If Builder cannot find config file, then it will first scan CGate and write the config file.
  • Fixed interpretation of dimming commands. MH reports when RAMPing begins with correct direction.
  • 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.
  • Monitor and Talker attempt to always run unless in DEBUG state.
  • Changed detection of feedback from CGate to use Session ID.


QUICK START

  1. Install/Activate  cbus.pl
  2. Update mh.ini configuration as cbus.pl comments. IMPORTANTLY, set the project name of your cbus network
  3. Command MH to "CBUS BUILDER RUN". This will scan cgate,  write a CBus config file (cbus.xml) and build cbus_procedures.pl
  4. Command MH to "RELOAD CODE".
  5. Enjoy (and report any bugs)


Enjoy,
Andy.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
________________________________________________________
To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365


Updated support for google services (IMAP & Calendar)

by hplato :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

As of SVN rev 1477;

ical2vsdb has been updated to reduce the CPU load due to iCal::Parser.  
This module is only invoked if the ical has changed. For google  
calendar users, you'll have to enable the sync_dtstamp option for this  
to work for you. I've also updated the google calendar integration  
page on the wiki. Thanks again to Tom to help me troubleshoot this  
issue.

get_email now supports IMAP over SSL (ie gmail).  
handy_net_utilities.pl also sends email via google's SMTP servers if  
the email account's service is google. I've added some sparse  
instructions on the wiki.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
________________________________________________________
To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365

LightInTheBox - Buy quality products at wholesale price!