Skip to content
MagicMirror Module - detecting 3D gesture with GestIC Sensor(MGC3130)
JavaScript Python
Branch: master
Clone or download
jancalve@gmail.com
jancalve@gmail.com Increase update interval
Latest commit f9423aa Jan 17, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Jan 11, 2019
MMM-flick-gestures.js minor cleanup Nov 9, 2019
README.md
__init__.py Initial commit Nov 4, 2019
monitor.py Increase update interval Jan 17, 2020
node_helper.js Fix page changing Nov 10, 2019
package.json Initial commit Nov 4, 2019

README.md

MMM-Flick-Gestures

This module enables you to use the Flick Tracking and Gesture board with your Magic Mirror.
See: https://www.seeedstudio.com/Flick-Large-Standalone-3D-Tracking-and-Gesture-Breakout-p-2952.html

This module will emit 2 events - PAGE_DECREMENT when swiped left and PAGE_INCREMENT when swiped right.

Tested with

  • Flick Large – Standalone 3D Tracking and Gesture Breakout
  • MMM-Pages - Excellent module for interfacing with a multi-page Magic Mirror.

Not tested with - but should work

  • Flick Zero
  • Flick HAT
  • Any board using MGC3130 3D Tracking and Gesture Controller

Demo

Coming..

Using the module...

To use this module, add it to the modules array in the 'config/config.js' file:

modules: [
    {
        module: 'MMM-flick-gestures'
    },
]

Requirements

Flicklib python library installed
MGC3130 controller board

Installation


pip install flicklib
cd ~/MagicMirror/modules
git clone https://github.com/jancalve/MMM-flick-gestures
cd MMM-flick-gestures
npm install

Known issues

This module expects to be installed in /home/pi/MagicMirror/modules/MMM-flick-gestures
If your path is different, you'll have to update myPythonScriptPath in node_helper.js to reflect your MagicMirror path.
(If anyone has any idea how to make this more user-friendly, do make a pull request!)

Future improvements

Support north/south/airwheel/tap gestures
Configurable gesture to event mapping

Acknowledgements...

This module is essentially a NodeJS wrapper of the Flick Board demo scripts written in python.
See https://github.com/PiSupply/Flick/blob/master/bin/flick-demo

You can’t perform that action at this time.