Two line CM15a integration

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

Two line CM15a integration

by dmark :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In Serial_Item.pm:

Change:

    if ($interface eq 'cm11') {

To:

    if ($interface eq 'cm15') {
        &ControlX10::CM15::send(substr($serial_data, 1));
    }
    elsif ($interface eq 'cm11') {

Etc.

Wasn't that easy?

This assumes that my cm15.pm file is in lib/site/ControlX10.  Interesting that the CPAN module (cm15a.pm) isn't in there. (?)

So if I am a new MH user and I bought into the ridiculous claims that MH supports the CM15a, what do I do?  With my implementation, you would click Tools | Add or Remove Modules and add the ActiveHome Pro module.  That's it.  Granted it is for Windows users only, but then the CPAN version (which claims to support both Linux and Windows) is a far cry from complete.  If it takes as long as the cm11 module, it will be done around 2012.  Considering that MH is already teetering on the edge of irrelevance, that means never.