Read the statement by Michael Teeuw here.
MMM-GroveGestures
-
No, if it’s works by sending the request, it should work with Gesture also!
-
Great!
I will try tonight the adaptation I made of your script.
I put the action “MONITOROFF” in the “Default_Mode” part of Grove Gestures, that’s it? -
Hello @bolish,
thanks to you! everything is working!
however, I thought Grove Gestures would activate automatically, but I have to make the command line for the sensor to be active:
cd ~ / MagicMirror / modules / MMM-GroveGestures / py
cp grove_gesture_sensor.py.RPI grove_gesture_sensor.py
Is this normal?
Another question about MMM-Pages; I would like to display the Google Calendar calendar on page 1 and the holiday calendar on page 2, but I do not know how to differentiate and name them on MMM-Pages …
Do you have an idea? -
@Benjaminh86 said in MMM-GroveGestures:
cd ~ / MagicMirror / modules / MMM-GroveGestures / py
cp grove_gesture_sensor.py.RPI grove_gesture_sensor.pyIt is described on instruction for installation. And that command is not for activation. I provide 2 scripts for each of Raspberry Pi and Asus TinkerBoard. you need to select one for your device. You don’t need to do that job again after once you did.
The real activation would be performed in the module itself on every running of MM.
-
@Benjaminh86
You have to search a bit on the forum.
One idea could be to create 2 calendars instances.
See below post extract :well… I believe it’s far from being perfect…but at least it seems to do the job… I created a “new” module which does exactly same / has the same code as the one I want to use, but has a different name (folder named “MMM-Calendar2” -> file named “MMM-Calendar2.js” -> within the line Module.register(‘MMM_Calendar2’)). Not in the default module folder but into the 3rd party module folder…
And put instance 1 on page 1 and isntance 2 on page 2.
-
Hello @Sean,
I will look at this in more detail in the module.
Thank you again for your work. -
@bolish
I will explore this track.
Thanks to you ; you already helped me a lot! -
@Sean
it’s weird; the sensor is not active if I do not order:cd ~ / MagicMirror / modules / MMM-GroveGestures / py
cp grove_gesture_sensor.py.RPI grove_gesture_sensor.pywould not it come from “chmod + x * .sh” where I hurt something? …
-
@bolish
it works!
thanks for your help -
@Benjaminh86
Can’t understand.
Do you need to do that shell command per every execution of MM? Have you reinstalled it?
That commands just need to be done once when you install this module.And that command isn’t related with
chmod + x .sh
at all.Check this.
ls ~/MagicMirror/modules/MMM-GroveGestures/py
There should be
grove_gesture_sensor.py
besidesgrove_gesture_sensor.py.RPI
andgrove_gesture_sensor.py.ATB
.
Are those files there?