This repository contains the raspberry-pi client for the garage door.
I suggest you first read about the different components of the home automation application. This will help you understand better the general architecture and different functions of the system.
- Raspberry Pi B+ Ultimate Starter
- Relay connector
- Male to Female wire jumper
- Magnetic contact switch (door sensor)
Click here and follow the installation instructions for the raspberry-pi clients.
LOGIN_URL (required): url to the authentication server. Example: login.herokuapp.com
PINS_CLIENT_UP (optional): GPIO pin (output) that sets to high when client process is running. Default: none.
PINS_CONNECTED_TO_SERVER (optional): GPIO pin (output) that sets to high when client is connected to server. Default: none.
PINS_OPEN_DOOR_SIGNAL (required): GPIO pin (output) that sets to high when opening/closing the door. Default: 18
PINS_READ_DOOR_STATE (required): Description: GPIO pin (input) that reads door state (open/close). Default: 15
PRIVATE_KEY (required): Generated private key. Public key should be shared with the authentication server. See here.
PUBNUB_PUBLISH_KEY (required): PubNub's publisher key.
PUBNUB_SUBSCRIBE_KEY (requireD): = PubNub's subscriber key.
SERVER_URL (required): url to the garage door server. Example: garage.herokuapp.com