Skip to content

Control motorized shades from a raspberry pi + motor shield, via web interface

Notifications You must be signed in to change notification settings

hbregalad/shadebox

Repository files navigation

shadebox

This project is designed to run on a raspberry pi 3 and control up to 4 110vac window shades per SequentMicrosystems.com "8-RELAYS for Raspberry Pi" Version 3.0 shield. These shields can stack 8 deep, for a total of 32 shades, though I only plan on using it with one shield for the purposes of testing motors and setting limits.

Physical setup: Line Power is connected to the Normally Open (NO) terminal on each relay. (NO is used for safety reasons.) And the motor drive wire (Red or Black wire) is connected to the COMmon (COM) terminal of numerically adjacent relays.

Shade 0:	Relay 1 and 2
Shade 1:	Relay 3 and 4
Shade 2:	Relay 5 and 6
shade 3:	Relay 7 and 8

installation:

#if need be install git:

sudo apt install git-all

#clone this repository:

git clone https://github.com/hbregalad/shadebox.git

#enter the shadebox directory

cd shadebox

to setup: Working on this.

sudo raspi-config 
5
p5

to run:

$python3 ./shadebox.sh

to install as automatic service

$python3 ./setup.py

About

Control motorized shades from a raspberry pi + motor shield, via web interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages