• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Factory Reset button

Scheduled Pinned Locked Moved Unsolved Troubleshooting
9 Posts 5 Posters 1.0k Views 5 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    kpl4184
    last edited by Mar 9, 2023, 2:59 PM

    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.

    S 1 Reply Last reply Mar 9, 2023, 3:59 PM Reply Quote 0
    • S Offline
      sdetweil @kpl4184
      last edited by Mar 9, 2023, 3:59 PM

      @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) config

      what do you want to reset, and why?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      T 1 Reply Last reply Mar 9, 2023, 6:00 PM Reply Quote 0
      • K Offline
        kpl4184
        last edited by Mar 9, 2023, 5:07 PM

        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.

        S 1 Reply Last reply Mar 10, 2023, 8:38 AM Reply Quote 0
        • T Offline
          thgmirror @sdetweil
          last edited by Mar 9, 2023, 6:00 PM

          @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
          145cad11-bd1e-4f57-8d9c-1efed3c3457f-image.png
          …one push will shutdown the RPI, a second will restart it.
          …and use it on your own risk:-)

          1 Reply Last reply Reply Quote 0
          • K Offline
            kpl4184
            last edited by Mar 9, 2023, 6:22 PM

            OK, thanks. I’ll give it a go. Stay tuned.

            T 1 Reply Last reply Mar 12, 2023, 8:14 AM Reply Quote 0
            • J Offline
              Jalibu Module Developer
              last edited by Mar 9, 2023, 7:34 PM

              Or you can just unplug it and plug it back in again :-D :detective:

              T 1 Reply Last reply Mar 9, 2023, 8:28 PM Reply Quote 0
              • T Offline
                thgmirror @Jalibu
                last edited by Mar 9, 2023, 8:28 PM

                @kpl4184 …or use the app Raspcontroller to manage your PI.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @kpl4184
                  last edited by Mar 10, 2023, 8:38 AM

                  @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

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 1
                  • T Offline
                    Thierry7100 @kpl4184
                    last edited by Mar 12, 2023, 8:14 AM

                    @kpl4184

                    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

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    1 / 1
                    • First post
                      3/9
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Sam, technical setup by Karsten.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy