A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Playing spotify on mediacenter, also playing same on the mirror.

    2
    0 Votes
    2 Posts
    1k Views
    KimzerK

    Sorted it out. Used Airfoil on windows and made my PI an Airplay client.

  • Countdown Module?

    8
    0 Votes
    8 Posts
    4k Views
    cowboysdudeC

    Here is what I did to get the seconds actually ‘ticking’ instead of just sitting there:

    Module.register("MMM-CountDown", { // Default module config. defaults: { doomsDay: "2018-03-01 24:00:00", // YYYY-MM-DD HH:MM:SS updateInterval: 1000, toWhat: "Leaving for Paris!", singular: "Left ", plural: "Left", present: "Let's Fly!", timesUp: "death and despair, your time is up." }, // Define start sequence. start: function() { var self = this; Log.info("Starting module: " + this.name); setInterval(function() { self.updateDom(); }, this.config.updateInterval); }, // Define required styles getStyles: function () { return ["MMM-CountDown.css"]; }, // Override dom generator. getDom: function() { var doomsDay = new Date(this.config.doomsDay); var now = new Date(); var timeparser = Date.parse(doomsDay) - Date.parse(now); var weeks = Math.floor(timeparser / (1000 * 60 * 60 * 24 * 7)); var days = Math.floor((timeparser % (1000 * 60 * 60 * 24 * 7)) / (1000 * 60 * 60 * 24)); var hours = Math.floor((timeparser % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); var minutes = Math.floor((timeparser % (1000 * 60 * 60)) / (1000 * 60)); var seconds = Math.floor((timeparser % (1000 * 60)) / 1000); if (this.config.updateInterval == 1000) { daysLeft = weeks + " W " + days + " D " + hours + " H " + minutes + " M " + seconds + " S "; } else { daysLeft = weeks + " W " + days + " D " + hours + " H " + minutes + " M "; } var wrapper = document.createElement("div"); var headerD = document.createElement("span"); headerD.innerHTML = this.config.toWhat + "<br />"; headerD.className = "doooom"; if (daysLeft == 0) { var daysLeft = document.createElement("span") timeLeft.innerHTML = this.config.present; timeLeft.className = "timeLeft"; } else if (daysLeft == 1) { var timeLeft = document.createElement("span"); timeLeft.innerHTML = daysLeft + " " + this.config.singular; timeLeft.className = "timeLeft"; } else if (daysLeft >= 2) { var timeLeft = document.createElement("span"); timeLeft.innerHTML = daysLeft + " " + this.config.plural; timeLeft.className = "timeLeft"; } else { var timeLeft = document.createElement("span") timeLeft.innerHTML = daysLeft + " " + this.config.plural; timeLeft.className = "timeLeft"; } wrapper.appendChild(headerD); wrapper.appendChild(timeLeft); return wrapper; }} );

    And in your config file change your updateInterval to 1000 if you want it to actually tick seconds or use the other format and it will not show the seconds because it just updates when the interval was called so instead of seeing

    S 20… then update S 7…

    It looks much cleaner to either have the seconds and they work or don’t have them… just my 2 cents… but the above code will make the seconds actually work.

  • Bell Schedule for School

    2
    0 Votes
    2 Posts
    1k Views
    J

    @westernb There is a countdown module that already exists that might give your your “5 minutes left in class” (although I haven’t used it, so I’m not sure if it only counts days).

    As for the bell schedule, maybe this does what you need

  • Countdown calendar module for things such as Trash / Recycling pickup

    3
    1 Votes
    3 Posts
    2k Views
    O

    I was able to modify the CSV file in this module to make it work!
    https://forum.magicmirror.builders/topic/2731/mmm-mywastepickup-toronto-waste-collection-schedule/6
    0_1499691695706_Screen Shot 2017-07-10 at 8.56.56 AM.png

  • Tv Shows Tracker

    4
    0 Votes
    4 Posts
    3k Views
    V

    thank you both!

  • Daily Web Comics

    2
    0 Votes
    2 Posts
    1k Views
    cowboysdudeC

    @Spankythemusical If there’s an api for it, yes.

    Try this:

    https://github.com/cowboysdude/MMM-Comic

    You can get Calvin and Hobbes or Frazz comic strip…

  • Subreddit feed?

    2
    0 Votes
    2 Posts
    1k Views
  • Visualizer Widget for when music plays.

    1
    0 Votes
    1 Posts
    926 Views
    S

    I think it would be cool to have a widget that plays a music visualizer whenever music plays. Whether that be through a music service like Soundcloud or a alarm clock, it would be pretty cool. Customization would, of course, be included, such as the shape and color of it.

    For example of what I’m talking about: http://undefinist.deviantart.com/art/VisBubble-Round-Visualizer-for-Rainmeter-488601501

  • Limit access to module generated sub-sites

    1
    0 Votes
    1 Posts
    1k Views
    rudibaraniR

    Hi @ItayXD and @Jopyth,
    I have a question relevant to the modules MMM-AdminInterface and MMM-Remote Control you developed:

    Is there a way to limit access to the Admin Interface/Remote Control panel independent of the global whitelist? I would like to limit access to both sites to my own devices while keeping a longer whitelist for the screen itself.

    Thanks a lot for your work and ideas to go forward.

  • Different sleep function

    10
    0 Votes
    10 Posts
    6k Views
    D

    @yawns
    I tried that one but can`t find the right install file to put it on…!
    I used the V59 version

  • Default Calendar

    2
    0 Votes
    2 Posts
    1k Views
    C

    They are working on MMM-MyCommute + Calendar integration.
    https://github.com/jclarke0000/MMM-MyCommute/pull/1

  • Tour de France Module

    1
    1 Votes
    1 Posts
    915 Views
    S

    Would be great to develop a module for the upcoming tour de france similar to the NFL ones and the one that was developed for the Olympics last year. My simple workaround will be to do an iframe showing the leader board and also have a news feed looking for news about the tour. Would be a great module though if anyone has any skills

  • Bus times for skyss.no covering bergen norway

    1
    0 Votes
    1 Posts
    932 Views
    KimzerK

    Any chance anyone would be able to do this?

  • Youtube TV

    4
    0 Votes
    4 Posts
    4k Views
    L

    @tajno I’m pretty late to the party, but would you please share your source code and configuration that you use to do this? Thanks!

  • Google assistant / google home

    1
    0 Votes
    1 Posts
    2k Views
  • Etherum price ticker

    3
    0 Votes
    3 Posts
    1k Views
    foxF

    @Anhalter42 danke dir.
    Thank you. I will have a look cheers

  • Foodtracker (calorie intake)

    2
    0 Votes
    2 Posts
    1k Views
    SexyTroggS

    I know this isn’t 100% what you’re looking for but I use the Fitbit App (downloaded on Google Play or iStore) to track my calories. You can scan barcodes of food and it will bring up all its information. From there I also use the MMM-Fitbit module (https://github.com/SVendittelli/MMM-fitbit) to display that information (and more) on my mirror.
    Sure you need a fitbit for half of this to work(Fitbit app works without a fitbit), but it is another solution if you dont find anything else.

  • 0 Votes
    1 Posts
    731 Views
    M

    [ auto subway maker ] – * any recommendation of what can make some sort of food making machine?

    a cookware is anything that can help make food

    mini-microoven blender frozen subway deforester in 1 minute etc. please recommend an auto-smoothie machine (self-cleaning), or frozen subway defroster (in 30s flat!), or amazing 3D printing of fancy food in 2017?
  • Local Video Module

    3
    1 Votes
    3 Posts
    2k Views
    R

    @broberg How do I get a local file to become a link? Setting the file to open in Chromium then changing “videoSRC” to the file’s path does not work.