Elizabeth Adams
Published © GPL3+

Amazon Dash Button Silent Doorbell

Make a silent, text messaging doorbell by hacking an Amazon Dash Button!

BeginnerFull instructions provided30 minutes2,073
Amazon Dash Button Silent Doorbell

Things used in this project

Hardware components

Raspberry Pi 3 Model B
Raspberry Pi 3 Model B
×1
Amazon Dash Button
×1

Software apps and online services

Initial State
Initial State

Story

Read more

Code

Code snippet #3

Plain text
var dash_button = require('node-dash-button'),
    dash = dash_button('xx:xx:xx:xx:xx:xx'), //REPLACE WITH YOUR ADDRESS
    exec = require('child_process').exec;

dash.on('detected', function() {
    console.log('Button pushed!');
}); 

Code snippet #7

Plain text
var IS = require('initial-state');
var bucket = IS.bucket('NodeJS_SDK_Example', 'YOUR_ACCESS_KEY_GOES_HERE');

// Push event to initial state
bucket.push('Demo State', 'active');

setTimeout(function () {

    // Push another event
    bucket.push('Demo State', 'inactive');

}, 1000);

Code snippet #9

Plain text
var dash_button = require('node-dash-button'),
    dash = dash_button('xx:xx:xx:xx:xx:xx'), //REPLACE WITH YOUR ADDRESS
    exec = require('child_process').exec;

var IS = require('initial-state');
var bucket = IS.bucket('Doorbell', 'YOUR_ACCESS_KEY');

dash.on('detected', function() {
    console.log('Button pushed!');
    bucket.push('Front Door','Someone is Here!');
}); 

Github Silent Doorbell

Github

https://github.com/hortinstein/node-dash-button

Credits

Elizabeth Adams

Elizabeth Adams

16 projects • 81 followers
DIY, Tech, Data

Comments