Skip to content
python module to control X10 appliances
Python
Latest commit 80f2a1e Apr 26, 2012 @glibersat fix readme
Failed to load latest commit information.
tests add a test file for running a serial interface Jun 29, 2011
x10 logging instead of print Apr 26, 2012
.gitignore Mock controller Jun 26, 2011
COPYING add license Sep 8, 2010
README.rst fix readme Apr 26, 2012
setup.py logging instead of print Apr 26, 2012

README.rst

A python module to control X10 appliances

Current state: working but incomplete API

Authors:Guillaume Libersat (@glibersat)
Contributors:Axel Haustant (@noirbizarre), Riccardo Ferrazzo (@rferrazz)
License:GPL v3 (see COPYING)

Contributions are welcomed !

Requirements

python-x10 requires:

Features

Drivers

  • CM11/12 (thanks Riccardo!)
  • CM15
  • CM17a (Need testing!)

Actuators

  • Switchable (On/Off state)
  • Dimmable (Variable state)
  • Generic (Used to talk to any X10 device)

Meta-modules

  • House (Something like a "group" of devices)

API Example

# Retrieve USB CM15 Device
scanner = USBScanner()
dev = scanner.findDevices()
dev.open()

# Use a single module
lamp = dev.actuator("A2")
lamp.dim(10)
lamp.off()

# Use a group
house = dev.house("B")
house.lightsOff()

More samples in tests.

Ideas and drivers that may be merged

Something went wrong with that request. Please try again.