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.

    Does a hardware on/off button conflict with the mirror software?

    Scheduled Pinned Locked Moved Hardware
    3 Posts 2 Posters 1.2k Views 2 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.
    • M Offline
      MWel1977
      last edited by

      Hi all,

      I’m still in the process of gathering all components voor my mirror and reading up on it.
      And I run into a small thing: I’d like to shutdown my Raspberry Pi 3B+ when I go to bed.
      So I’d like to add a fysical button like discribed here: howchoo
      And I’d like to use this button for that.

      But I’d like to know if this works with the MagicMirror software?
      On a windows pc this would work (the “sleep-mode”) but I haven’t got that much experience with a Pi to know it would work.
      So that’s why I’m asking it here.

      Kind regards,
      Mike

      qu1queQ 1 Reply Last reply Reply Quote 0
      • qu1queQ Offline
        qu1que Project Sponsor @MWel1977
        last edited by

        @MWel1977
        Hi,

        It should work without problem with any raspberry with raspbian installed, and MagicMirror works on raspbian ;). The important thing is to connect the button in the apropiate GPIO pins and then the scripts point to that pins. I think the tutorial of the link it should work. Follow instructions on that tutorial.

        Make sure the button is a push button instead of a switch.

        1 Reply Last reply Reply Quote 0
        • M Offline
          MWel1977
          last edited by

          @qu1que
          Hi there,

          Thanks for your reply. Best thing is just to test it with a new clean install of resbian I guess.
          I also found this post but after I posted my own question.
          I find the possibility of using an app to “shut down” the system also great and hope this also works for an Android device. ;)

          I’ll just have to use my breadboard and test it out. But I think I’ll order a Pi zero W for that purpose.
          If I screw it up it only costed about €10,- :face_with_tears_of_joy: :rolling_on_the_floor_laughing:

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