This is a node.js application that "hacks" your Amazon Dash Button to order you a Domino's pizza! I was inspired by this article by Edward Bensen. I am using a few npm modules to listen for the button press and place the order: RIAEvangelist's dominos and also hortinstein's Node-Dash-Button.
One idea would be to have this always running via a local server such as a Raspberry Pi and have on demand pizza ordering whenever you just need a pizza!
pcap
If you are running ubuntu you will need to run sudo apt-get install libpcap0.8-dev
- Pull or Fork code.
- Do cool stuff.
- Submit a PR.
- Run
npm installthe first time so all npm requirements will be installed. - Find Closest Store
- Run
node findStore.jsand input your 5 digit zipcode, this will return closest store info (Store ID) and their menu.
- Find Dash Button
- Run
sudo node node_modules/node-dash-button/bin/findbuttonand press the button
- Edit the
app.jsfile.
- Add your store from step 2
- Edit your address and personal/customer information
- Edit your order using menu from step 2
- Add credit card information
- Add your Amazon Dash Button's address from step 3
- Run
npm startand press your Dash Button that you have set up and BAM pizza will be coming soon!
This article shows you what you can do with a Raspberry Pi to set this up as a node server running all the time on your network and it literally would be the press of a button whenever you wanted!
- Smooth things out and make a setup script for first time users that will create an
app.jsfile automatically for them - Coupon support
- Other ideas?
The MIT License (MIT)
Copyright (c) 2015 Alex Hortin
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
