MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. lkthomas
    3. Topics
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    L
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 11
    • Posts 30
    • Groups 0

    Topics

    • L

      suddenly the screen can't turn on

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      15
      0 Votes
      15 Posts
      4k Views
      S
      @lkthomas yes @schris88 gave you a solution that you can’t use.
    • L

      where is that "{DEGREE}" coming from?

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      11
      1
      0 Votes
      11 Posts
      2k Views
      L
      @sdetweil I will have a look when I have time, for now, I just removed {DEGREE} string from en.json and called it a day, thanks.
    • L

      From JSON to display on MM

      Watching Ignoring Scheduled Pinned Locked Moved Development
      2
      0 Votes
      2 Posts
      402 Views
      S
      @lkthomas said in From JSON to display on MM: which module should I use as an example for JSON iteration? How could I filter the closest timestamp with current time then display it in minute on MM? there is an array filter function you pass in the array, the logic looks at each element one by one… true means keep it in the results, false say don’t keep it. the resulting array is the good subset of the total javascript and json are very close friends. url get request can return a javascript object of the json text … then u can pass the array part (data I think from your sample) to the filter… if you use fetch , you can do this in the browser side of the module, otherwise have to use a helper… https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch fetch('http://example.com/movies.json') .then((response) => response.json()) .then((data) => console.log(data)); data is now a js object of the json text see my sample module for building a starter… https://github.com/sdetweil/SampleModule the browserside of the module (I call it modulename.js, cause its name MUST match the name of the module, and it has to be in a folder called the exact same) creates a small segment of html content (either text or actual DOM nodes) … and gives that to MM when requested (the getDom() function) and MM will put the content where u configured the module to have its content shown. so folder, modulename.js and modulename all match if you do the fetch on a timed cycle, once u have the data, call updateDom() to inform mm your module has new content, then mm will call your getDom() to get the new content. getDom() either creates the content or knows where the previously created content is.
    • L

      remove a module forever after a specific date and time

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      5
      0 Votes
      5 Posts
      922 Views
      Y
      @lkthomas said in remove a module forever after a specific date and time: @fozi I have a countdown to some event that is a one-off in my life, so after that date in a specific year (which cron can’t do a specific year), then that module will need to remove forever. thanks for the awesome information.
    • L

      Sweeping second hand on the clock?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      0 Votes
      4 Posts
      390 Views
      S
      @lkthomas ah. I did not read that in your prior text. U will have to change the animation css to use many more smaller steps… caution, that will consume a lot of cpu power, and may not leave enough for other requirements on some processors
    • L

      MMM-cryptocurrency ETHBTC price?

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      1
      0 Votes
      1 Posts
      197 Views
      L
      is that possible to display ETHBTC with MMM-cryptocurrency? Link: https://github.com/matteodanelli/MMM-cryptocurrency
    • L

      shade don't align with clock

      Watching Ignoring Scheduled Pinned Locked Moved Custom CSS
      2
      1
      0 Votes
      2 Posts
      778 Views
      L
      .clock .bright { font-size: 120px; padding-bottom: 20px; } fixed!
    • L

      align two modules height

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      1
      0 Votes
      1 Posts
      515 Views
      L
      module: "currentweather", position: "bottom_left", module: "weatherforecast", position: "bottom_right", How could I align both modules height?
    • L

      how to adjust brightness based on time on RPi3?

      Watching Ignoring Scheduled Pinned Locked Moved Solved Troubleshooting
      7
      0 Votes
      7 Posts
      3k Views
      L
      all good! thanks, I missed the dependencies installation section.
    • L

      MMM-WeatherBackground question

      Watching Ignoring Scheduled Pinned Locked Moved Solved Troubleshooting
      7
      0 Votes
      7 Posts
      2k Views
      M
      @Sean said in MMM-WeatherBackground question: Sorry for incomplete information on repository. Don’t worry. It was just to contribute!
    • L

      first installation on RPi3 failed

      Watching Ignoring Scheduled Pinned Locked Moved Solved Troubleshooting
      6
      0 Votes
      6 Posts
      2k Views
      L
      looking okay after reboot, thanks
    • 1 / 1