Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.15 KB

README.rst

File metadata and controls

49 lines (31 loc) · 1.15 KB

PiHomeControl

The PiHomeControl project provides end users a way to control and motor home automation software using the Raspberry Pi

Install

To install latest:

pip install git+git://github.com/marbaugh/PiHomeControl.git

Config

Once installed you can configure a few options:

Nose test can be run for the sensors to make sure they are working using the tests directory

For the init scripts inside the init directory can work, links must be made in /usr/local/bin to the scripts in the bin directory.

Usage

Once installed you can simply import the classes you would like to leverage:

from homecontrol.automation import Motor
from homecontrol.automation import MotionSensor
from homecontrol.automation import DoorSensor
from homecontrol.automation import Accessory

Motor Example:

from homecontrol.automation import Motor
motor = Motor()
motor.forward(5)
motor.reverse(5)

Limitations

Currently only supports:

  1. Stepper motors connected to the Raspberry Pi
  2. Motion sensors connected to the Raspberry Pi
  3. Door sensors connected to the Raspberry Pi