Skip to content

Instantly share code, notes, and snippets.

@thephw
Created January 19, 2015 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thephw/4f8eccd9024f6e33c19a to your computer and use it in GitHub Desktop.
Save thephw/4f8eccd9024f6e33c19a to your computer and use it in GitHub Desktop.
Twilio response to automatically unlock the door. Where 9 is the digit to unlock the door, w is wait, and the two and from address are full numbers with country code for a number that accepts SMS messages. It automatically mashes 9 so you don't have to. It's not very secure, but it does keep you from running across the room during a dinner party.
<Response>
<Play digits="w999999999"/>
<Sms from="+1xxxyyyyyy" to="+1xxxyyyyyy">Door Opened</Sms>
</Response>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment