Live data from Hacker News

How I Hacked Amazon’s $5 WiFi Button

medium.com

41–50 of 127 posts

Re: How I Hacked Amazon’s $5 WiFi Button

#41
post #20

Anybody know if the MAC address in buttons of the same type is the same? I know it'd be terrible network practice and terrible standards-wise and just generally terrible, just figured I'd double-check before buying a crate of Tide buttons and discovering they all report the same MAC

There's almost no way Amazon would be stupid enough to be shipping out tons of devices with the same MAC. Easy enough to order a couple and check though.

Re: How I Hacked Amazon’s $5 WiFi Button

#42
post #13

Earlier quoted context omitted.

That's exactly what I plan on using mine for. It makes logging actions so much faster. I would love to just have a smartwatch with a set of about 12 or so buttons that correspond to a specific action, but that will take time to happen, if at all.

If you don't mind pulling your phone out, IFTTT launched a new app called Do that just lets you push a button to "do" something on one of their channels. They have pre-made recipes for putting the current time into Google Spreadsheets etc. https://ifttt.com/recipes/227069-track-your-work-hours I think IFTTT is working on a Pebble app as well, but it hasn't launched.

There was a 3rd party app(pushbutton) that got pulled (upon request by IFTTT).

You can still implement this yourself using http://apps.getpebble.com/en_US/application/55123f98e28a6598... and the IFTTT Maker Channel ;)

Re: How I Hacked Amazon’s $5 WiFi Button

#43
post #20

Anybody know if the MAC address in buttons of the same type is the same? I know it'd be terrible network practice and terrible standards-wise and just generally terrible, just figured I'd double-check before buying a crate of Tide buttons and discovering they all report the same MAC

I don't know for certain but they should be all different. Amazon's goal is for consumers to have many of these things in their home, and they should all interoperate nicely. Then again, the usage model probably doesn't really need unique MAC addresses.

I figured if they were trying to be (terribly) "clever", they might go with one-MAC-per-product. Thinking about it more, that should be impossible since, as per the article, a single button can be used for a selection of products in that category, so it'd be possible that 1 Tide button buys one Tide product, and another buys a different Tide product, based on my configuration.

My fear was that they'd pick 1 MAC and declare "this shall be the MAC of Tide buttons", increment that 1 for Bounty buttons, etc etc

Re: How I Hacked Amazon’s $5 WiFi Button

#44
Hi folks -- what a surprise to check HN and see my own article.

Here's a summary of the reports I've gotten since publishing it the other week:

1) It works. Most likely problem you'll have is installing the Python libraries I used.

2) Check the comments for a version someone posted that works on RasberryPI with no extra libraries.

3) I'd love to hear what you build. Coolest use case so far is a few folks using it as a remote light switch for connected light bulbs.

Re: How I Hacked Amazon’s $5 WiFi Button

#45
post #13

Earlier quoted context omitted.

If you don't mind pulling your phone out, IFTTT launched a new app called Do that just lets you push a button to "do" something on one of their channels. They have pre-made recipes for putting the current time into Google Spreadsheets etc. https://ifttt.com/recipes/227069-track-your-work-hours I think IFTTT is working on a Pebble app as well, but it hasn't launched.

That would work best as a watch "complication". Pulling phone out, turning on, finding app, tapping activity button takes too long; much easier/suitable to turn wrist, tap icon (adjacent to clock), tap activity. Good idea, if implemented with zero friction.

That's a cool idea. Pebble doesn't have a touchscreen, though. You could program one of the shortcuts (long-press one of the 3 right-side buttons) to open the list or even activate a specific activity directly. Assuming such an app ever launches!

Re: How I Hacked Amazon’s $5 WiFi Button

#46

This sounds like a potential Kickstarter project idea. A generic version, perhaps a pack of stickers to put on devices symbolizing misc. everyday things.

Hmm. It could be done with an ESP8266 and little more. I might put something together if I find the time.

Re: How I Hacked Amazon’s $5 WiFi Button

#47
post #20

Anybody know if the MAC address in buttons of the same type is the same? I know it'd be terrible network practice and terrible standards-wise and just generally terrible, just figured I'd double-check before buying a crate of Tide buttons and discovering they all report the same MAC

I don't know for certain but they should be all different. Amazon's goal is for consumers to have many of these things in their home, and they should all interoperate nicely. Then again, the usage model probably doesn't really need unique MAC addresses.

I think the usage model does need unique MAC addresses. Maybe not for everybody, but for a decent portion of their customer base.

For example, there are apartment buildings that provide WiFi for their residents. If two residents buy the same button, chaos would ensue if the two buttons had the same MAC address. For the personal care stuff, merely having multiple people using multiple bathrooms who all want magic buttons to order more would do it.

It sounds like the button only connects to the network when it needs to (which makes sense to preserve power) so you could get away with it much of the time, but if two people hit their duplicate buttons simultaneously you'd have trouble.

Re: How I Hacked Amazon’s $5 WiFi Button

#48
post #12

This sounds like a potential Kickstarter project idea. A generic version, perhaps a pack of stickers to put on devices symbolizing misc. everyday things.

The Flic button did just that, except it uses bluetooth instead of wireless. https://flic.io/ The extra usability and generic-ness means it'll cost you $35 vs $5 for a branded WiFi button.

It looks like that button isn't standalone, and needs a phone nearby to work. I just want something with that form factor that makes a POST request to a URL of my choice, that's it.

Re: How I Hacked Amazon’s $5 WiFi Button

#50
post #3

I could see this being a useful tool when trying to form good habits. Brush teeth? push the button. Get a fresh glass of water from the fridge? push the button. When analyzing other aspects of my life such as spending, I have tools to show me what I've done in the past, and those tools can help me improve (e.g. spending reports). This is admittedly reactionary, but I find it useful nonetheless. Track enough other "st…

[deleted]
Post reply on HN