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
Read the statement by Michael Teeuw here.
Posts made by dominic
-
local pictures, displayed on the mirror.
-
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. -
RE: assign a symbol to a module
Hi ianperrin, thank you :)
Do you knwo, how can i erase the “*” befor the “°C” ?
-
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?
-
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?
-
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!
-
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
-
RE: .txt file include
@strawberry-3.141 HI Thanks. Sorry but, where do I insert the code?
I´m new in this…