This is a node.js application to Rickroll somebody who presses your Amazon Dash button.
I was inspired by some cool Dash hack like this [Baby hack] (https://medium.com/@edwardbenson/how-i-hacked-amazon-s-5-wifi-button-to-track-baby-data-794214b0bdd8) by Edward Bensen, and Pizza Dash by Brody Berson, and this project is made possible by node-dash-button by Alex Hortin.
Thank you for these guys, I was able to hack my dash button in such a short amount of time! Yay!!!
See it in action in 6 sec on Vine!
Make sure you have node.js running on your machine.
For the first time setting up Dash, use the Amazon Shopping app and connect to yur WiFi by following the instructions. However, do not select any product for purchase, just quit the app.
Fork this code, then install the dependency, node-dash-button:
$ npm installBefore running this app, you need to obtain your dash's MAC address.
$ cd node_modules/node-dash-button
$ node bin/findbuttonSee this instruction for more details.
Then create a config.js file and define your Dash's MAC address.
module.exports = {
dash: {
MAC_address: '2c:f0:xx:xx:fc:xx'
}
};Run
$ sudo node index.jsNow press your Dash and see what happens.
