A WebThings Gateway adapter for controlling X10 devices through a CM11 serial interface.
This project is an add-on to the WebThings Gateway. It enables users to control X10 Devices through the CM11 serial interface.
As this is a plugin for the WebThings Gateway, please first read their instructions for setting up a gateway.
- In the WebThings Gateway, select Menu -> Settings -> Add-ons.
- Click the
+
(plus) button to install an add-on. - Find X10-CM11 in the list and click the
+ Add
button.
Before using this addon, X10 modules need to be added to the configuration.
To configure the X10-CM11 Adapter:
- In the WebThings Gateway, select Menu -> Settings -> Add-ons.
- Find "x10-cm11-adapter" and click the * Configure * button.
In order to communicate with the CM11 interface, the adapter needs to know which serial port to use. Default: /dev/ttyUSB0
.
This configuration option allows the user to specify all of the X10 modules they desire to control.
- Click the
+
button to add an X10 module. - Select the House Code assigned to the module (A-P).
- Select the Unit Code assigned to the module (1-16).
- Select the module type. Options include:
- Lamp Module - A dimmable light.
- Appliance Module - An on/off light or device (non-dimmable).
- On/Off Switch - A non-dimmable switch.
- Dimmer Switch - A dimmer switch.
- On/Off Sensor - A sensor which sends signals of on and off to X10 codes.
- Repeat for each module.
After adding the modules, return to the Things menu and click the +
button to add the defined modules to the list of controllable Things.