@strawberry-3.141 Sure, I placed the compliments.json file in ~/MagicMirror/modules/default/compliments directory.
My config.js is as follows:
{
module: 'compliments',
position: 'lower_third',
config: {
remoteFile: 'compliments.json'
}
},
My compliments.json file is set up with currentweather arrays:
{
"day_sunny" : [
"The sun is shining today!",
"It\'s such a beautiful day",
"It\'s gorgeous outside, go play!"
],
"day_cloudy" : [
"It\'s cloudy out there, but no meatballs",
"It may be cloudy, but it\'s still nice out!",
"The sun is hiding right now"
],
"cloudy" : [
"Good morning, sunshine!",
"Who needs coffee when you have your smile?",
"Go get 'em, Tiger!"
],
"cloudy_windy" : [
"Good morning, sunshine!",
"Who needs coffee when you have your smile?",
"Go get 'em, Tiger!"
],
"showers" : [
"Good morning, sunshine!",
"Who needs coffee when you have your smile?",
"Go get 'em, Tiger!"
],
"rain" : [
"Take your umbrella with you.",
"It's wet out there, drive safe!",
"It's rainy outside, but you brighten my day."
],
"thunderstorm" : [
"Good morning, sunshine!",
"Who needs coffee when you have your smile?",
"Go get 'em, Tiger!"
],
"fog" : [
"Good morning, sunshine!",
"Who needs coffee when you have your smile?",
"Go get 'em, Tiger!"
],
"night_clear" : [
"You made someone smile today, I know it.",
"You are making a difference.",
"The day was better for your efforts."
],
"night_cloudy" : [
"Good morning, sunshine!",
"Who needs coffee when you have your smile?",
"Go get 'em, Tiger!"
],
"night_showers" : [
"Good morning, sunshine!",
"Who needs coffee when you have your smile?",
"Go get 'em, Tiger!"
],
"night_rain" : [
"Good morning, sunshine!",
"Who needs coffee when you have your smile?",
"Go get 'em, Tiger!"
],
"night_thunderstorm" : [
"It\'s a stormy night, don\'t be scared",
"Thunderstorms tonight, Oliver\'s covering his ears"
],
"night_alt_cloudy_windy" : [
"Good morning, sunshine!",
"Who needs coffee when you have your smile?",
"Go get 'em, Tiger!"
]
}
I started filling in custom messages, then decided to copy/paste them all just in case it didn’t work. See anything I’m doing wrong? Thanks!