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.

    Problems building opengpio when installing the MMM-GPIO-Notifications module

    Scheduled Pinned Locked Moved Solved Troubleshooting
    7 Posts 3 Posters 234 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 Offline
      sdetweil @Queasy
      last edited by

      @Queasy generally you would open an issue on the module GitHub page to engage the module author

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • wishmaster270W Offline
        wishmaster270 Module Developer @Queasy
        last edited by wishmaster270

        @Queasy Hi,

        I will try to take a closer look at the problem in the next days.
        I do not have a setup with Debian 13 at the moment and it will take me some time.
        Did not test 2.x of open gpio yet. Maybe the api changed.

        Make sure you set up the pull-up/pull-down resistor like described in this description

        https://www.raspberrypi.com/documentation/computers/config_txt.html#gpio-control

        Q 1 Reply Last reply Reply Quote 0
        • Q Offline
          Queasy @wishmaster270
          last edited by

          @wishmaster270 Great - thanks

          Here is some more info in case it helps:

          As well as a pull-down resistor, I also tried a pull up, and tried without any resistor - neither sent notifications.

          To double check, I used Python (RPi.GPIO) and received the events from GPIO 17 when the switch was closed.

          Rasberry Pi OS was install around Nov 2 2025 using the Rasberry Pi imager

          $ uname -a
          Linux raspberrypi 6.12.47+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1 (2025-09-16) aarch64 GNU/Linux
          
          wishmaster270W 1 Reply Last reply Reply Quote 0
          • wishmaster270W Offline
            wishmaster270 Module Developer @Queasy
            last edited by

            @Queasy
            Hi and sorry for the late reply.

            I released a new version of the module a couple of minutes ago which should fix the problem.

            It uses the new version of the lib for newer operation systems and changes to a other branch if it is a old debian otherwise.

            As expected the api of the lib changed and i needed to do a small change in the modules node_helper.js.

            Q 1 Reply Last reply Reply Quote 0
            • Q Offline
              Queasy @wishmaster270
              last edited by

              @wishmaster270
              Now works great on my RasberryPi - thanks

              wishmaster270W 1 Reply Last reply Reply Quote 0
              • wishmaster270W Offline
                wishmaster270 Module Developer @Queasy
                last edited by

                @Queasy
                Great to hear that. As I am using Debian 12 at the moment I am optimistic it is working for older installations, too.

                I think the topic is solved then.

                1 Reply Last reply Reply Quote 0
                • S sdetweil has marked this topic as solved
                • 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