A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Help customizing compliments
-
Hey guys! new here to the forums and I need some help :(
Recently built my first magic mirror and I need some help customizing the compliments. I’ve editing it in my config but always find a way to mess it up and revert back to the default compliments. Some questions i have are: Can there only be 3 compliments per time of day? is it possible to add gifs to the MM?
Here is my config so u guys can help me out :) Thanks for your help in advance!
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var config = { port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], language: 'en', timeFormat: 12, units: 'metric', modules: [ { module: 'alert', }, { module: "updatenotification", position: "top_bar" }, { module: 'clock', position: 'top_left' }, { module: 'compliments', position: 'lower_third' }, { module: 'currentweather', position: 'top_right', config: { location: 'Toronto', locationID: 'xxxxxx', //ID from http://www.openweathermap.org appid: 'xxxxxx' } }, { module: 'weatherforecast', position: 'top_right', header: 'Weather Forecast', config: { location: 'Toronto', locationID: 'xxxxxx', //ID from http://www.openweathermap.org appid: 'xxxxxxx' } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;}
-
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var config = { port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], language: 'en', timeFormat: 12, units: 'metric', modules: [ { module: 'alert', }, { module: "updatenotification", position: "top_bar" }, { module: 'clock', position: 'top_left' }, { module: 'compliments', position: 'lower_third', config: { compliments: { morning: [ 'Good morning, handsome!', 'Enjoy your day!', 'How was your sleep?', ], afternoon: [ 'Hello, beauty!', 'You look sexy!', 'Looking good today!', ], evening: [ 'Wow, you look hot!', 'You look nice!', 'Hi, sexy!', ] } } }, { module: 'currentweather', position: 'top_right', config: { location: 'Toronto', locationID: 'xxxxxx', //ID from http://www.openweathermap.org appid: 'xxxxxx' } }, { module: 'weatherforecast', position: 'top_right', header: 'Weather Forecast', config: { location: 'Toronto', locationID: 'xxxxxx', //ID from http://www.openweathermap.org appid: 'xxxxxxx' } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;}
Just alter the compliments above between the two
'
add a,
after each row when you add more complimentsYou can add any media you want, if you want a simple gif/jpg to display somewhere then MMM-SimpleLogo will do just that
-
@broberg thanks! worked like a charm :)