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: How do I edit config, I see every new module starts whit going to config.js

      @KMH0

      1. open a terminal type in cd ~/MagicMirror/config to change directory
      2. nano config.js
      3. After you made your changes press ctrl+x and confirm
      4. change directory to parent directory cd ..
      5. start the mirror npm start
      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: NHL Module

      the first prototype is nearly finished for the nhl module

      posted in Requests
      strawberry 3.141S
      strawberry 3.141
    • RE: Throwing down the gauntlet

      @jproehl custom.css

      .newsfeed div.light.small.dimmed {
        color: #e54a1b;
        font-size: 9px;
      }
      
      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: Garage Door Detectors

      @istepgueu

      Module.register("MMM-door-sensor",{
      
      	// Default module config.
      	defaults: {
      		text: "Hello World!"
      	},
      
      	// Define start sequence.
      	start: function() {
      		Log.info("Starting module: " + this.name);
      	},
      
      	notificationReceived: function(notification, payload, sender) {
      		if (sender) {
      			Log.log(this.name + " received a module notification: " + notification + " from sender: " + sender.name);
      			if (notification === "DOOR_STATE") {
      
      				this.door_state = payload;			
      	
      				this.updateDom();				
      			
      			}
      		} 
      		
      	},
      
      
      	getDom: function() {
      
      		var wrapper = document.createElement("div");
      if(this.door_state){
      		wrapper.innerHTML = '<img src=" + this.door_state + " />';
      } else {
      		wrapper.innerHTML = 'No door state present.';
      }
      		return wrapper;
      	}
      });
      

      config mmm-button

      {
                      pin: 24,
                      name: "power",
                      longPress: {
                          title: "Power off",
                          message: "Keep pressed for 3 seconds to shut down",
                          imageFA: "power-off",
                          notification: "DOOR_STATE",
                          payload: "close.png"
                      },
                      shortPress: undefined
                  }
      

      you would therefore need a button released to send open.png

      posted in Requests
      strawberry 3.141S
      strawberry 3.141
    • RE: Controlling Embedded Youtube Video on MM

      @zichao92 not only you had some more issues and sendCommand is a custom method

      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: Vocabulary trainer

      there is a first prototype on the develop branch

      git clone https://github.com/fewieden/MMM-VocabularyTrainer.git
      cd MMM-VocabularyTrainer
      git checkout develop
      

      Prototype

      [card:fewieden/MMM-VocabularyTrainer]

      posted in Requests
      strawberry 3.141S
      strawberry 3.141
    • RE: Electron CPU usage

      @Mykle1 you can go to every commit you’d like to go, but it’s easier to choose a specific tag

      git clone ...
      git checkout v2.1.0
      
      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: Bring!

      @P-Bo726 if they won’t do it, there are also possibilities to reverse engineer their api

      posted in Requests
      strawberry 3.141S
      strawberry 3.141
    • RE: remoteFile in compliments module

      @Lahim because you changed the context by removing the arrow function, to preserve the context you have to do something like:

       if (this.config.remoteFile != null) {
        var self = this;
        this.complimentFile(function(response){
          self.config.compliments = JSON.parse(response);
        });
      }
      
      posted in Troubleshooting
      strawberry 3.141S
      strawberry 3.141
    • RE: WE WANT YOU! [New Moderators]

      I can recommend @yawns and @ianperrin for this positions.

      They helped a lot and made also some excellent modules.

      posted in Forum
      strawberry 3.141S
      strawberry 3.141
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 53
    • 54
    • 4 / 54