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

    Topics

    • A

      IR touch frame

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      1
      0 Votes
      1 Posts
      813 Views
      A
      I want my mirror to be a touch. Is there anything other than an infrared touch frame? If you need to use an infrared touch frame, I want to find a frame of 10 inches or less. help!
    • A

      The mirror is bigger than the monitor.

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      6
      0 Votes
      6 Posts
      3k Views
      CharonBeberC
      Drill holes in the top and in the bottom for a chimney effect. Heat goes always upwards. You can check your temp easy with MMM-stats, it tells you the temp of your cpu and uptime and so on
    • A

      Refresh every day at midnight

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      2
      0 Votes
      2 Posts
      1k Views
      cruunnerrC
      i would use pm2 for that. sudo nano /etc/crontab # /etc/crontab: system-wide crontab # Unlike any other crontab you don't have to run the `crontab' # command to install the new version when you edit this file # and files in /etc/cron.d. These files also have username fields, # that none of the other crontabs do. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # m h dom mon dow user command 17 * * * * root cd / && run-parts --report /etc/cron.hourly 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) 47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ) 52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly ) 59 23 * * * pi pm2 restart mm # should work…
    • A

      wrapper.innerHTML

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      4
      0 Votes
      4 Posts
      3k 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.
    • A

      module hide

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      1
      0 Votes
      1 Posts
      947 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?
    • 1 / 1