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-Swipe - Hand gestures

    Scheduled Pinned Locked Moved Troubleshooting
    45 Posts 17 Posters 44.6k Views 16 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.
    • B Offline
      Blamer
      last edited by

      I have just installed the MMM-Swipe module and wired up the sensors to the Raspberry for tests. Right now I still do not understand how this modul communicates with the other Magic Mirror modules. How do I have to config e.g. the calender module or the clock module to swipe left or right? Or does it just work with special modules?
      That´s the only information I found on Github:

      This module will use the sendNotification(notification, payload) to send:
      notification = ‘MOVEMENT’
      payload = ‘Swipe Left’, ‘Swipe Right’, or ‘Press’

      Please use as appropriate in your module using notificationReceived(notification, payload, sender)

      1 Reply Last reply Reply Quote 0
      • mochmanM Offline
        mochman Module Developer
        last edited by

        @Blamer Yeah, this isn’t created with a certain module in mind. It sends that notification so you can use it in a module you create if you want. I haven’t been really using this too much after I made it so I don’t have any other modules that would utilize the notifications.

        1 Reply Last reply Reply Quote 0
        • B Offline
          bibi
          last edited by

          hi @mochman - i don’t really get what is the use of your module… could you please give me some use case pls? thx a lot

          1 Reply Last reply Reply Quote 0
          • SnilleS Offline
            Snille Module Developer
            last edited by

            Hi, I’m trying out your module.
            I’m not running the Mirror with sudo, is there no other way to get your module to work?
            I’m getting this:

            { Error: EACCES, Permission denied
                at Error (native)
                at /home/pi/MagicMirror/modules/MMM-Swipe/node_modules/mmm-gpio/lib/gpio.js:32:18
                at ChildProcess.exithandler (child_process.js:209:7)
                at emitTwo (events.js:106:13)
                at ChildProcess.emit (events.js:191:7)
                at maybeClose (internal/child_process.js:877:16)
                at Socket. (internal/child_process.js:334:11)
                at emitOne (events.js:96:13)
                at Socket.emit (events.js:188:7)
                at Pipe._handle.close [as _onclose] (net.js:493:12) errno: 13, code: 'EACCES', syscall: 'init' }
            

            I’m guessing it have to do with the mirror not running as root…
            the pi user is a member of the gpio group at least. :)

            Thank you.

            Best regards Snille

            If you cant find it, make it and share it!
            Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

            1 Reply Last reply Reply Quote 0
            • mochmanM Offline
              mochman Module Developer
              last edited by

              @Snille Yeah, this module requires root access. I haven’t developed it since I first made it so I’m not sure if it still works with all the updates the pi & MM have gotten. Sorry.

              SnilleS M 2 Replies Last reply Reply Quote 0
              • SnilleS Offline
                Snille Module Developer @mochman
                last edited by

                @mochman No worries, thank you for letting me know. :)

                If you cant find it, make it and share it!
                Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

                1 Reply Last reply Reply Quote 0
                • M Offline
                  Michii_M @mochman
                  last edited by

                  @mochman
                  Hey
                  Since this module does not work anymore, I would like to try to get it running again.
                  Can you tell me which file or parameters probably need to be adjusted?

                  yawnsY 1 Reply Last reply Reply Quote 0
                  • yawnsY Offline
                    yawns Moderator @Michii_M
                    last edited by

                    @Michii_M
                    maybe you could explain that a bit more. What is not working any more? Do you have any error messages? Did you log an issue on github with the developer @mochman ?

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      Michii_M @yawns
                      last edited by

                      @yawns
                      @mochman said that he did not develop the module any more. Probably the error messages come by updates from the PI and MM. The error messages I can upload later after the work.
                      From GitHub I have unfortunately no idea at all about the errors, how does it work?

                      yawnsY 1 Reply Last reply Reply Quote 0
                      • yawnsY Offline
                        yawns Moderator @Michii_M
                        last edited by

                        @Michii_M
                        On github you can log issues (problems you might have found): https://github.com/mochman/MMM-Swipe/issues

                        However if mochman is not continuing development of this module then it is not really helpful to log the issue any way. Let’s wait for your error logs and maybe we can find another developer who could jump in

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