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.5k 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.
    • 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