Skip to content

Simple NodeJS app that responds to Twillo requests with message then plays a DTFM tone

License

Notifications You must be signed in to change notification settings

mgingras/twilio-door-opener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twilio-door-opener

My appartment has a pretty standard system at the front door that lets visitors dial a buzz code at the front door which calls my phone allowing me to chat with and unlock the door by pressing 6 on the dial pad.

Wrench - I never leave the ringer on my phone - Super annoying for guests.

Solution: Wrote this simple NodeJS app that listens for requests (from Twilio) and responds with an predetermined voice message ("Come on up to Suite ...") then plays the DTMF tone to open the door. As a optimization, its configured to get Twilio to send a text giving me warning to put pants on before answering the door.

To set it up:

  1. Clone this repository.
  2. Rename, sample_config.json to config.json and fill in the appropriate slots.
  3. Deploy to Heroku. (or preferred hosting environment, using forever on an AWS instance would work (might actually work well in aws Lambda))
  4. Point your Twilio number @ the URL for your Heroku app.

Roadmap:

  • Add pincode prompt that uses DTMF tones to secure this with escape that forwards call to user

About

Simple NodeJS app that responds to Twillo requests with message then plays a DTFM tone

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published