Skip to content

Latest commit

 

History

History
79 lines (68 loc) · 3.7 KB

README.md

File metadata and controls

79 lines (68 loc) · 3.7 KB

GarageConnect

Goals:

  • Garage iOT device knowledge of the state of your garage door and push notification if you leave your garage open
  • Homekit support for garage door via Homebridge on a Raspberry Pi
  • iOS app with integration with Foscam camera to see video inside your garage (iOS code not published to github)
Fritzing wiring diagram & screenshots of the iOS experience in /documents; example pushover json in /pushover; firmware in /photon

Parts List:

Homekit Support via HomeBridge

ssh [email protected] change password set up .ssh/authorized_keys to make future logins easier set date/time (sudo cp /usr/share/zoneinfo/America/Los_Angeles /etc/localtime) sudo apt-get update sudo apt-get upgrade sudo reboot sudo cp /boot/config.txt /boot/config.txt.backup sudo vi /boot/config.txt (set hdmi_group=1 and hdmi_mode=16, remove overscan) rename raspberrypi sudo reboot

   * Homebridge setup:
      ```
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs

sudo apt-get install libavahi-compat-libdnssd-dev

sudo npm install -g --unsafe-perm homebridge hap-nodejs node-gyp
cd /usr/lib/node_modules/homebridge/
sudo npm install --unsafe-perm bignum
cd /usr/lib/node_modules/hap-nodejs/node_modules/mdns
sudo node-gyp BUILDTYPE=Release rebuild

sudo npm install -g homebridge-photon-garagedoor

create homebridge user, set the password
place homebridge under /etc/default and homebridge.service under /etc/systemd/system
create /var/homebridge, set up config.json under /var/homebridge as homebridge user
sudo systemctl daemon-reload
sudo systemctl enable homebridge
sudo systemctl start homebridge