We all know feature creep can be a problem in almost any project. A simple idea can often become unusable if a project’s scope isn’t clearly defined in the beginning. However, the opposite problem sometimes presents itself: forgetting to include a key feature. [Zach] had this problem when he built a Raspberry Pi magic mirror and forgot to build a physical reset/shutoff switch. Luckily he had a spare Amazon Dash button and re-purposed it for use with his Pi.
The Raspberry Pi doesn’t include its own on/off switch. Without installing one yourself, the only way to turn off the device (without access to the terminal) is to unplug it, which can easily corrupt data on the SD card. Since [Zach]’s mirror was already complete, he didn’t want to take the entire thing apart just to install a button. There’s already a whole host of applications for the Dash button, so with a little Node.js work on the Raspberry Pi he was able to configure a remote-reset button for his mirror.
This is a similar problem for most Raspberry Pi owners, so if you want to follow [Zach]’s work he has done a great job detailing his process on his project site. If you’re looking for other uses for these convenient network-enabled buttons, he also links to a Github site with lots of other projects. This pizza button is probably our favorite, though.
15 thoughts on “Amazon Dash Reboots Your Pi”
Since when is Nerf a consumable product? Or have people been making joke labels for those buttons. Please tell me that’s a joke label….
The only thing that makes a scrap of sense is for ammo.
Do people really lose enough Nerf Ammo on a regular basis to need a dedicated Nerf button tho?
Well I’ve heard of nerf fields and leagues like there are for paintball and airsoft.
It is a real button. I guess for Amazon, it is easy to make lots of weird variants because is just the label that changes. Maybe there is a vast untapped market for quick Nerf refills… Makes as much sense as the button for Playdoh anyway.
Pi towers today announced NEC displays with integrated CM
also first pictures of CM3 and news of 16GB model (sorry forgot to post in previously)
What 16GB model? The CM3 has 4GB of 1.8V eMMC Flash like the CM1 and the CM3L has no eMMC onboard at all. The CM3 and CM3L both have 1GB RAM.
watch the clip, it’s mentioned at the end but it’s unclear if it’s ram or emmc
Ah. Yes. Thanks. The NEC guy does mention 16GB for a NEC version of the CM3. The question reader says 16GB RAM but that can’t be true. The memory controller in the BCM2837 can only go up to 1GB and they’ve mentioned that any more would require significant redesign of the SoC so it has to be 16GB flash. The NEC guy specifically mentions improved performance and storage so that confirms it is flash not RAM.
I’m wondering if it is actually a special NEC version CM3 with 16GB flash or whether it is actually a CM3L which has no flash but the daughterboard the CM3L fits into has 16GB flash on there. Improved performance is going to be a clockspeed bump I guess since the CM3 datasheet is mysteriously silent on clockspeed.
If this is only going to be available from NEC for their digital signage displays then it’ll be expensive. The regular CM3 is going to only have 4GB as mentioned in the datasheet.
Get a Pi 2 and you can just use a camera flash, no hacks needed.
With the amount of hacks for these dash buttons, its going to make for an amusing future of improperly labelled buttons to do stuff around the house.
“How do I close these blinds?”
“Oh just press the nerf button. no NOT THAT ONE.”
I used a 2 pin shunt jumper.. http://lolhumans.space/2016/10/reset-jumper-for-rpi/
In other words, if you want to make a magic mirror, use a board that supports wake on lan.
The button is used to run a script to reboot/shutdown as Zach doesn’t want to connect via SSH to do a controlled restart/shutdown. Zach still has the ability to cut power to the mirror as well so it is easy enough to force a cold start still. WoL won’t help for either of those cases.
Please be kind and respectful to help make the comments section excellent. (Comment Policy)