Node helper:
self.sendSocketNotification('gesture', message.gesture);
script:
Module.register("MMM-skywriter",{
// gesture_up: 0,
// gesture_right: 0,
// Override socket notification handler.
socketNotificationReceived: function(notification, payload) {
console.log ("socketnotificationreceived.")
if (payload === "up"){
console.log("test - up");
}
else if (payload === "left"){
console.log("test - left");
}
else if (payload === "down") {
console.log("test - down");
}
} ```
Why is there no ccommunication between the helper and the script? }