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

    Posts

    Recent Best Controversial
    • RE: skywriter - python to javascript

      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?	}
      posted in Development
      K
      kclemen
    • 1 / 1