Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

homebridge-gate-latch

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-gate-latch

Doorbell plugin for Homebridge to enable control of an old doorbell and front-gate latch

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

About

This project contains two related elements. Really, these two elements should be pulled into separate repos, but this is just a weekend hobby project... so, you know, convenience and what-not.

  1. door-server.py this is the server that runs locally on the raspberry pi in order to monitor the status of the connected automation hat and the doorbell itself. This should be installed and run on the raspberyy pi itself.
  2. (everything else) is the homebridge plugin to enable communication between the doorbell accessory and the homebridge

Note that because this has local dependencies and isn't intended to be published as a true homebridge-plugin, it must be installed at a particular directory: ~/doorbell/

Administration on the Raspberry Pi

To SSH:

  1. Make sure the Raspberry Pi is running
  2. Run ssh pi@raspberrypi.local in a terminal window
  3. Enter the password for the Raspberry Pi

Homebridge config on the Raspberry Pi is configured here

~/.homebridge/config.json

To shutdown run: sudo shutdown -h now

To run the plugin locally on the raspberry pi (instead of from npm): DEBUG=* /usr/bin/homebridge -D -P doorbell/

Some helpful articles:

  • Creating a homekit plugin)[https://blog.theodo.com/2017/08/make-siri-perfect-home-companion-devices-not-supported-apple-homekit/]

Debugging

Hardcoded filepaths exist in /src/doorbell-interface.ts. These are obviously fragile.

Keywords

FAQs

Package last updated on 17 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc