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

    Posts

    Recent Best Controversial
    • RE: Modul Plug in RNV Abfrage

      Ok, understood. I don’t know if I find the time tomorrow. Maybe I have to wait until Wednesday to continue with the module. I keep you posted

      posted in Requests
      yawnsY
      yawns
    • RE: Medos Bathroom Mirror

      Haha, sounds like my wife.

      posted in Show your Mirror
      yawnsY
      yawns
    • RE: Error found: Error: Module version mismatch. Expected 50, got 46.

      please run npm list, which electron version are you running?

      If it is 1.4 then please run

      npm rebuild --runtime=electron --target=1.4.0 --disturl=https://atom.io/download/atom-shell --build-from-source

      posted in Troubleshooting
      yawnsY
      yawns
    • RE: Error found: Error: Module version mismatch. Expected 50, got 46.

      Open a terminal, change into the MMM-Button folder and run this:
      npm rebuild --runtime=electron --target=1.3.4 --disturl=https://atom.io/download/atom-shell --abi=50

      posted in Troubleshooting
      yawnsY
      yawns
    • RE: Modul Plug in RNV Abfrage

      The vendor provided an api-key really fast and sending queries to their server is somehow simple. To go on I need a more detailed description of what you want to see on your mirror.

      posted in Requests
      yawnsY
      yawns
    • RE: Refresh Hello World module

      Hi,

      simplest way is to create a new module. So you don’t run into update problems in the future if someone changes the original hello world module.

      Copy the whole helloworld folder from modules/default/ to modules/ and rename it to something different, lets say “mmm-iframe”.

      1. Rename the folder itself to mmm-iframe
      2. Rename the helloworld.js file to mmm-iframe.js

      Then overwrite the content of mmm-iframe.js with this:

      /* global Module */
      
      /* Magic Mirror
       * Module: mmm-iframe
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       */
      
      Module.register("mmm-iframe",{
      
      	// Default module config.
      	defaults: {
      		text: "Hello World!",
      		animationSpeed: 1000,
      	},
      
      	start: function() {
      		Log.info('Starting module: ' + this.name);
      		var self = this;
      		setInterval(function() {
      			self.updateDom();
      		}, this.config.animationSpeed);
      
      	},
      
      	// Override dom generator.
      	getDom: function() {
      		var wrapper = document.createElement("div");
      		wrapper.innerHTML = this.config.text;
      		return wrapper;
      	}
      });
      
      1. Now update your config file and replace the helloworld entry to load the mmm-iframe module instead.

      I did not test this, I don’t have a magicmirror available currently, but this should get you going.

      posted in Troubleshooting
      yawnsY
      yawns
    • RE: Black screen for copy of hellowold module

      So you created a copy of the helloworld module and moved it to modules/Titus?
      Then you renamed helloworld.js to Titus.js?
      Did you modify Titus.js and changed this line
      javascript Module.register("helloworld",{
      to
      javascript Module.register("Titus",{
      to tell MagicMirror there is a new module called Titus?

      posted in Troubleshooting
      yawnsY
      yawns
    • RE: Medos Bathroom Mirror

      Good job. Very detailed description and the end result is very nice!

      posted in Show your Mirror
      yawnsY
      yawns
    • RE: MMM-Tube-Status (London Underground)

      @djbenny07
      enter the MMM-Tube-Status folder and run git pull, that should pull all changes from github
      If you run the clone command again it will tell you the target directory already exists

      posted in Transport
      yawnsY
      yawns
    • RE: Trouble changing to 12 hour time and to Fahrenheit.

      Looks fine to me except for the last line. The ’ ’ around undefined are not the right ones. But that could be a copy and paste problem. I don’t have a computer with MagicMirror currently, so I can’t test your config file right now.

      posted in Troubleshooting
      yawnsY
      yawns
    • 1
    • 2
    • 86
    • 87
    • 88
    • 89
    • 90
    • 96
    • 97
    • 88 / 97