SOLVED Change Compliments
-
I would like to change the default compliments but dont see them under compliments module. Or do i need to add the config shown in compliments page.
-
Yes, you need to create them within config.js
This is my config (replace ‘bla bla bla’ as you want):
module: "compliments", position: "lower_third", config: { compliments: { morning: [ "bla bla bla", "bla bla bla" ], afternoon: [ "bla bla bla", "bla bla bla" ], evening: [ "bla bla bla", "bla bla bla" ] }, updateInterval: 30000, remoteFile: null, fadeSpeed: 4000, morningStartTime: 3, morningEndTime: 12, afternoonStartTime: 12, afternoonEndTime: 17 } },
Please mark answer as correct and topic as Solved (if this solved your issue)
-
Or, use a remote file (as per the compliments readme) so as not to encumber the config.js file with a lengthy entry.
-
OR just use another module…
-
@thestigh I’ll try this. It looks different then what is supplied by MM. I think i have the syntax wrong and haven’t learned yet how to do the coding. Thanks.
-
@dgregory19 As @Mykle1 stated, there is another way.
Personally, I prefer to have all custom configurations in one single file
config.js
and all custom css in thecustom.css
, by this I can add/remove/replicate configurations/modules installed from device to device. Makes it easy to backupAnother tip;
Above each module inconfig.js
, you can adddisabled: false / true,
to temporarily make a module not load on MM. Like this:{ disabled: false, module: 'MMM-Remote-Control' },
If you need anymore help, please let me know.
-
Thanks everyone! Figured it out. Onto breaking something else…