glibersat / python-x10

python module to control X10 appliances
GNU General Public License v3.0
27 stars 18 forks source link

========================================= 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

Actuators

Meta-modules


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