@chef i have been using MMM-ImagesPhotos or MMM-ImageSlideshow and don’t see the out of memory issue… don’t have any gifs in the image list tho
Read the statement by Michael Teeuw here.
Best posts made by sdetweil
-
RE: EyeCandy and out-of-memory
-
RE: read csv-data and put it in an array
@Perlchamp cool, now you’ve collected the data… you should be able to see the results on the exit from the notification handler…
now to tell MM to come get the stuff to display…
thats the self.updateDom() call
hey MM, get my stuff
then MM will call getDom()
I have implemented the module too
getDom: function() { var wrapper = document.createElement("div"); for(var birthday of Object.keys(this.active_birthdays)){ for(var name of this.active_birthdays[birthday]){ var m=document.createElement('div') m.innerText=birthday + ' '+ name wrapper.appendChild(m) } } // pass the created content back to MM to add to DOM. return wrapper; },
-
RE: My Look Ahead board
@ankonaskiff17 said in My Look Ahead board:
I can tell you PM2 RESTART MM is seared in to my brain.
if u are only changing the css/browser side, ctrl-r will reload the screen without restart
f5 if you are on the developers window side… no restart required -
RE: Weather station for MagicMirror and SmartHome wanted
@jakobeadonis nice hardware setup but primative software compared to MagicMirror capabilities
-
RE: Raspberry 2 clean install showing as black screen
there is a bug in the electron browser that causes the black screen.
i did
npm remove electron
npm install electron@1.7.9and it works fine now…
someone posted another solution to issue 1243
-
RE: Compliments - Multi Line not working?
new line has no meaning in a textElement
replace the getDom function in compliments.js with this// Override dom generator. getDom: function() { var wrapper = document.createElement("div"); wrapper.className = this.config.classes ? this.config.classes : "thin xlarge bright pre-line"; // get the compliment text var complimentText = this.randomCompliment(); // split it into parts on newline text var parts= complimentText.split('\n') // create a span to hold it all var compliment=document.createElement('span') // process all the parts of the compliment text for (part of parts){ // create a text element for each part compliment.appendChild(document.createTextNode(part)) // add a break ` compliment.appendChild(document.createElement('BR')) } // remove the last break compliment.lastElementChild.remove(); wrapper.appendChild(compliment); return wrapper; },
then u can use ‘\n’ in the text to split a line like this
compliments: { anytime: [ "Hey there\n sexy!" ], morning: [ "Good morning, handsome!", "Enjoy your day!", "How was your sleep?" ], afternoon: [ "Hello, \nbeauty!", "You look sexy!", "Looking good today!" ], evening: [ "Wow, you \nlook hot!", "You look nice!", "Hi,\nsexy!" ] },
-
RE: MM not starting anymore | new SD-Card
@schmaniel cards are fragile… never power off before shutdown.
don’t know if u can save anything
use my install script after building new OS card
-
RE: Error Installing Dependencies Permission Denied
you can’t install in Desktop… its protected…
use your home folder… then make a shortcut to start the mirror