This guide will show you how to use an Amazon Dash Button to restart or shut down your Raspberry Pi. I had this idea after building my Raspberry Pi magic mirror and failing to install a reset or power button. Whenever I needed to reboot or shut down the mirror, I had to log into it and do it manually.

Rebooting your Pi by pulling the plug is a bad idea as it can lead to data corruption. It wasn't worth disassembling the mirror to add a physical switch so I thought, why not hack a Dash Button to do this?

This is essentially a wireless Raspberry Pi shutdown/reset switch for $5.