• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

[MMM-Buttons] Connect multiple buttons to send configurable notifications

Scheduled Pinned Locked Moved System
40 Posts 15 Posters 32.5k Views 14 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.
  • P Offline
    pedroken
    last edited by pedroken Jul 28, 2017, 2:24 AM Jul 28, 2017, 2:19 AM

    This post is deleted!
    1 Reply Last reply Reply Quote 0
    • S Offline
      Snille Module Developer
      last edited by Aug 16, 2017, 1:58 PM

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • J Offline
        Johans
        last edited by Oct 20, 2017, 11:32 AM

        @Jopyth

        have installed the module, just small maybe stupid question. (i have no skills in electronics)
        when you talk about pin 24, pin 25, do you mean GPIO24 - GPIO25 ?

        1 Reply Last reply Reply Quote 0
        • A Offline
          AxLed Module Developer
          last edited by Feb 13, 2018, 5:21 PM

          Hello Power Users,

          i also have a problem with MMM-Buttons, that Buttonpress is only sometimes recognized if i press twice or triple.

          Intension:
          I want to change MMM-Pages with to buttons, to move left/right through my pages.
          MMM-Remote-Control is set up and works.
          Moving through pages work bei MMM-Remote-Control Links and sendnotification.

          My setup:
          Raspberry 1 B+
          2 Buttons (circuit closed when pressed)
          connected between 1: GND an BCM26; 2: GND and BMC20
          I tested the buttons with a python script an they are recognized

          I searched this forum and still have some questions.

          1. Do Buttons on GND work or do i have to put them on +3,3V with a resistor instead?
          2. how do i use activeLow in MMM-Buttons Configuration? … activeLow: true ?

          Looking forward getting some tips.

          Regards AxLed

          C 1 Reply Last reply Feb 13, 2018, 6:06 PM Reply Quote 0
          • C Offline
            cruunnerr @AxLed
            last edited by Feb 13, 2018, 6:06 PM

            @AxLed said in [MMM-Buttons] Connect multiple buttons to send configurable notifications:

            i also have a problem with MMM-Buttons, that Buttonpress is only sometimes recognized if i press twice or triple.

            Maybe play around with the min and max Presstime.

            connected between 1: GND an BCM26; 2: GND and BMC20
            I tested the buttons with a python script an they are recognized

            Wondering that this works with the module… when u press the Button the gpio would be set to low which is equal to 0.

            1. Do Buttons on GND work or do i have to put them on +3,3V with a resistor instead?
            2. how do i use activeLow in MMM-Buttons Configuration? … activeLow: true ?

            Afaik this isn’t possible through the module. Maybe u find a solution in the web, fo how changing the input state detection.

            And yes, u should use resistors for giving the GPIO a defined state when not pressing. When u don’t want to connect them physically (but i recommend) u could use the internal resistors (check below on this site http://wiringpi.com/the-gpio-utility/)

            So normal way (or the way i used) is to connect the button like this:

            Bild Text

            M 1 Reply Last reply Feb 13, 2018, 10:08 PM Reply Quote 1
            • A Offline
              AxLed Module Developer
              last edited by Feb 13, 2018, 7:46 PM

              @cruunnerr
              Thanks for the tips, you made my day, it works now.
              What i did: Changed the wiring from negativ (GND) to 3.3V (with resistor) as shown on picture of cruunnerr wiring diagram.

              No i try to get a rotary switch and got it working, as i need some WAF (Woman acceptance faktor) for my mirror.

              Regards

              AxLED

              C 1 Reply Last reply Feb 13, 2018, 8:13 PM Reply Quote 1
              • C Offline
                cruunnerr @AxLed
                last edited by Feb 13, 2018, 8:13 PM

                @AxLed said in [MMM-Buttons] Connect multiple buttons to send configurable notifications:

                as i need some WAF (Woman acceptance faktor) for my mirror.

                We could open a petition XD

                1 Reply Last reply Reply Quote 0
                • M Offline
                  Mykle1 Project Sponsor Module Developer @cruunnerr
                  last edited by Feb 13, 2018, 10:08 PM

                  @cruunnerr

                  Your wiring diagram is fantastic. Is that a program?

                  Create a working config
                  How to add modules

                  C 1 Reply Last reply Feb 14, 2018, 4:41 AM Reply Quote 0
                  • C Offline
                    cruunnerr @Mykle1
                    last edited by Feb 14, 2018, 4:41 AM

                    @Mykle1

                    Jap, its called Fritzing
                    :)

                    1 Reply Last reply Reply Quote 1
                    • 1
                    • 2
                    • 3
                    • 4
                    • 4 / 4
                    • 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