jboverfelt / quiet-dog

A silent doorbell server that texts when an Amazon Dash button is pressed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

quiet-dog

A silent doorbell that emails and texts when an Amazon Dash button is pressed

Configuration

Create a file "config.json" in the same directory as the executable with the following shape:

{
    "mac": "The MAC address of your dash button",
    "twilioSid": "The Twilio Account SID for sending texts",
    "twilioToken": "The Twilio auth token for sending texts",
    "twilioNumber": "The Twilio phone number that is activated as part of the setup",
    "phoneNumbers": ['phone numbers', 'to text when people are here'],
    "interface": "The network interface to listen for ARP packets on (probably wlan0 or similar)"
}

Running

Run go build then sudo ./quiet-dog

Acknowledgements

ARP scanning implementation adapted from gopacket's ARP example

About

A silent doorbell server that texts when an Amazon Dash button is pressed

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 100.0%