X10 CM15A USB Device Control.
Info:
Edits from original source for x10 Automation by Nopap.
I only included what was needed in the code to make the cm15a work.
Basic on/off/dim/bright support.
At the same time,
I removed the old code that dealt with the CM11(xap support) and CM17(com port) support.
Make sure you have the ahscript X10 commandline tool (ahcmd.exe) installed, find it here
http://x10dispatcher.com/Downloads/ahscript_setup.exe
Install, and make sure C:Program FilesCommon FilesX10Commonahcmd.exe is present. Try a simple command (ahcmd.exe sendplc a1 on) just to test before you use the plugin.
The code calls the cmd line tool. Not the best approach, but the only one I knew how to do.
Hopefully, someone will come along and support this CM15a better, utilizing the sdk properly, and give us a nice interface like Patrick's BHA.
Notes:
Tested with SVN only, as of April 14th, 2007.
Bug; the delete function never seemed to work in the setup form. To get around this,
just edit/rename your entry to something else, or remove the entry from the mediaportal.xml
file under the X10Plugin settings.
Install:
Skin files for 16:9(Replicant) and a quick edit of the original 4:3(BlueTwo).
Replace the x10plugin.xml your currently using in your skin folder, and copy
the media files.
Copy the plugin to the plugins/windows folder.
To be safe, diable the oringal x10 plugin - that is included with MediaPortal.
Enable the X10 CM15A Plugin in configuration, and set it up.
Try it out.
To do:
Add a browse option to select location of the command line tool, to account for different installations. Right now it is coded to the default location on the C: drive.