Hello to every body,
I’ve develop a Plug-in to control and monitor some X10 devices through a CM11 unit. I’ve attached a beta version to test it.
Recently I’ve purchased a Vera Lite to explore the Z-WAVE world, but I have a few old X10 devices that I want to still use.
As MCV does not natively support X10, I´ve created this plug-in, based on the excellent work done by radarengineer in MOCHAD for Vera. Thanks radarengineer for your plugin.
I’ve simplified the interface definition as some of them are not applicable to CM11 (I.e. RFXSEC).
Please, consider that I am very bad at programming and I just own few devices (ON/OFF units), so testing is limited.
What the plug-in aims to do/offer:
· Command ON-OFF (binary states in general) of X10 devices (what I use).
· Command Dim/Bright units. This functionality is under “theoretical” testing as I do not own any dimmable unit.
· Incoming commands are also processed and update in Vera Dashboard
This is very useful if you have additional controllers (i.e. RF remotes). CM11 captures the command and instance vera dashboard with it.
Scenes could use this command to perform actions. You can use “non real” devices to trigger scenes/events. Example: You have a wireless remote configured to send E1 ON/OFF. You define a X10 device E1, and use it as trigger to start a scene.
· Not external libraries are required. Self contained solution.
Not doing:
· Extended code. I do not use it since I have not devices. I think it is no very difficult to implement it (I.e. cyclic status request function), but …
· Special functions (i.e. ‘All units off’) are implemented in the internal X10 commands constructor but not instanced from Vera. I think this functionality could be done with scenes, but if necessary I think it is easy to implement.
You obviously need a USB-Serial line adapter properly installed.
See:
http://forum.micasaverde.com/index.php/topic,1471.0.html
To install the plug-in follow the process defined in the wiki (created device), and finally set in Serial port Configuration that the serial line will be used by the device you have created.
Serial Line settings:
Baud Rate: 4.800 bps
Parity: None
Data Bits: 8
Stop Bits: 1
Hopefully you enjoy my plug-in.
Cheers
César