Python X10 CM19A USB Driver version 3.0 is here
Download
New features
Basic command line argument functionality
- e.g. ./CM19aDriver.py A1 ON
- Send only, you cannot receive commands via this approach becuase the device does not maintain a queue of commands received.
- Relatively slow because the driver must initialise the device each time and then exit.
- This is the default mode of operation: MODE = 'Command Line'
Built-in HTTP server
- Send and receive commands via a web browser, any app that supports http get calls, or even the command line (using cURL)
- e.g. http://192.168.1.3:8008/?house=A&unit=1&command=ON
- The driver starts and remains running so it can monitor and respond to http requests and capture inbound RF commands received by the CM19a
- Faster than the basic command line interface becuase the device needs to be initilaised only once (at startup)
- You need to set MODE = 'HTTP Server' to use the driver this way. You also need to set the IP address and port you wish to use.
Bug Fixes
Fixed several bugs relating to bright/dim functionality
- Added in missing bright/dim commands to the protocol file
- Modified approach to decode bright/dim button presses from a X10 RF remote
- Now identifies the house code as well as the button pressed (bright or dim) on the RF keychain remote
Enjoy... Feedback and bug fixes welcome.
Andrew

