/shutter-control

Primary LanguageJavaApache License 2.0Apache-2.0

ShutterControl 1.0

is a simple commandline tool written in Java to control shutters.

It lets you connect a 4-channel (optional 8-Channel) remote control for shutters to your raspberry pi and takes care of controlling the shutter via the the raspberry pi's io ports.

The project is using the library Pi4J (http://pi4j.com/)


Hardware requirements

Raspberry Pi board (http://www.raspberrypi.org/)

Raspbian installed on your Raspberry Pi (http://raspbian.org/)

A 4-channel remote control for shutters


Software requirements

Updating the apt Repo to have the latest versions

  sudo apt-get update

Installation of the Java JDK 7:

 sudo apt-get install openjdk-7-jdk

Installation of the latest maven

 sudo apt-get install maven

Installation of the latest git client

 sudo apt-get install git

Cloning the latest shutter-control sources

 git clone https://github.com/Bendr0id/shutter-control.git

Building the shutter-control application

 cd shutter-control
 mvn clean install

Wiring Diagram

This diagram shows howto connect a 4-channel shutter remote control to your raspberrypi

alt tag


Usage

You can use the shutter-control application by typing

  java -jar shutter-control.jar -s [shutter] -o [operation]

Options

 -h, --help

Prints the help text and exits

 -o, --operation [up/down/stop]

Required parameter for setting the operation

 -s, --shutter [1/2/3/4]

Required parameter for setting the shutter to control