Reboot your Raspberry Pi using an Amazon Dash Button.
Basic setup instructions are below; I've also written a more detailed post on restarting the Raspberry Pi using an Amazon Dash button which contains more detailed instructions.
- Install Node.js
- Install node-dash-button and find your Dash Button's device/hardware address.
- Create a reboot shell script containing
sudo reboot
and save as/usr/local/bin/reboot.sh
. - Install dash-reboot into
node_modules/node-dash-button/dash-reboot.js
. - Install Supervisor and configure it to run the node script at startup.
- Use the Dash Button to reboot your Pi!