A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Automatic checking of all MagicMirror² modules

    Pinned
    83
    2 Votes
    83 Posts
    32k Views
    BerkSmash1984B

    @KristjanESPERANTO Awesome. Thanks for the response!

  • Head first developing MM module for extreme beginners

    Pinned
    27
    7 Votes
    27 Posts
    18k Views
    R

    Anyone have an idea on how to display an image instead of a line. I downloaded a jpeg image of a dog and I would like to display that instead of

  • Any Interest: MMM-ThemeParkWaitTimes

    4
    1 Votes
    4 Posts
    138 Views
    M

    @wswenson https://github.com/vita10gy/MMM-ThemeParkWaitTimes

    This one is built on the https://api.themeparks.wiki/docs/v1/ which has live wait times for theme parks all around the world.

    Fred

  • Tigo Energy Solar Modules

    2
    1 Votes
    2 Posts
    76 Views
    W

    Making some progress - I did have a problem with the CSS file loading using getStyles() - need to figure that out - it loads manually but not within the function. This image was captured after dark, so production is actually 0.0. It was raining all day today so I was surprised to see that it produced any power at all.

    solar.png

  • how to show NPR RSS feed content tag?

    2
    0 Votes
    2 Posts
    49 Views
    S

    @gvaeth correct. The module would need to be modified to support the content tag

  • MMM-Hoymiles-Wifi

    25
    1 Votes
    25 Posts
    1k Views
    S

    @schris88 Recently worked on it a bit and added a second branch with local mongodb to save and display max power, Im planning to use the db entries to display a history chart

  • Help with Snow Falling Module

    7
    2 Votes
    7 Posts
    209 Views
    S

    @xTITUS-MAXIMUSx awesome!!

  • Community opinions on an interactive List module

    2
    1 Votes
    2 Posts
    130 Views
    S

    @cpcode welcome to the fun… you’ve done a good bit of the analysis work.

    as you’ve seen, very little interactivity is provided today

    there is a keyboard module https://github.com/lavolp3/MMM-Keyboard
    but thats such a tiny part of what you want to do…
    MM is a web page, so you can do it. .

    maybe managing the content and form are doable in the JSONFORM library
    https://github.com/jsonform/jsonform

    I use this in my MMM-Config module for customizing MagicMirror config.js without editing
    I’d store this kind of data in a mongo db, its all json, don’t have to do sql
    then there are modules that can display from json

    apis to update whatever source are the challenge
    accessing from phone is possible with jsonform too… its just a web page

    I use OurGroceries and Mealie as well.

  • Get the correct JSON data

    15
    0 Votes
    15 Posts
    227 Views
    htilburgsH

    @sdetweil Thanks, that works!
    Now I can really see what I’m doing.

  • MMM-Scrapey - I made something that could be useful?

    3
    2 Votes
    3 Posts
    179 Views
    A

    @KristjanESPERANTO No problem, done!

  • Google keep

    5
    0 Votes
    5 Posts
    181 Views
    A

    @Kobose I am thinking of trying the same assuming the gkeepapi still works by kiwiz https://github.com/kiwiz/gkeepapi

  • Any way to access overall DOM?

    4
    0 Votes
    4 Posts
    93 Views
    M

    @Mystara
    Not tested, only with my brain, so just idea.

    Get all the DOMs which has textContent. const els = document.querySelectorAll('*') for (let i = 0; i < els.length; i++) { const el = els[i] const children = el.childNodes let hasText = false for (let j = children.length; j--) { if (children[j].nodeType === 3 && children[j].nodeValue.trim().length) { hasText = true break } } if (hasText) { //This element has text content } } If it and its ancestors don’t have a background, apply your solution. // assume that already know target element let withoutBackground = true let node = targetElement while (node.parentElement) { // until document const styles = window.getComputedStyle(node) if (styles.backgroundColor === 'transparent' || ... ) { // Maybe backgroundImage should be checked too. // node has no background, so check the parent node = node.parentElement } else { withoutBackground = false break } } if (withoutBackground) { // the target element has no its own background. So you can apply your solution. }

    To improve : a caching strategy for a once checked node to skip would be better.)

    However, I’m not too fond of this approach,

    getComputedStyle is very expensive Rather, it would be better to propose a theme style guide as MagicMirror’s default coding rules.
  • What is the difference between day_cloudy and cloudy?

    3
    0 Votes
    3 Posts
    78 Views
    U

    @sdetweil Thanks for the clarification. I am using the OpenWeather API. So if I understand correctly the difference between them is that day_cloudy means “few clouds” and that cloudy means “scattered clouds” (according to their descriptions). So it has nothing to do with daytime apparently. Thanks!

  • 0 Votes
    2 Posts
    82 Views
    S

    @Conno-Zulfikar you can get location from the internet ip address,

    google maps opens to your location

    a search will tell you how. nothing in magicmirror required

  • How to include weather-icons-wind

    4
    0 Votes
    4 Posts
    121 Views
    S

    @Thierry7100 awesome…

  • 1Day view - meeting rooms

    2
    0 Votes
    2 Posts
    92 Views
    S

    @zdenek there is no module that will do all that

    you MIGHT be able to get wall calendar view from MMM-CaledarExt3
    and agenda view from MMM-CalendarExt3Agenda

    but on one page…

    may have to use MMM-Pages or Carousel to have logical pages rotating

  • MMM-Carousel Pagination Icons

    13
    0 Votes
    13 Posts
    509 Views
    S

    @Philip-0 you could do the same in css.

  • MMM-Tesla - state of the module

    3
    0 Votes
    3 Posts
    347 Views
    zdenekZ

    Hi, I’m trying to get it run, but for uknown reason says “loading”. I’ve the Refreshtoken. In first run Access token was generated and written to token.json.
    on my iPhone I can see status of Tesla, location, battery… so the car seems to be OK.

    thanks
    Zdeněk

  • Touch or click buttons for new module i am building

    3
    0 Votes
    3 Posts
    130 Views
    S

    @crg34711 also
    here is a tutorial for handling buttons in JS
    https://www.freecodecamp.org/news/html-button-onclick-javascript-click-event-tutorial/

    one thing to note…

    FINDING the button via ID
    (getElementsByID), won’t work UNTIL AFTER you have returned from getDom()
    because your new content is not IN the document tree (DOM) until MM inserts it after getDom() returns it…

    you don’t need to do it the find way, just add an eventListener to the button element in the getDom() routine itself. you just created the button… so you have its object already

    use the developer window (ctrl-shift-i) sources tab to debug step thru your code as it happens

  • How do I contribute a PR to a module?

    3