A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • MM crashes when I try to start my own module.

    Solved
    6
    0 Votes
    6 Posts
    941 Views
    S
    @vredevol getDom() MUST return AT LEAST an htmlElement add return document.createElement(‘div’) see my sample module https://github.com/sdetweil/SampleModule
  • Filter events on Calendar Module

    3
    0 Votes
    3 Posts
    1k Views
    A
    Where do you paste that code? config.js?
  • Monitor external program...

    5
    0 Votes
    5 Posts
    589 Views
    S
    start the external program with pm2, it will keep it running
  • Send socket notification to node helper on click?

    2
    0 Votes
    2 Posts
    338 Views
    ?
    @laszlocsaba imgObj.onclick = ()=> { this.sendSocketNotification("CLICKED", somePayload) } I think you might have some confusing with using this. If you are using ES6 style arrow function, you can easily bind.
  • My first written module

    12
    0 Votes
    12 Posts
    3k Views
    BKeyportB
    Ah, the heck with it. It’s released!
  • Send data from a local web page to a magic mirror module

    4
    0 Votes
    4 Posts
    650 Views
    S
    @sergiozf where is it getting the data from? Can it websocket send to mm module too? Use the node ws library https://www.npmjs.com/package/ws Listen and receive in the node helper. Send up to the module
  • How can i pass query / parameters from URL to module

    Solved
    12
    0 Votes
    12 Posts
    3k Views
    A
    Hi, testing completed, today i uploaded new release to github. MMM-Navigate - V1.3 released Regards AxLED
  • "Npm start" doesn't work

    17
    1
    0 Votes
    17 Posts
    4k Views
    M
    Mac mini…
  • 0 Votes
    1 Posts
    453 Views
    U
    Hi everybody! I currently have an event on my local MQTT server which provides me with the event that sun has risen or has set. This has different consequences around my house, specifically when the sun sets: curtains go down, ambiental lights go on (this last one obviously depending on whether we are home or not), staircase gets illuminated, etc. I have a magic monitor (on display here) which I want it to be coordinated as well: whenever the sun sets, the theme should set to be a dark theme, otherwise during the day it should be a white(ish) theme. I have currently overwritten some values in my CSS so that during the majority of the day it displays the light theme, but now I would like to go a step further and implement this so that after the sun sets, the screen is no longer so bright. Now comes my question: how would you begin to do this? Has anybody already done this before? Can I use some existing implementation to read out MQTT and perform an operation based on such an event? I can program comfortably (actually pretty new to nodejs!) but I’m just curious as to where to begin. Hopefully you can help me more. Thanks and greetings.
  • API for Map image

    3
    0 Votes
    3 Posts
    480 Views
    S
    @Temisola1 See https://forum.magicmirror.builders/topic/12376/mmm-tomtomtraffic
  • Module UI Design

    4
    0 Votes
    4 Posts
    935 Views
    S
    @Temisola1 what do you mean inherit the master? you don’t need to create any new tags… (the forum doesn’t like < , so I will skip it for this discussion) head fddfd /head body div p>some text table tr td td td /tr /div the part that starts with div, thru end div, you can insert into the wrapper div innerHtml head and body are controlled by MM there are default classes in ~/MagicMirror/css/main.css you can add more by adding them to ~/MagicMirror/css/custom.css you can also have a css file local to the module folder, and include it with the getStyles() method response (and those can be overridden in the custom.css) Give it a try, you’ll get it pretty quick
  • child_process won't execute

    13
    0 Votes
    13 Posts
    3k Views
    T
    Thank you all for all your wonderful suggestions. I’m able to run my python script successfully now. Thanks!
  • Module creation workflow - Newbie

    7
    0 Votes
    7 Posts
    1k Views
    T
    @sdetweil Amazing. Thank you.
  • Module development node_helper.js config loading

    4
    0 Votes
    4 Posts
    664 Views
    S
    @andyb2000 you did perfect!! glad u got it working u didn’t NEED to pass it, as this.my_control() worked, the ‘this’ pointer is correct inside the function…
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    34 Views
  • Hintergrund Modul

    4
    0 Votes
    4 Posts
    992 Views
    S
    @luwol3 In Magic Mirror läuft bereits ein Express-Server, und Sie können Ihre eigenen Pfade hinzufügen … siehe das MMM-ImageslideShow-Modul node_helper `` ` extraRoutes: function () { var self = this; this.expressApp.get (“/ MMM-ImagesPhotos / photos”, Funktion (req, res) { self.getPhotosImages (req, res); }); this.expressApp.use (“/ MMM-ImagesPhotos / photo”, express.static (self.path_images)); }, `` `
  • Alternative for request package/library

    5
    0 Votes
    5 Posts
    755 Views
    M
    @Sean thank you for your input
  • .resume() is executed whenever even with wrong lockString?

    10
    0 Votes
    10 Posts
    1k Views
    ?
    Yes. I fix it with @eouia
  • Smart Mirror in Dutch

    5
    0 Votes
    5 Posts
    1k Views
    ?
    @Bronno Hmmm Official docs are not explicitly mentioning it. Only Google knows. Anyway, some langs looks being supported but I cannot guarantee about it.
  • Need help with the MMM-KeyBindings module

    1
    0 Votes
    1 Posts
    250 Views
    L
    Im having a hardtime figuring out how i should setup the this module to get the key input from a default keyboard. this is my config now (https://pastebin.com/nPghyGHk). i dont really get the actions part here. where i am now i just want to log the keypress. nothing fancy until i understand this :( Okey then the second thing is that i saw that the module itself have some open space ready for stuff inside the “keyhandler.js” (https://pastebin.com/gCZZzdMP) . like what am i supposed to put here? Sorry im new to this magicmirror and electron. Thanks alot for taking your time reading this! hopefully you can help me out^^ Regards l0b5ter