The Pizza Button

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

  1. 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.

      1. 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.

      1. 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.

          1. 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)).

  2. 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.

    1. “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.

    2. Hey Drone,

      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!

  3. 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…

  4. 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!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s