How often have you ever wanted a pizza but reaaaaaaally didn’t want to get off the couch to go order, or god forbid, actually go to a pizzeria to pick one up? Well [Brody Berson] has the solution for you! He re-purposed an Amazon Dash button to order himself Domino’s Pizza with the press of a button.
He was originally inspired by our recent post about hacking the Amazon Dash button to do whatever you want — and whatever he wanted was a pizza button. He admits he was inspired by the bachelor years gone by where this would have been really, really handy — apparently he even ordered McDonalds through Postmates once!
It’s pretty simple too — all he needed to do was a bit of coding. Someone had already made a specific Domino’s Pizza API, and thanks to the interest in the Dash button, he was able to find everything he needed to mash together a one-push-button-pizza-delivery-device.
Best part — now that it’s done, it’d take you less than 10 minutes to recreate it for yourself following instructions on his GitHub directory called pizzadash. This is just waiting to be combined with the Netflix and Chill button we looked at yesterday.
[Thanks for the tip Matt!]
24 thoughts on “The Pizza Button”
The point about native advertising is that it’s meant to be *subtle*.
Stray thought: why the hell would you order McD? I mean, the stuff’s already lukewarm at best when you get it over the counter, but let’s say you’re living 15 minutes away from the nearest branch, your burger must be near 0K once it reaches your doorstep.
McDonald’s actually tastes quite good after reheating it in a microwave.
Back in my starving college days I would load up during those $0.39 Cheeseburger Sundays. Max was 10 unfortunately (well, fortunately for my arteries). I’d eat two right away and stuff the rest in the fridge. Throughout the week I would pop them on the back of my CRT monitor and by the time I smelled the onions they were ready right when I needed to take a break.
LOL, where do you live,Russia that your Mcdonalds is 15 min away?
In one of the largests cities in the Netherlands. :) Closest McD is 15-20 minutes on foot and with the way my neighbourhood is set up, a delivery guy takes at least 10 minutes to go out, drive to where I live, find my house and hand over my order. :) I’d rather roll my own in that case.
Well the Netherlands is known to be a lot healthier than the US. In the US, there is a McD on practically every street corner.
The ‘city’ I used to live in had a population of 90,000 and had (at last count) 5 McDonalds, 3 Taco Bells, 2 Burger Kings, 2 Goodcents, 2 Subways, 2 Chipotles, 2 Wendys and 2 Pizza Huts. Then you add in a Hardees, a Dominos, a Little Caesars, a KFC and all the one-off smaller chains and more formal restaurants like Applebees, Chilis, etc then people wonder why American Society has an obesity epidemic.
I wonder why anyone even bothered to build a grocery store in that town. (2 Hyvees, 2 Price Choppers, plus WalMart and a couple chain drugstores (CVS and similar)).
You need an always on server running the Dominoes Node.js API client. The local server listens to the Dash button. Does the Dash thing supports secure connections over the air interface? Does the Node client support secure sessions, something like TLS/SSL? Or is the Dominoes connection insecure? Where I live in Indonesia the Dominoes Pizza online order system seem to NOT require a secure connection. But it is hard to be positive without sniffing because login is via a scripted pop-up with no URL shown. A quick glance at the API docs from the HaD post link does not seem to tell if an underlying secure session is established (at least without examining the source, which is available). It does however show how to send pizzas to Barack Obama at the White House as an example (uh-oh). Also it supports payment by credit card (maybe double uh-oh). Unless I missed something obvious, security is either not addressed up-front any of the information surrounding this thing (including the HaD post), or everyone assumes all the readers understanding what’s going on already.
The URLs used by the Dominoes API he’s using seem to all be https:
“It does however show how to send pizzas to Barack Obama at the White House as an example (uh-oh).”
I must admit, the prospect of a bunch of pizza delivery guys showing up at the White House because someone just copy-pasted the example sounds amusing. Except of course that they’d all be carrying suspiciously large cardboard boxes under the (more or less) watchful eyes of Secret Service snipers.
I built the API on which this hack was created. My API works with the US Domino’s, and I have requests to make it work with india and france. I do not know about the Indonesia dominos site, but if you want to find out if it is secure, which you should, use chrome, hit F12 (open devtools) then click the preserve log checkbox.
Once you have done that go to the “network” tab in devtools, which you just opened and clicked preserve log in. Now navigate around dominos and it will show you what the request URLS are for all of the APIs. If your API requests are not https or wss… stop buying dominos in Indonesia!
quote: It’s pretty simple too — all he needed to do was a bit of coding.
Isn’t that true for almost all problems. Volkswagen needed more fuel efficient cars to get through the eco certifications, all that was needed was a bit of coding…
This just makes me miss the iOpener, with its dedicated Win^H^H^H pizza key.
I bet you could build that with the same API he used.
While a pizza button is cool, wiring it to Dominos has to be a bug.
How do you set up the dash button? With the previous baby diaper hack I saw, you have to set up the wifi and exit the setup process. Amazon quickly killed the ability to do this. I even downloaded an older version of the Amazon app and that didn’t work either. Now, if you exit the dash setup before tying it to a product, it doesn’t remember the wifi ssid and password. Really want to use the 5 dash buttons I bought which are now collecting dust on my desk. Thanks!
Is there documentation on the dash setup process?
They posted the links in the article :
That is bhberson’s project.
And now a word from CouchPotato Industries…
Set this up to randomize the toppings so you get a random pizza every time you want.
So here’s my idea. Get like 4 or 5 of these (you know for Asian food, Pizza, Jimmy Johns, etc) and stick them all on the inside of your fridge. That way when you’re hungry you can just open your fridge and *boom* food.
I ordered 3 ;) can’t wait!
Please be kind and respectful to help make the comments section excellent. (Comment Policy)