MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Factory Reset button

    Troubleshooting
    5
    9
    186
    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
      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
        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

        Create a working config
        How to add modules

        thgmirror 1 Reply Last reply Reply Quote 0
        • K
          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
          • thgmirror
            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
              kpl4184 last edited by

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

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

                Or you can just unplug it and plug it back in again 😃 🕵

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

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

                  1 Reply Last reply Reply Quote 0
                  • S
                    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

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 1
                    • T
                      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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy