A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Run time Movement of Modules across Page

    1
    0 Votes
    1 Posts
    841 Views
    E

    Hi All,

    I have seen module hide/show is available but just wanted to do a quick check Is it possible to change the position of modules at run time?
    Lets say, based on config file
    Module A is on top, Module B on Bottom.
    I wanted to exchange their position at runtime

    Thanks

  • Include from /modules/node_modules/

    7
    0 Votes
    7 Posts
    3k Views
    strawberry 3.141S

    @mortenbirkelund that happens only in the node_helper

  • MMM-PIR - off delay

    11
    0 Votes
    11 Posts
    7k Views
    troelsbuggeT

    Thank you for sharing @JamesMM - it works perfectly!

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    47 Views
  • 0 Votes
    9 Posts
    4k Views
    P

    @Brice Thanks!

    ok for the format, will do that.

    I am uneasy about removing the number from the name :

    It comes as it from the JCDecaux server. Any parsing from my part would be under risk from future modifications. The number is the ID, it feels more precise than a ‘name’.

    I would need more users’ feedback for this point but with a grand total of one user ‘me’, I think I will let it like this, don’t you agree?

    cheers

  • Request template to create new MM module

    4
    0 Votes
    4 Posts
    2k Views
  • Defining a module configuration schema standard

    9
    2 Votes
    9 Posts
    4k Views
    R

    I just publish a first release functional of
    https://github.com/roramirez/MagicMirror-Module-Template

    If there suggest about include JSON Schema of something else, come on!, let me know

  • A little help with my own module

    7
    0 Votes
    7 Posts
    3k Views
    K

    @tosti007 I will have to try again, but what I did was similar to what you suggested.Atleast I believe it was.

    The thing that’s mainly bothering me is the fact, that the same code executed on its own and not automated within the node_helper is working fine.

  • Determining module content dimensions before returning wrapper

    Unsolved
    1
    1 Votes
    1 Posts
    868 Views
    AdamMoses-GitHubA

    I gave a forum search but couldn’t find much on this.

    When building the HTML content wrapper to return via updateDom, is there a way to check the sizes of a given element or the module contents as a whole?

    I’ve checked using clientWidth/clientHeight and offsetWidth/offsetHeight but they always return zero I guess because nothing is actually rendered yet.

    My desire is to dynamically fill in all available vertical space on left or right side of the screen without having text overflow into a module above or below it. The width of the module in this case would be a fixed size.

  • Abandoned module - Yours if you want to pick it up

    1
    0 Votes
    1 Posts
    1k Views
    I

    Got part way through developing this module, but found in testing that my environment was not up to the task of playing the videos. more in the read me
    [card:izanbard/MMM-youreBeautiful]
    I am putting it up here in case anyone wants to pick it up

  • How to only update specific parts of DOM

    2
    0 Votes
    2 Posts
    2k Views
    D

    @Synthic
    Call the text div directly. But since document.getelementsbytagname is messy (as is document.getelementsbyclassname) you should give this div an ID.

    var t = document.createElement("div"); t.id = "textarea"; t.innerHTML = "text"; // ... var u = document.getelementbyid("textarea"); u.innerHTML = "updated text";
  • Can a Module be written for any Bluetooth Device?

    1
    0 Votes
    1 Posts
    1k Views
    T

    I am trying to connect several bluetooth devices and display the data from each device on one central screen (like a hub). I thought the Magic Mirror Platform might be a good solution, but I can’t seem to understand what exactly is needed to write a complete and successful module for just one bluetooth device. What are the requirements an IoT device in order to get it to communicate and display data through the Magic Mirror?

    For example, one device I’m trying to connect is a 3230 Bluetooth Smart Pulse Oximeter from Nonin Meidcal Inc. I am able to see and pair the device with the Raspberry Pi 3 but it has no functionality since I don’t have a program to interact with the device. This is where I was hoping to create a module for the device in order to display its data onto the screen, but again I’m not sure if it’s even possible for this device.

  • Trying to write my own Module...

    Moved
    31
    0 Votes
    31 Posts
    17k Views
    strawberry 3.141S

    @nbrenn the easiest solution without messing with the css around is to create a second module, which is litening on the broadcasts you will send with the data in it from your module you already have

  • Dynamic travel time

    12
    0 Votes
    12 Posts
    8k Views
    D

    @darrene said in Dynamic travel time:

    Solved! I don’t think my code-hacking is going to win any awards for elegance but it works - I get a different message and journey time depending on whether it’s the week or the weekend! :)

    Hi darrene,
    So you just changed the MMM-Traffic.js? Could you upload it for us?
    I like to display the Journey time “home to work” in the morning (for me) and the time “work to home” in the evening (for my family).

  • How to make updateDom actually refresh <img src...>?

    Solved
    5
    0 Votes
    5 Posts
    3k Views
    SnilleS

    Oh, sorry, I completely forgot about this topic. Good that you solved it. :)

  • How to load a <script> src = " " </script> into my mirror?

    Moved
    35
    0 Votes
    35 Posts
    22k Views
    strawberry 3.141S

    @nbrenn

    you are overwriting the innerhtml of the wrapper

  • Displaying a gif file

    3
    0 Votes
    3 Posts
    2k Views
    A

    Sorry, I just put it in wrong. That is why it didn’t work.

  • Help needed simple API based module

    19
    0 Votes
    19 Posts
    8k Views
    ooom416354O

    @cowboysdude yup I agree with that!

  • Bluetooth connections with noble

    8
    0 Votes
    8 Posts
    5k Views
    SvenSommerS

    We were able to solve this issue by ruinning the MM² with sudo-right. See here for details.

  • Airplay 'Now Playing' module - help badly needed

    16
    0 Votes
    16 Posts
    11k Views
    S

    @Brice changes made. Check out the “alignment” config option.

    The hide behaviour is not perfect - takes a few seconds to hide the module - this is because we issue the hide command in case of ‘pfls’ [play flush] and ‘pend’ [play end] metadata commands. Unfortunately, the ‘pfls’ command is followed up with fresh metadata and it takes a few seconds for the ‘pend’ to come from the iPhone.

    Tested with playing and pausing repeatedly.