Advertisement

Hack Amazon's Dash buttons to do things other than buying stuff

Amazon's Dash buttons are tiny adhesive physical triggers that can order for you, through the magic of WiFi, anything you need to stock up on. But that's not the limits of their power, if you're willing to tinker with them. Ted Benson, (who works at a company that likes to regularly perform such shenanigans with the aid of its web tools), reckons it''ll you take under 10 minutes to repurpose Amazon's physical iteration of Buy It Now. (I think he's underestimating the degree of incompetence this editor possesses, but anyhow.) Benson managed to hack a diaper-ordering Dash button to act as an Internet Of Things-style tracker for how often his (adorable) baby poops. Or how many times he wakes up in a night. The trick lies in the fact that Amazon's buttons aren't constantly connected to WiFi. For the sake of battery life, the buttons only come to life when pushed, meaning the workaround picks up when your button is trying to access the internet, and registers that as a trigger for anything but buying stuff from Amazon.

With a little bit of python code, a simple program can track when the button tries to connect to the WiFi, and once it gets a hit, record a datapoint. (In this case, inside a Google Doc spreadsheet.) Of course, you need to ensure you've setup the button not to order something every time you press it --easily done when you first start using the button. If you're looking to make the idea of smart diapers seem suddenly very stupid, you can find all the code and instruction needed in the Medium post right here