Skip to content
Jakey69 edited this page Jan 29, 2015 · 4 revisions

------- Under Construction --------

Documentation of the Mochad X10 binding.

Introduction

This binding makes it possible to control X10 devices via a server running the Mochad X10 daemon by mmauka (http://sourceforge.net/projects/mochad/). Mochad is a Linux TCP gateway daemon for the X10 CM15A RF (radio frequency) and PL (power line) controller and the CM19A RF controller.

With the current version of the binding items of type Switch, Dimmer, and Rollershutter can be controlled. The binding only uses one-way communication so no status reading (yet).

For installation of the binding, please see Wiki page Bindings.

Configuring the binding

First of all you need to configure the following values in the openhab.cfg file (in the folder '${openhab_home}/configurations').

###################################### Mochad X10 #####################################
#
# Ip address and port of the Mochad X10 server
mochadx10:hostIp=192.168.1.30
mochadx10:hostPort=1099
Option Description
mochadx10:hostIp The ip address of the server on which the Mochad X10 daemon is running.
mochadx10:hostPort the port number on which the Mochad X10 daemon is communicating. The default value used by the Mochad X10 daemon is 1099.

Item configuration

In order to bind an item to an X10 device, you need to provide configuration settings. The easiest way to do so is to add some binding information in your item file (in the folder configurations/items`). The syntax for the Mochad X10 binding configuration string is explained here: The format of the binding configuration is simple and looks like this:

mochadx10="<houseCode><unitCode>[:<transmitMethod>]]"

where parts in brackets indicate an optional item.

Addressing of X10 modules is done using a so called house code and a unit code. The house code is specified by characters 'a' to 'p'. The unit code is a number from 1 to 16. This way a number of 255 X10 devices can be controlled by one X10 controller.

X10 devices can be controlled by sending commands over the power-line or by sending RF commands. To explicitly specify the transmit method a value of "pl" for power-line or "rf" for radio frequency can be used. If transmitMethod is not specified it defaults to "pl".

Installation

###Linux / OS X

###Windows


##Configuration

User Interfaces


Community

(link to openHAB forum)

Development



Misc


Samples

A good source of inspiration and tips from users gathered over the years. Be aware that things may have changed since they were written and some examples might not work correctly.

Please update the wiki if you do come across any out of date information.

Collections of Rules on a single page

Single Rules

Scripts


Release Notes

Clone this wiki locally