• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 Jan 23, 2020, 7:38 AM
    Jan 23, 2020, 7:38 AM
    0 Votes
    1 Posts
    216 Views
    A Jan 23, 2020, 7:38 AM
    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 Jan 21, 2020, 4:34 PM
    Jan 21, 2020, 4:34 PM
    0 Votes
    1 Posts
    212 Views
    A Jan 21, 2020, 4:34 PM
    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 Dec 30, 2019, 12:17 PM
    Dec 29, 2019, 8:40 AM
    0 Votes
    6 Posts
    2k Views
    S Dec 30, 2019, 12:17 PM
    @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 Dec 30, 2019, 12:39 PM
    Dec 29, 2019, 8:29 AM
    0 Votes
    5 Posts
    787 Views
    A Dec 30, 2019, 12:39 PM
    @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 Dec 23, 2019, 3:56 PM
    Dec 23, 2019, 1:58 PM
    0 Votes
    6 Posts
    882 Views
    S Dec 23, 2019, 3:56 PM
    @Artech cool.
  • A

    problem with the node_helper

    Watching Ignoring Scheduled Pinned Locked Moved Bug Hunt
    2 Dec 20, 2019, 3:52 PM
    Dec 20, 2019, 3:45 PM
    0 Votes
    2 Posts
    351 Views
    S Dec 20, 2019, 3:52 PM
    @Artech do this cd ~/MagicMirror git checkout modules/node_modules/node_helper/index.js
  • 1 / 1
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy