MagicMirror² v2.4.1 is available! For more information about this release, check out this topic.
Please read the release notes carefully since this update requires adjustments to your Raspberry Pi configuration!

remoteFile compliments



  • I can’t seem to figure out the code for remoteFile.

    In config.js
    {
    module: “compliments”,
    position: “lower_third”,

       config: {
                     updateInterval: 1500,
                     remoteFile: "compliments.json"
       }
    

    The path for compliments.json is:
    ~/MagicMirror/modules/default/compliments


  • Module Developer

    @austenzombie7

    Your entry looks ok, aside from the missing closed curly bracket and comma }, that should appear at the end, after the last curly close bracket in your post above.

    One question, are you sure about that updateInterval: 1500,? That’s only 1.5 seconds before a new compliment will appear. The default fade speed for the module is 4 seconds, so your compliments are fading well before they even appear.

    Try updateInterval: 30000, - That’s 30 seconds