Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Lostmyname/doorbell-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lost My Doorbell - Server

This is a simple Sinatra app which acts a bridge between Slack and the LMN doorbell.

It listens for POST requests on /, and then triggers a Pusher event which is picked up by the listening Raspberry Pi in the office.

Check out the client library for the Raspberry Pi code.

Getting Started

  • Set up two integrations on your Slack account (here); one for Incoming Webhooks and another for Slash Commands. Make note of your webhook URL and Slack token.
  • Copy .env.sample to .env and fill out the empty config values.
    • You'll need a PUSHER_KEY, SLACK_TOKEN and SLACK_WEBHOOK_URL
  • Deploy this app somewhere - we recommend Heroku - and point your Slack Slash Command integration to it.
  • Connect up the client code, and enjoy!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages