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

    Topics

    • A

      Error with MMM-Hotword use

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      1
      0 Votes
      1 Posts
      217 Views
      A
      i finally achieve the installation and configuration of the module but when i run the mirror i got this error WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module './snowboy/lib/node/index.js' and yet in my config.js I don’t specify any path. In the package.json of my snowboy folder the path specified in the main is lib / node / index.js so I don’t understand where the problem may come from
    • A

      problems with communication between modules

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      1
      0 Votes
      1 Posts
      213 Views
      A
      hi everyone who could explain to me how to set up the voice control modules. The one I would like to use is MMM-Hotword and I am already having trouble integrating the library. I manually copied the downloaded files on snowboy.kit.ai but its use created problems when importing dynamic modules j have corrected some files and I am correcting those which remain but once finished how to make interact the modules between them starting from the voice command?
    • A

      touch screen

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Requests
      6
      0 Votes
      6 Posts
      2k Views
      S
      @tpot in html this is < button id=“xyz” onclick=“someroutine”> someroutine is in your javascript module.js handler someroutine: function(){ the ‘this’ variable points to the button object that caused the call this.id equals ‘xyz’ } you can also create the button with code (in the getDom function) let button = document.createElement(“button”) button.id=‘xyz’; button.addEventListener(‘click’,self.someroutine) wrapper.appendChild(button) here is a routine from another module to create a button object with an icon, and some data (src attribute) to be used when the button is pushed createVideoButton: function(video, height, width) { let button = document.createElement("button"); button.className = "button"; button.setAttribute("data-video-src", "modules/" + self.name + "/" + this.config.videoDir + "/" + video); button.addEventListener("click", self.swapVideo); let img = document.createElement("img"); img.src = "modules/" + self.name + "/" + this.config.posterDir + "/" + self.Hash[video.substring(0, video.indexOf('.'))]; img.width = width; img.height = height; button.appendChild(img); return button; }, swapVideo: function () { Log.log("in handler for button="+this.getAttribute("data-video-src")); self.player.src = this.getAttribute("data-video-src"); self.player.load(); self.player.controls = true; self.player.play(); },
    • A

      i can't install any voice control

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      5
      0 Votes
      5 Posts
      800 Views
      A
      @sdetweil ok thank i’ll come to you later
    • A

      my magic mirror bugs after 20 seconds

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      6
      0 Votes
      6 Posts
      890 Views
      S
      @Artech cool.
    • A

      problem with the node_helper

      Watching Ignoring Scheduled Pinned Locked Moved Bug Hunt
      2
      0 Votes
      2 Posts
      355 Views
      S
      @Artech do this cd ~/MagicMirror git checkout modules/node_modules/node_helper/index.js
    • 1 / 1