MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Benjaminh86
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    B
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 19
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-GroveGestures

      Hello @bolish,

      thanks for sharing the script. I will watch this carefully ;)

      BenH

      posted in System
      B
      Benjaminh86
    • RE: MMM-GroveGestures

      @bolish

      you seem to know how to do things better than me; there are some who understand faster than others, I must be part of the 2nd categories!
      I already installed remote control that works well. I will try with all the information you give me as soon as I have time (I am not at home now).
      it may seem a little easy for me to ask you your scripts, but it allows me to understand the operation and interactions, so I want to see them when you have time.
      Thanks for your help :)

      posted in System
      B
      Benjaminh86
    • RE: MMM-GroveGestures

      Thank you so much @bolish !!
      in principle, I understand how it works, but I’m really fond of programming.
      without wanting to abuse, can you show me your scripts MMM-GroveGestures, MMM-Pages, MMM-NotificationTrigger…

      posted in System
      B
      Benjaminh86
    • RE: MMM-GroveGestures

      Hello @Sean
      i will watch npm start dev.
      Thanks for your help.

      BenH

      posted in System
      B
      Benjaminh86
    • RE: MMM-GroveGestures

      @Sean I modified my JavaScript and corrected the errors.
      On my Magic Mirror, I can see my left right scan, but the page does not change.
      an idea…

      posted in System
      B
      Benjaminh86
    • RE: MMM-GroveGestures

      @Sean

      I used the command “npm run config: check”

      posted in System
      B
      Benjaminh86
    • RE: MMM-GroveGestures

      @Sean

      here is my configuration for your module :

      {
      module: “MMM-GroveGestures”,
      position: “top_right”,
      pages: {‘all’: ‘top_right’},
      config: {
      autoStart: true, //When Mirror starts, recognition will start.
      verbose:false, // If set as true, useful messages will be logged.
      recognitionTimeout: 1000, //Gesture sequence will be ended after this time from last recognized gesture.
      cancelGesture: “WAVE”, //If set, You can cancel gesture sequence with this gesture.
      visible: true, //Recognized gesture sequence will be displayed on position

      idleTimer: 1000*60*30, // `0` for disable, After this time from last gesture, onIdle will be executed.
      onIdle: { // See command section
        moduleExec: {
          module: [],
          exec: (module, gestures) => {
            module.hide(1000, null, {lockstring:"GESTURE"})
      	}
           }
            },
      onDetected: {
        notificationExec: {
          notification: "GESTURE_DETECTED",
        },
        /* You can make Mirror to wake up the modules which were hidden by onIdle with any gestures.
        moduleExec: {
          module: [],
          exec: (module) => {
            module.show(1000, null, {lockstring:"GESTURE"})
          }
        }
        */
      },
      
      gestureMapFromTo: { //When your sensor is installed with rotated direction, you can calibrate with this.
        "Up": "UP",
        "Down": "DOWN",
        "Left": "LEFT",
        "Right": "RIGHT",
        "Forward": "FORWARD",
        "Backward": "BACKWARD",
        "Clockwise": "CLOCKWISE",
        "anti-clockwise": "ANTICLOCKWISE",
        "wave": "WAVE"
      },
      commandSet: {
           "LEFT": {
      	notificationExec: {
      		notification: "PAGE_SELECT",
      		payload: "main",
      	}
           },
            "RIGHT": {
      	notificationExec: {
      		notification: "PAGE_SELECT",
      		payload: "2",
            }
          },
        },
      },
      

      }
      },

      posted in System
      B
      Benjaminh86
    • RE: MMM-GroveGestures

      @Sean as I said, I’m a beginner, and I do not understand everything in programming.
      In addition, I have a synthaxe error on the line “exec: (module, gestures) => {”
      it indicates a problem with the symbol =>.
      Can you help me?

      posted in System
      B
      Benjaminh86
    • RE: MMM-GroveGestures

      Hello World,

      I love your module!
      I use MMM-page-selector to switch between 2 pages. I wanted to use grove gesture to change pages, but I can not adapt the script.
      I can see my gestures in the Magic Mirror when I pass my hand in front of the grove gesture; after, i do not know what to put in config.js
      Can you help me?
      For information, my english is bad, and I do not know anything about programming!

      Thank you

      BenH

      posted in System
      B
      Benjaminh86
    • 1
    • 2
    • 2 / 2