This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Project Description
hautomation_x10
===============

Python wrapper module which sends home automation commands to mochad

Introduction
------------

This Python module is a set of functions to make easier to send X10 home automation
commands to mochad.

At the momment the module is capable of sending the following commands

- Power line switch command which accepts "on" and "off" values
- Power line dim command which accepts values in the range 1..31
- Power line bright command which accepts values in the range 1..31

By initializing the settings.MOCHAD_PORT and the settings.MOCHAD_HOST configuration directives
mochad daemon can be in any reachable host.


Quick start
-----------

1. Install hautomation_x10: pip install -e git+https://github.com/jpardobl/hautomation_x10.git#egg=hautomation_x10

2. Make the USB cm15a device is plugged in a server

3. Make sure mochad is running on that server

4. open hautomation_x10/settings.py and set MOCHAD_HOST and MOCHAD_PORT to proper values

5. Start issuing commands.

>>> import hautomation_x10.cmds as cmds

>>> cmds.pl_switch("A5", "off")

>>> cmds.pl_switch("A6", "on")

>>> cmds.pl_dim("A3", 31)

>>> cmds.pl_bri("A3", 4)


Testing
-------

>>> python hautomation_x10/tests.py


Entry Points
------------

The deploying of the module generates th following entry points:

- populate_x10_db: When using this module from the django-hautomation apps, it is
necesary to populate the database with the protocol X10 information. This is the aim
of this entry point
- pl_switch: entry point to help find power line switch command to developers
- pl_dim: entry point to help find power line dim command to developers
- pl_bri: entry point to help find power line bright command to developers
Release History

Release History

0.11.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.11

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.10.5

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.10.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
hautomation_x10-0.11.1.tar.gz (5.1 kB) Copy SHA256 Checksum SHA256 Source Aug 28, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting