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

Scheduled Pinned Locked Moved Troubleshooting
45 Posts 17 Posters 39.3k 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
    BeLuGe
    last edited by Sep 4, 2016, 1:22 PM

    @bob123bob I use Raspbian Jessie last version, Nodejs 6.5.0.
    I have test it with Nodejs 5.11.1, the same issue.
    I run MM without sudo.

    1 Reply Last reply Reply Quote 0
    • M Offline
      mochman Module Developer
      last edited by Oct 17, 2016, 6:41 PM

      I’m running:

      RasPi 3 with Jessie
      NodeJs 6.7.0
      Fully updated with

      sudo apt-get update
      sudo apt-get dist-upgrade
      sudo rpi-update
      

      I just removed the entire MMM-Swipe Folder

      cd ~/MagicMirror/modules/
      git clone https://github.com/mochman/MMM-Swipe
      cd MMM-Swipe/
      npm install
      cd ~/MagicMirror/
      sudo npm start
      

      I don’t get any of those errors. I don’t know what module version 49 is?

      J 1 Reply Last reply Oct 18, 2016, 8:15 AM Reply Quote 0
      • J Offline
        Jopyth Moderator @mochman
        last edited by Jopyth Oct 18, 2016, 8:18 AM Oct 18, 2016, 8:15 AM

        @mochman Similar issue here. They changed the package.json to fix it. Seems to be a problem with a new Electron version.

        You would only get this error if you newly install Magic Mirror (npm install in the MagicMirror folder gets the new package, if you want to reproduce it).

        Helpful sticky: How to troubleshoot

        1 Reply Last reply Reply Quote 0
        • M Offline
          mochman Module Developer
          last edited by Oct 18, 2016, 12:24 PM

          @Jopyth Thanks! I was able to reproduce the error. I updated the package.json file and it runs correctly.

          1 Reply Last reply Reply Quote 1
          • D Offline
            DirkS
            last edited by Oct 24, 2016, 10:23 AM

            Did you try to use the HR-SR04 behind the mirror glas? I would like to use it like that but don’t know if the ultrasonic sensor will work behind the glas.

            1 Reply Last reply Reply Quote 0
            • M Offline
              mochman Module Developer
              last edited by Oct 24, 2016, 12:33 PM

              No, I have some speakers behind some speaker mesh. I put the sensors behind the mesh.

              1 Reply Last reply Reply Quote 0
              • D Offline
                DirkS
                last edited by Oct 24, 2016, 1:40 PM

                Ok thanks for the info. I will try it.

                1 Reply Last reply Reply Quote 0
                • B Offline
                  Blamer
                  last edited by Oct 30, 2016, 4:21 PM

                  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
                  • M Offline
                    mochman Module Developer
                    last edited by Oct 31, 2016, 1:28 AM

                    @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 Nov 17, 2016, 9:23 PM

                      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
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 3 / 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