A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • wrapper.innerHTML

    4
    0 Votes
    4 Posts
    4k Views
    D
    I was interrupted when I wrote my answer and forgot to add what I was initially going to say. I decided to write a new reply instead of editing the above, not to confuse anyone and keep the two apart. There is another way to update the content of an element (that has been created in getDom before): Example 3, .innerHTML: start: function() { // stays the same as above setTimeout(function() { this.magicContent(self); // this will call the function "magicContent" }, 10 * 1000); // 10 seconds after the start, 5 seconds after "buildContent" }, // we don't touch getDom or buildContent! magicContent: function() { document.getElementById("my-content").innerHTML = "Changed <i><b>yet again!"; } document.getElementById(“my-content”).innerHTML = “content”; will update the selected element (the div with the id “my-content”) with the selected content without having to call updateDom(). Keep in mind that this will only work on elements that were created before in getDom, so it will not work within start: function() … Caution! This can also update elements of other modules, so be careful and use unique IDs.
  • MMM-Facial-Recognition-Tools error

    2
    0 Votes
    2 Posts
    2k Views
    A
    @acabrera2012 SOLVED! I changed “model.save(config.TRAINING_FILE)” to “model.write(config.TRAINING_FILE)” in train.py
  • SOLVED

    1
    0 Votes
    1 Posts
    801 Views
    A
    Re: MMM-Facial-Recognition-Tools error Solved: I changed “model.save(config.TRAINING_FILE)” to “model.write(config.TRAINING_FILE)” in train.py.
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    1 Views
  • MMM-NOAA

    noaa
    10
    0 Votes
    10 Posts
    9k Views
    cowboysdudeC
    @Peter Glad you got it working !
  • MMM-EOL select all

    2
    0 Votes
    2 Posts
    1k Views
    Mykle1M
    @fox At this time, it’s not possible to select all or more than one lifeForm at a time. However, if you select “Eagles” instead of “Bald Eagle”, you will get all eagles. “Bald Eagle” will only return data for Bald Eagle. It works like this: “Cats” will return data on all cats. “Tigers” will only return data on tigers. Refer to the list in the readme file here: https://github.com/mykle1/MMM-EOL I can add lifeforms at your request. :-) Peace!
  • Calendar Module - Altering event time format

    1
    1 Votes
    1 Posts
    1k Views
    Robert_KR
    The Magic Mirror is a bit new for me. But I got all preferred parts working. The calendar now shows: “event tomorrow 08:00” I would like to see: event monday 08:00 till 10:00 My code is as follows: { module: "calendar", header: "Kalender Robert", position: "top_left", config: { maximumNumberOfDays: 7, maximumEntries: 8, displaySymbol: false, dateFormat: 'ddd-Do-MMM' fullDayEventDateFormat: 'ddd-Do-MMM', urgency: 0, getRelative: 0, timeFormat: 'absolute', calendars: [ { symbol: "calendar-check-o ", url: "https://calendar.google.com/calendar/ical/*PRIVATE CODE*/basic.ics" } ] } Can anyone point me in the right direction of changing the time format? Best Regards and thanks in advance, Robert
  • Error found: Error: Module version mismatch. Expected 50, got 46.

    9
    0 Votes
    9 Posts
    9k Views
    foxF
    @yawns: I did it with the named command, but no effect, can you help me please? pi@magicpi:~/MagicMirror $ npm rebuild --runtime=electron --target=1.4.15 --disturl=https://atom.io/download/atom-shell --abi=50 > electron@1.4.15 postinstall /home/pi/MagicMirror/node_modules/electron > node install.js > electron-chromedriver@1.7.1 install /home/pi/MagicMirror/node_modules/electron-chromedriver > node ./download-chromedriver.js /home/pi/MagicMirror/node_modules/electron-chromedriver/download-chromedriver.js:16 if (error != null) throw error ^ Error: Could not parse checksum file at line 1: at data.trim.split.forEach.line (/home/pi/MagicMirror/node_modules/electron-chromedriver/node_modules/sumchecker/index.js:85:18) at Array.forEach () at Promise (/home/pi/MagicMirror/node_modules/electron-chromedriver/node_modules/sumchecker/index.js:80:36) at new Promise () at ChecksumValidator.parseChecksumFile (/home/pi/MagicMirror/node_modules/electron-chromedriver/node_modules/sumchecker/index.js:76:12) at npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! electron-chromedriver@1.7.1 install: `node ./download-chromedriver.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the electron-chromedriver@1.7.1 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: Reason-Link
  • Errors trying to run MM on Pi3

    8
    0 Votes
    8 Posts
    4k Views
    E
    Hurrah!! I found a post dated 3 days ago by Lange which solved it: npm install --unsafe-perm Thanks for your input.
  • updateDom animationSpeed

    4
    0 Votes
    4 Posts
    2k Views
    strawberry 3.141S
    @russifer you might want to post or link your whole module, that makes debugging for others easier to find your mistake
  • Modules won't show up on mirror?

    19
    0 Votes
    19 Posts
    11k Views
    B
    @Mykle1 I just now got around to trying everything. I copied and pasted the default .cs files from all the original modules and that seemed to do the trick. All of them are working now the way I want them to. Thanks so much for all your help
  • module hide

    1
    0 Votes
    1 Posts
    1k Views
    A
    I am using a voice command module. (@MMM-Assistant) I want it to bring the module and disappear in a few seconds. Do you have scripts to load or hide modules?
  • Newsfeed not loading on display properly

    6
    0 Votes
    6 Posts
    3k Views
    Mykle1M
    @homebrew Great! :-)
  • Module displaying over another

    3
    0 Votes
    3 Posts
    3k Views
    brobergB
    add to custom.css .region.top.left { z-index: 2; } .region.top.right { z-index: 2; } this will force the top left and right region modules to be placed 1 “layer” above the others
  • Daytime vs Night Time Mirror

    4
    1
    0 Votes
    4 Posts
    3k Views
    C
    @strawberry-3.141 Thanks for the help. Got it working. Spent 5 hours yesterday figuring word names, spacing, periods in names, etc. Learned a lot. Now I just need to determine what a good dark bedroom color is for my nighttime mode. The red I tried last night was super bright. Again thanks to all that helped. Carltonb
  • MMM-GoogleMapsTraffic, Sorry! Something went wrong and I don't know what

    Moved Solved
    4
    0 Votes
    4 Posts
    2k Views
    yawnsY
    It doesn’t matter which module is mentioned at which point in config. Each module has one entry with all config options you require. You can add it to the config several times, but then you have multiple instances of this module.
  • MMM-PublicTransportDB

    6
    0 Votes
    6 Posts
    4k Views
    K
    Are u still working on an offline List for Staton IDs?
  • MMM-UkNationalRail - stops updating on mirror

    26
    0 Votes
    26 Posts
    18k Views
    nwoottonN
    @randomnoise Glad you got the answer from Transport API. I had a quick look at the code, but not having a Pi/Mirror available to run soak tests I’ve not been able to fully test it. I’ll drop the edits. N
  • MMM-Buttons calling MMM-Remote config help

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    G
    I was thinking that MMM-Remote-Control was sending the notification, hence the confusion. Cleaned the config up to look like this: {module: 'MMM-Buttons', config: { buttons: [ { pin: 32, name: "monitor_control", longPress: { notification: "REMOTE_ACTION", payload: {"action": "HIDE", "module": "module_1_clock"} }, shortPress: { notification: "REMOTE_ACTION", payload: {"action": "SHOW", "module": "module_1_clock"} } } ] }},`` Can I add another payload from the same action i.e. hide clock & calendar? Not had any success with that so far, can somebody give me a pointer to the syntax. Ta.
  • Modifying MMM-mqtt.....

    6
    0 Votes
    6 Posts
    4k Views
    M
    To bad :(