Read the statement by Michael Teeuw here.
I need help with editing configs (mainly the compliments)
-
I am very new to Linux and the raspberry pi. I was inspired to build a smart mirror so I got everything set up right, I installed Magic Mirror and then I hit a wall. I don’t quite understand on how to edit the configs, I am specifically trying to edit what the compliments say and get them to fade after 5 seconds. Can someone explain to me how I go about doing this?
-
@chaseb1357 said in I need help with editing configs (mainly the compliments):
Can someone explain to me how I go about doing this?
The readme for the compliments module has all the information you need. I suggest you read it. With that, here is one way of adding compliments, in your config entry. However, this way can make your config cumbersome, but it does work. The readme explains how to use a
remote file
so you don’t fill up your config with compliments.
https://github.com/MichMich/MagicMirror/tree/develop/modules/default/complimentsAnd here is a config entry you can use. See how I added compliments to the file? Just follow that format and you’ll be fine.
{ module: "compliments", position: "lower_third", config: { updateInterval: 5000, fadeSpeed: 1000, compliments: { anytime: [ "Hey there sexy!", "RTFM!", "The readme will help!", "Last one no comma" ], morning: [ "Good morning, handsome!", "Enjoy your day!", "How was your sleep?", "Last one no comma" ], afternoon: [ "Hello, beauty!", "You look sexy!", "Looking good today!", "Last one no comma" ], evening: [ "Wow, you look hot!", "You look nice!", "Hi, sexy!", "Add your own like this!", "Watch your formatting!", "Last one no comma" ] } } },
You can copy and paste it and edit it if you like.
Then read the readme! ;-)
-
@chaseb1357 said in I need help with editing configs (mainly the compliments):
get them to fade after 5 seconds.
The
updateInterval: 5000,
is in milliseconds, so 5000 = 5 seconds. You change that to set the time that a new compliment appears -
@Mykle1 Works like a charm, thank you for the guidance!
-
You’re welcome. Enjoy your mirror