News for hackers. Stuff that matters.
Re:How I Helped Potty-Train My Kid Using Twilio and an AWS I... by Waterluvian on Wednesday March 07, 2018 @10:54PM (#16542154)
I just looked up the IoT button. $20, non-replaceable battery, not shipping to Canada.

I don't have the skill or resources to assemble it in a nice form factor, but how are there not dozens of cheap Chinese alternatives? An ESP8266 is like $5 and the rest of the parts are probably less than a dollar.

I guess it's just a bit surprising that I cannot find a cheap alternative to buy a dozen of.

Re:How I Helped Potty-Train My Kid Using Twilio and an AWS I... by fludlight on Thursday March 08, 2018 @01:20AM (#16542692)
The Amazon button probably has higher build quality than anything you can replicate or buy for $5+1. That's probably overkill for most applications aimed at adult users, but it's worth it here.

Is that cheap Chinese alternative toddler-survivable? Will the enclosure break and will delicious shiny metal sharps fall out? Is it reasonable water resistant? Is it coated in cheap lead paint that will come off when (not if) your toddler chews on it it?

Re:How I Helped Potty-Train My Kid Using Twilio and an AWS I... by Waterluvian on Thursday March 08, 2018 @09:28AM (#16544487)
Has the Amazon button been validated for any of those things? Ignoring for a moment that we're just assuming product quality of the Amazon product, that's not really my point. For prototyping and hacking, how am I not able to source $5 or $10 wifi buttons with a replaceable battery?
Re:How I Helped Potty-Train My Kid Using Twilio and an AWS I... by rajacombinator on Friday March 09, 2018 @02:49PM (#16554409)
$6 products from China can be really good quality. I mean, after all, Amazon no doubt gets these buttons made for less than $1 in China themselves.
Re:How I Helped Potty-Train My Kid Using Twilio and an AWS I... by gregorymichael on Thursday March 08, 2018 @03:00AM (#16543035)
And what's the developer experience?
Re:How I Helped Potty-Train My Kid Using Twilio and an AWS I... by stevekemp on Thursday March 08, 2018 @12:51AM (#16542606)
My approach was to buy a bunch of 433Mhz radio-based "alarm buttons" from Aliexpress. Then I could wire up a simple radio-receiver to an ESP8266 device to handle the presses.

Or of course you could use an SDR-receiver on a PC to do something more complex:

https://blog.steve.fi/creating_an_iot_button__the_smart_way....

https://blog.steve.fi/decoding_433mhz_transmissions_with_sof...

Re:How I Helped Potty-Train My Kid Using Twilio and an AWS I... by dave84 on Thursday March 08, 2018 @05:17AM (#16543481)
I found this [0] on AliExpress, four buttons in one casing with a rechargeable battery. Haven't ordered it yet though.

[0] https://www.aliexpress.com/item/RAK413AS-UART-serial-port-AT...

Re:How I Helped Potty-Train My Kid Using Twilio and an AWS I... by Jaruzel on Thursday March 08, 2018 @03:30AM (#16543142)
You could probably also do this with a small form factor Arduino, a bluetooth module, and a push-to-make button.

With the added bonus that the parts could be re-purposed once potty training is over.

Re:How I Helped Potty-Train My Kid Using Twilio and an AWS I... by giancarlostoro on Thursday March 08, 2018 @06:51AM (#16543774)
I was thinking a Raspberry Pi W is practically a similar enough form factor for this as well. Some HN'ers might even have one or two of these laying around doing nothing better, so it may work out for them :)
Re:How I Helped Potty-Train My Kid Using Twilio and an AWS I... by murukesh_s on Thursday March 08, 2018 @12:53AM (#16542613)
Wondering the same, you probably don't even need a Chinese supplier given how cheap ESP8366 is, you can just assemble a device on a order basis..