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.

    GPIO PIN on 3b not working

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 3 Posters 849 Views 3 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.
    • S Do not disturb
      sdetweil @faspina1
      last edited by

      @faspina1 do you have things connected correctly? mmm-buttons uses the bcm numbering

      https://raspberrypi.stackexchange.com/questions/12966/what-is-the-difference-between-board-and-bcm-for-gpio-pin-numbering/12967#12967

      I don’t know what you did before

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      F 1 Reply Last reply Reply Quote 0
      • F Offline
        faspina1 @sdetweil
        last edited by

        @sdetweil Yes. They were working and continue to work with my other program I never moved the , they are mounted and connect to the RPI.

        What I have noticed is that after powering off , i have to run a python test program on each of the 4 pins. Then they start suddenly working on MM.

        I have verified this twice cause I thought I was nuts. I may still be nuts but that is exactly what is happening.

        the 4 push buttons i have configured for USER_PRESENCE, REFRESH, MONITORTOGGLE, and RESTART

        Pins 26,21,19,20

        S 1 Reply Last reply Reply Quote 0
        • karsten13K Offline
          karsten13 @faspina1
          last edited by

          @faspina1

          did you enable the gpio stuff via raspi config on the new pi?

          1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @faspina1
            last edited by

            @faspina1 I have seen a couple other users report the same thing. I do not know why.

            I looked thru raspi-config, and only saw remote GPIO.

            you might try that

            sudo raspi-config
            interfaces
            

            as a short term, you could add running the test python as part of the mm startup script

            if you used my install script, and use pm2 to launch mm , that script is

            ~/MagicMirror/installers/mm.sh
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            F 1 Reply Last reply Reply Quote 0
            • F Offline
              faspina1 @sdetweil
              last edited by

              @sdetweil I may add the python code to the start of the script. Enable the pins in Python and then read them . See if that works.

              I see that others have reported as well

              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