Read the statement by Michael Teeuw here.
Combining MMM-GroveGestures and MMM-Page-Selector
-
@ChanceTime said in Combining MMM-GroveGestures and MMM-Page-Selector:
this.SendNotification
MagicMirror is case sensitive
this.sendNotfication, is not the same as this.SendNotificationI do not know if ‘this’ is set at the time of use in config.js
but you do not need any code, there is configuration for
what notification to send and what data(payload) goes with it , and you are using those"BACKWARD": { notificationExec: { notification: "PAGE_SELECT", payload: "work", }, }
I would install MMM-ViewNotifications to see if the notifications are being sent
-
@sdetweil ah!! Thanks so much for this - I’ll give it a shot when I get home this evening and report back. :)
-
@sdetweil so I tested with MMM-ViewNotifications! I am seeing MMM-GroveGestures GESTURE_DETECTED get registered, but nothing from inside of the movement (FORWARD, BACKWARD) from the MMM-GroveGestures section despite the correct movements being shown on the screen. Any ideas?
-
@sdetweil nevermind - I fixed it thanks to your suggestion to use the second module! Found where GESTURE_DETECTED was coming from in MMM-GroveGestures.js and edited my notifications in there. I really appreciate your support!
-
@ChanceTime awesome!!!
-
-
@ChanceTime you edited in config.js, right?
never edit the module source