Skip to content

drweaver/garage-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js implementation of Garage door control. Uses PiFace Digital module for sensors and relay.

Config

Modify the doors.json file in the root folder

  • close_pin is the PiFace input pin determining closed status [0-7]
  • relay_pin is the PiFace relay pin that will operate the door [0,2]

Running the server

Set the following MQTT environment variables:

  • MQTT_URL
  • MQTT_USERNAME
  • MQTT_PASSWORD

Start server with:

node index.js

##FAQs

About

Garage Control for Raspberry Pi using PiFace and Node.js

Resources

Stars

Watchers

Forks

Packages

No packages published