Read the statement by Michael Teeuw here.
Factory Reset button
-
Magic Mirror beginner here, has anyone tried to install a factory reset button externally using the GPIO pins? Any idea how to do this? Is there a module that would work for this application? Any input would be appreciated.
-
@kpl4184 what do you mean ‘factory reset’?
machine is a PI, with its own OS and config
MM is an app, with its own os (node js) configwhat do you want to reset, and why?
-
Currently have a Magic Mirror running with basic modules. Still tinkering with fonts and layouts. Because it is installed in a frame on the wall. The factory reset button would allow for me to easily start over from were I left off. Instead of a complete de-install if a crash happens during configuration modifications. As a fell safe, if you will. It sounded like a good idea at the time.
-
@kpl4184
You can add
dtoverlay=gpio-shutdown,gpio_pin=3, active_low=1,gpio_pull=up
in the /boot/config.txt
Connect a pushbutton with gpio 3 and GND

…one push will shutdown the RPI, a second will restart it.
…and use it on your own risk:-) -
OK, thanks. I’ll give it a go. Stay tuned.
-
Or you can just unplug it and plug it back in again :-D :detective:
-
@kpl4184 …or use the app Raspcontroller to manage your PI.
-
@kpl4184 if you make backups of the two key files, recovery is easy
config.js and custom.css
never edit any files in the module folders
-
Hi, I have a small module which restart the mirror with a short press or shutdown the RPi with a long press.
I use this module on my own mirror.The code could be found here : https://github.com/thierry7100/Reset_Py
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login