Show HN: Send a slack msg with AWS IoT button
github.com
github.com
https://aws.amazon.com/iotbutton/
"Control", though, doesn't mean source code for the device, but rather, programmatic control over the endpoint (Lambda, etc). "You can code the button's logic in the cloud "
The first gen STM32 based Dash buttons were hackable[1], but Amazon changed to a different platform (ATMEL[2]) and locked them down.
[1]https://learn.adafruit.com/dash-hacking-bare-metal-stm32-pro...
[2]https://mpetroff.net/2016/07/new-amazon-dash-button-teardown...
Supposedly, though, you can associate your existing, regular Dash button to a different product: https://www.amazon.com/gp/aw/help/id=201730790
Perl does OO without Moose. There is a tiny bit of boilerplate, but it's essentially bless() and 1 or 2 lines in the constructor.
Try/catch blocks are indeed an add on. The traditional pattern is more golang like, returning an error code, then using Carp or similar for stack traces.
>Why would you choose something like this instead of Python or Ruby?
That might be an interesting discussion for a large codebase, but for something limited in scope like this, I just don't see the problem.
I can come up with something myself using an Arduino and an arcade-button but I know me. I will never get around to doing it and it will never look as slick.
https://www.aliexpress.com/item/30-energy-saving-CC2541-ibea...