Skip to content

Python package used to control and get status of GPIO attached devices with the Raspberry Pi

Notifications You must be signed in to change notification settings

marbaugh/PiHomeControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python package used to control and get status of GPIO attached devices with the Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published