This guy built a physical Starbucks button that orders his favorite drink in one press

I by no means actually used to drink Starbucks. “It’s too expensive!” I’d say whereas angrily waggling my aeropress within the air. “It’s all sugar! Not worth it!”

Then they got here out with their damned cell ordering app and all of a sudden I’m throwing fistfuls of money at them. It’s simply. too. handy.

Hacker Ryan Pickren took the concept one step additional: he constructed a bodily button that orders his favourite drink with one press as he’s heading out the door.

The button itself is an Amazon IoT button — the generic, hacker-friendly model of the branded Sprint buttons they pre-configure to promote you issues like laundry detergent and cat meals.

When he faucets his button, it fires off a Python script that sends the identical sign the Starbucks app wouldn’t it pushes an order out. On Starbucks’ aspect, it simply appears to be like like all previous order that might’ve come by way of through the app.

Getting all of that to work, although, is the place issues obtained enjoyable. I’d suggest trying out Ryan’s full breakdown here. From ripping out cryptographic keys to batting away safety measures like SSL certificates pinning, it’s an amazing look into how shortly an undocumented API may be torn aside and frankensteined into one thing completely new.

(Expensive Starbucks: Please don’t make this an actual factor. Sincerely, my pockets.)