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.

    Problem with MMM-Button

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 4 Posters 2.3k Views 4 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
      maydaymiao
      last edited by maydaymiao

      Hi, I am trying to work with MMM-Button but met some problems. I have connected a push button to GPIO 5 and tested with Python script without any problem.

      But magic mirror logs continously throws me the error whenever I push the button. Here is the screen shot from both the mm logs and part of my config file. Thanks for your help!

      0_1522649721575_log.JPG

      0_1522649733068_config.JPG

      1 Reply Last reply Reply Quote 0
      • F Offline
        fikol
        last edited by

        Hello,
        I have the same problem.
        Did you solve that?

        1 Reply Last reply Reply Quote 0
        • A Offline
          AxLed Module Developer
          last edited by

          Hi,

          there is a second Module MMM-Buttons (see last s) which worked for me.
          AxLED

          1 Reply Last reply Reply Quote 0
          • F Offline
            fikol
            last edited by

            Hello, I have found fault. In node helper.js, I replaced the entry (this.config.notificationMessage, true) with (“BUTTON_PRESSED”, true).

            1 Reply Last reply Reply Quote 0
            • E Offline
              E3V3A
              last edited by

              Can you provide links to both those button modules, please?

              "Everything I do (here) is for free – altruism is the way!"
              MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

              1 Reply Last reply Reply Quote 0
              • A Offline
                AxLed Module Developer
                last edited by

                Here you go:
                https://github.com/ptrbld/MMM-Button
                and
                https://github.com/Jopyth/MMM-Buttons

                AxLED

                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