A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Display Live Excel Sheet

    Unsolved
    1
    0 Votes
    1 Posts
    1k Views
    C

    I’m looking for a way to display live information from an excel sheet located on my company’s server.

    Does anyone know of a module that can perform this function?

    I am very new to MagicMirror2, still learning it’s capabilities.

  • txt file for MMM embedyoutube

    Unsolved
    8
    0 Votes
    8 Posts
    919 Views
    S

    u just want the item so u can cut/paste it into the config?

    even smaller, doit.js

    var fs = require("fs"); var text = fs.readFileSync("./textfile"); console.log("file="+text); var list_of_images=text.toString().split(/\r\n|\n/); // windows or linux line ends console.log("video_list:"+JSON.stringify(list_of_images)); node doit.js file=line1 line2 line3 line4 line5 video_list:["line1","line2","line3","line4","line5"]

    | changed to use ‘:’ instead of = , easier cut/paste jnto config.js

  • Kitchentimer

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    A

    @tommy1974
    If you develop a timer module which can handle notifications, you can use my module MMM-Navigate out of the box.
    AxLED

  • pir sensor

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    S

    @branchi so, you got a missing , or quote "

    Do

    npm run config:check

    Errors are usually reported on the line after the problem

  • TimeTree Calendar

    4
    0 Votes
    4 Posts
    2k Views
    K

    @CloudWalker that sounds good :-) Have you already tried it?

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    40 Views
  • Module to display data from Firebase

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    S

    @allancherianbiju maybe u need to make some interim temporary data structure to reduce the complexity

  • touch screen

    Unsolved
    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(); },
  • Canteen-module // Mensa-Modul

    Solved
    15
    0 Votes
    15 Posts
    3k Views
    lavolp3L

    @k-0 Of course they do. It is just a javascript function returning data that gets used by the nunjucks template.

    This shortened and slightly more elegant if/else version should do the trick

    today: (moment() < moment(this.config.switchTime, "HH:mm")) ? moment().format("dddd") : moment().add(1, "days").format("dddd")
  • touch screen

    Unsolved
    1
    0 Votes
    1 Posts
    672 Views
    T

    hi i dont know if this is the right place to post but i want to use my magic mirror as a touchscreen. does anyone know how to enable a Open Cursor on the mirror

  • Calendar/familyplan

    Unsolved
    15
    0 Votes
    15 Posts
    2k Views
    LordyL

    @Sean said in Calendar/familyplan:

    Yes, I’ll consider again. Maybe it could be new plugin of CALEXT series like Minimonth or Timeline.
    Frankly not difficult at all. All the reason was, just worry about inefficient space used I thought. However, at least you won’t mind about it.
    Unfortunately, at this moment, I have broken my ankle last week so being in Hospital. After return home, I’ll consider. Maybe releasing new AMK2 version then this would be next work. I hope this could be released until mid Jan.

    I wish you a quick and good recovery Sean. I personally would be very happy about the plugin. Thanks in advance for that.

  • facial recognition

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    E

    Hello

    Thank you both for your answers.

    It’s really a great forum!

  • I search a module that shows multiple pages.

    Moved Unsolved
    6
    0 Votes
    6 Posts
    808 Views
    LordyL

    0_1576328405877_Screenshot_20191214-135355_Samsung Internet.jpg

    Do you know how I remove the “module name (red)” and the “module counter blue”? The two things were only added after the installation of “MMM-Page-Selector”.

  • Chalkboard message

    Unsolved
    9
    0 Votes
    9 Posts
    2k Views
    B

    Update us with how you do and your progress. :thumbsup

  • Philips Hue voice commands

    Unsolved
    1
    1 Votes
    1 Posts
    443 Views
    A

    Hi all,

    Is anyone aware of a module that could allow me to control a Philips Hue bulb with voice commands i.e. Lights on/Lights off?

    I seem to recall seeing someone achieving this months ago but at the time the idea wasn’t appealing to me.

    Would prefer doing it without the Alexa module if possible.

    Many thanks all,

    Andrew

  • MMM-Spotify suggestion

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    E

    @Sean said in MMM-Spotify suggestion:

    #SPOTIFY.pausing {
    display:none;
    }

    #SPOTIFY.playing {
    display:block;
    }

    It’s perfect, thank you

  • Volkswagen CarNet

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    N

    You can also try https://www.npmjs.com/package/node-vw-carnet (if you have not already solved your problem)

  • MMM-HTMLBox not displaying my 1 hour countdown timer html file

    Unsolved
    18
    0 Votes
    18 Posts
    3k Views
    G

    @Sean Can you help me Website display on the mirror after voice search?
    It should look like this:
    alt text

  • MMM - Spotify

    Solved
    22
    0 Votes
    22 Posts
    4k Views
    E

    @Sean

    So, I went around the problem by making transparent the image that you apply.

    Thanks for your help.

    It works nickel …

    Really, thank you

  • Using an Ultrasonic sensor with MMM-PIR-Sensor power-saving functionality

    Unsolved
    3
    0 Votes
    3 Posts
    947 Views
    FoziF

    Following the description of MMM-NearCompliments, MMM-PIR-Sensor has to be installed, too, if you intend to use the powersaving function. See the options ‘usePIR’ and ‘powerSavingDelay’

    usePIR Should we use PIR sensor to activate only distance measurment when USER_PRESENCE notification is sent by MMM-PIR-Sensor?
    Possible values: boolean
    Default value: false

    powerSavingDelay Power saving delay in seconds defined in MMM-PIR-Sensor. It gets overwritten by MMM-PIR-Sensore module and is only defined for backup purpose.
    Possible values: int
    Default value: 30