x10iod - X10 Daemon

x10iod is my version of Andrew Turnquist's exTENd X10 daemon. I broke off about 6 years ago, seeing that his idea and design were good but code was sys-admin like.

The daemon is relatively solid. It still occasionally exits on SIGHUP (start new logfile) but otherwise, I haven't seen it crash in years.

The daemon is released under the GNU public license (GPL).

Overview

The daemon itself is a C program which accepts commands via a socket and passes them onto the power-line. Commands can be sent to the daemon using command-line tools turn and fade. The daemon also receives and responds to information from the attached X10 interface. Some interfaces pass on data from the power-line, allowing the daemon to respond to X10 events from around the house.

The daemon tracks status of all devices. The commands showunit and x10test can be used to display or check device status from the command line or scripts. Accurate information requires an interface that can read the power-line. Certain devices behave differently in response to commands, so devices properties can be configured with setunit.

Controllers

The daemon supports two interfaces:

The code is written in a way that adding a new device type should be just a matter of adding a derived object that knows how to to format and parse data.

Download daemon source

Download latest release.

Other components

Reference

Interface manuals: