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-Navigate, Navigation inside MagicMirror with Rotary Encoder

    Scheduled Pinned Locked Moved System
    45 Posts 6 Posters 21.1k Views 5 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.
    • A Offline
      AgP42 Project Sponsor Module Developer
      last edited by

      Great ! Thank you so much !

      But as said on the link you gave :

      @axled said in MMM-Navigate, Navigation inside MagicMirror with Rotary Encoder:

      Thanks to glitch452 who found the error, details see:
      https://github.com/Jopyth/MMM-Remote-Control/issues/76

      the line to replace is

      res.send({"status": "success"});
      

      and not

       self.sendSocketNotification(query.action, query.value);
      

      Then it is working perfectly !

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

        @AgP42
        You are right, i told you the wrong line, i corrected my thread above.
        I am glad it is working on your MM as needed.
        AxLED

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

          Hi to all MM Builders,

          i made an update to my module MMM-Navigate.

          1.2 Changelog:

          • tadded lock icon next to navigation alias, if locked
          • code cleaned

          Happy navigation.

          AxLED

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

            Hi,

            i installed this module with the Rotary Encoder KY-040. Scroll through navigation work fine, but nothing happened, when I press the button on the encoder.

            Test with Url (yourmmip:8080/remote?action=NOTIFICATION&notification=PRESSED) works fine.

            What could be the problem ??

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

              @Eisblume
              Did you use the right Pin (either in config or on the pi) for the ‘press’ signal of the rotary encoder?
              Is the module MMM-Remote-Control installed and working?
              AxLED

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

                Hi,
                yes Pin 19, like you suggested. Everything else works fine, only the press action doesn’t work.
                MMM-Remote-Control is installed.
                I ordered a new Rotary Encoder, maybe this one I use has a defect .
                Eisblume

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

                  @Eisblume
                  You can also try to put clockwise or counterclockwise signal on pin 19 for testing, so cw or ccw should send the press command. So you can make sure if press switch of your rotary encoder is bad.
                  AxLED

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

                    Thx for support !!

                    I will try and report !!

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

                      @AxLED
                      I bought some new Rotary Encoders and with each one i had the same result. No press result will send, when i press the button :-( !

                      But when i put cw or cww on pin 19, the press signal will send when i turn cw or cww.

                      I tried other Pins for the press Signal, but it also doesn´t work.

                      I am confused…! Any ideas what i can try to solve my Problem?

                      Greets
                      Eisblume

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

                        @Eisblume
                        So the pin is correct. Some ideas.
                        Press contains two operations, pressing and release. Did you try press and release in different speeds?
                        How long are your cables between rotary and pi? Could also be a debouncing problem. Which pi are you using? (I tested the module on pi 1 and pi 3).
                        AxLED

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