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

    Topics

    • akshaybahadur21A

      Magic Mirror with AI

      Watching Ignoring Scheduled Pinned Locked Moved Show your Mirror
      64
      4 Votes
      64 Posts
      69k Views
      S
      @joseska Info here: https://forum.magicmirror.builders/topic/6615/kalliope-assistant-mm
    • akshaybahadur21A

      Open or close a particular module if present in config.js via notifiaction

      Watching Ignoring Scheduled Pinned Locked Moved Requests
      1
      0 Votes
      1 Posts
      806 Views
      akshaybahadur21A
      can someone guide me on how to open or close a module via test notification. I have this code for notification which should broadcast message to all: this.expressApp.post(‘/module’, function (req, res) { var data = ""; req.on('data', function(chunk){ data += chunk}) req.on('end', function(){ req.rawBody = data; req.jsonBody = JSON.parse(data); url = req.jsonBody.url statuss = req.jsonBody.statuss console.log(url) self.sendSocketNotification("MODULE", {"module":url, "statu": statuss }) res.sendStatus(200); }) });
    • 1 / 1