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.1k 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

      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 Reply Quote 0
      • S Offline
        sdetweil @kpl4184
        last edited by

        @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

        thgmirrorT 1 Reply Last reply Reply Quote 0
        • K Offline
          kpl4184
          last edited by

          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 Reply Quote 0
          • thgmirrorT Offline
            thgmirror @sdetweil
            last edited by

            @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

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

              T 1 Reply Last reply Reply Quote 0
              • JalibuJ Offline
                Jalibu Module Developer
                last edited by

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

                thgmirrorT 1 Reply Last reply Reply Quote 0
                • thgmirrorT Offline
                  thgmirror @Jalibu
                  last edited by

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

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @kpl4184
                    last edited by

                    @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

                      @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
                      • First post
                        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