Skip to content

OronNadiv/garage-door-raspberry-client

Repository files navigation

Home Automation - Garage Door Raspberry Pi Client

This repository contains the raspberry-pi client for the garage door.

JavaScript Style Guide Dependencies DevDependencies

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.

Hardware

Installation Instructions

Click here and follow the installation instructions for the raspberry-pi clients.

Environment variables (configuration)

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

Circuit Diagram

License

AGPL-3.0

Author

Oron Nadiv (oron@nadiv.us)

About

Home Automation - Garage Door Raspberry Pi Client

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published