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

    Posts

    Recent Best Controversial
    • RE: MMM-voice

      @Nonamexp are you running the installer as root? all the directories in the screenshot are in root

      posted in Utilities
      strawberry 3.141S
      strawberry 3.141
    • RE: Does anyone know how to make the iFrame module refresh periodically?

      @PeppaPigKilla the code that was added by you is after the return, so the code will never be reached.

      I suggest an interval which calls updateDom, which will be created after the DOM_OBJECTS_CREATED broadcast

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-Ruter (for Oslo and Akershus in Norway)

      @laumb cd ~/MagicMirror/modules/MMM-Ruter then git pull

      posted in Transport
      strawberry 3.141S
      strawberry 3.141
    • RE: Compliments not displaying

      @l1613532 this code isn’t working properly, you have to do

      if (this.config.remoteFile != null) {
        var self = this;
        this.complimentFile(
          function(response){
            self.config.compliments = JSON.parse(response);
           });
      }
      
      posted in Development
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-voice

      @Mykle1 There was once a fairytale, where a mirror took place

      Solution will follow on sunday.

      posted in Utilities
      strawberry 3.141S
      strawberry 3.141
    • RE: Compliments module stops cycling compliments

      @maxfarrior you’re right that is a bug.

      The way javascript handles variables are usually call by value, but for objects (this includes arrays) it is call by reference.

      So what happens in line 104 is the following: The variable compliments doesn’t get cloned, so that the values are equal. What happens is they are the same array and point to the same reference to the memory. That means in the following lines not only compliments get changed, also this.config.compliments.afternoon gets changed.

      So in the beginning your config looks like that

      config: {
        compliments: {
          afternoon: ["I'm the only one here"],
          anytime: ["I'm getting repeated"]
        }
      }
      

      after the first iteration it looks like this

      config: {
        compliments: {
          afternoon: ["I'm the only one here", "I'm getting repeated"],
          anytime: ["I'm getting repeated"]
        }
      }
      

      after the second

      config: {
        compliments: {
          afternoon: ["I'm the only one here", "I'm getting repeated", "I'm getting repeated"],
          anytime: ["I'm getting repeated"]
        }
      }
      

      and so on …

      So to fix that, we have to create a real clone not only a pseudo one.

      I already created a bugfix for that here

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-Fuel

      Version 2.1.2

      Added

      • Config option showDistance https://github.com/fewieden/MMM-Fuel/pull/49
      • Missing jsdoc documentation

      Changed

      • Dependency update

      Fixed

      • Deinit map had a hardcoded index for markers.

      https://github.com/fewieden/MMM-Fuel

      [card:fewieden/MMM-Fuel]

      posted in Transport
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      plans are:

      • i18n
      • integration of my voice recognition module (also wip), this goes with more use of the api like fixtures etc.
      • cup support
      • smaller screen support

      probably I’m going one step back and will put league codes configurable again

      posted in Sport
      strawberry 3.141S
      strawberry 3.141
    • RE: Magic Mirror on an iPad?

      @ibuildmirror you have to run the magicmirror in serveronly mode on a device and access the mirror via safari on your ipad

      posted in Tutorials
      strawberry 3.141S
      strawberry 3.141
    • RE: MMM-AlarmClock

      Just released version 2.0.1

      • Fixed sound fading for alerts
      • Added Korean translations

      https://github.com/fewieden/MMM-AlarmClock

      [card:fewieden/MMM-AlarmClock]

      posted in Utilities
      strawberry 3.141S
      strawberry 3.141
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 53
    • 54
    • 6 / 54