Ok so here’s what I did to get that going
- At first created my own .json file named “custom_complis.json” at the following path
/MagicMirror/modules/default/compliment
-
Added my compliments to the external file by using the syntax described here https://github.com/MichMich/MagicMirror/tree/develop/modules/default/complimentst
-
Changed my config.js to…
{
module: "compliments",
position: "lower_third",
updateInterval: '20000',
config: {
remoteFile: 'custom_complis.json'
}
},
- Restart MM
- At this point the “umlauts” we’re still shown as unknown characters
- Connected myself to the pi via WinSCP and browsed to my custom .json file
- Opened my “custom_complis.json” file with notepad++ and changed the encoding to “UTF-8”
- Restart MM -> Working
Thank you