I’ve read the other posts, not sure I found all of them, and I"m still having a little problem. I can’t seem to get the right path to my compliments.json file. I have to admit I’m a bit rusty on my linux and doing things with the command path.
I notice the magic mirror config.js has base path is “/”
I’m going to assume that is the magic mirror directory itself and all things are supposed to run relative to that.
here is my issue:
I have the compliments.json located in the mirror’s config folder (I figured that would be the safest place to put it so it won’t get overwritten if I update anything. )
so in the config.js in the modules section for compliments I tried
remoteFile: ‘/mounts/config/compliments.json’
remoteFile: ‘/config/compliments.json’
remoteFile: ‘compliments.json’
remoteFile: ‘/home/pi/magicmirror/mounts/config/compliments.json’
none of those paths worked…
so please help me out. I’m guessing I need a relative path instead of absolute, or I’m adding or not adding a slash or something.
(I’m not breaking the module, so I think I"m just not getting to my compliments.json at all and the compliments module is just defaulting)