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

    Posts

    Recent Best Controversial
    • local pictures, displayed on the mirror.

      Hello guys.
      Is there a modul, with i can load pictures (local path) from my raspbbery to the mirror?
      If not, can someone help me pleas? :)
      Thanks

      posted in Troubleshooting
      D
      dominic
    • RE: assign a symbol to a module

      @Plati i have tried it. But than there will no data displayed.
      @strawberry-3.141 Tahnks for your help, you are great.

      posted in Troubleshooting
      D
      dominic
    • RE: assign a symbol to a module

      0_1473721691593_Unbenannt.png

      Hi ianperrin, thank you :)

      Do you knwo, how can i erase the “*” befor the “°C” ?

      posted in Troubleshooting
      D
      dominic
    • RE: assign a symbol to a module

      @yawns Hi, Thanks it works.
      I have an other question.

      how can I get the values ​​, that they will displayed in two lines?

      posted in Troubleshooting
      D
      dominic
    • RE: assign a symbol to a module

      @yawns said in assign a symbol to a module:

      getDom: function() {
      var wrapper = document.createElement(“div”);

      var symbol = document.createElement(“span”);
      symbol.className = “fa fa-home”;
      wrapper.appendChild(symbol);

      return wrapper;
      }

      Thanks. When i add the code, i have the “house” but i have a getdom function with the following code…

      getDom: function(){
      		
      		var wrapper = document.createElement("div");
      		if(this.dataFile){
                              var humidityRegExp = /Humidity = (.*?) %/ig;
                              var humidity = humidityRegExp.exec(this.dataFile)[1];
      
                              var temperatureRegExp = /Temperature = (.*?) *C/ig;
                              var temperature = temperatureRegExp.exec(this.dataFile)[1];
      			wrapper.innerHTML = "r.F.: " + humidity + "%, Temp.: " + temperature + "°C";
      		} else {
      			wrapper.innerHTML = "No data";
      		}
      		return wrapper;
      	},
      

      …how do I implement the code in this?

      posted in Troubleshooting
      D
      dominic
    • RE: assign a symbol to a module

      @strawberry-3.141 said in assign a symbol to a module:

      getStyles: function () {
      return [“font-awesome.css”];
      },

      I add:

       var header = document.createElement("header");   // in the getdom function and 
      
      getStyles: function () {
              return ["font-awesome.css"];
      },
      

      in the .js file. And now I have to do ?

      how do i musst edit the config file ?


      Note from admin: Please use Markdown on code snippets for easier reading!

      posted in Troubleshooting
      D
      dominic
    • assign a symbol to a module

      Hello everyone :)
      How can I assign a symbol to a module?
      I have a modul which displayed some info´s for me.
      Now i want to add a Symbol to this modul,
      similar to the calender modul symbol. ( The modul has no .css file only .js files.)
      But I don´t know how I get it.
      Can someone help me?

      sorry for my bad endglisch and Greetings from Germany

      posted in Troubleshooting
      D
      dominic
    • RE: .txt file include

      @strawberry-3.141 Yeah :) Thanks :)

      posted in Troubleshooting
      D
      dominic
    • RE: .txt file include

      @strawberry-3.141 HI Thanks. Sorry but, where do I insert the code?
      I´m new in this…

      posted in Troubleshooting
      D
      dominic
    • RE: .txt file include

      @strawberry-3.141 Hi, do you have any idea?

      posted in Troubleshooting
      D
      dominic
    • 1
    • 2
    • 3
    • 4
    • 5
    • 3 / 5