Can't configure Compliments Module



  • Hello all,
    I can’t for the life of me edit the compliments properly. I’ve been cutting and pasting and nothing is working. I get the missing config.js file missing message after a reboot. Any suggestions?



  • Another question; how does one edit font sizes and finer details?


  • Moderator

    position: “lower_third is missing a comma at the end



  • @yawns I just saw this in another post I was looking at! I can’t believe how much time I spent on this!


  • Moderator

    Yeah, sometimes these small mistakes can be really frustrating.



  • Actually, there is a better way to edit the compliments instead of changing in the config.js

    Go to this path and type the command -

    cd /MagicMirror/modules/default/compliments
    sudo nano compliments.js
    

    Edit the 4 different session of the day and customize different greeting as much as you like.

    In addition, you can change the compliments refresh rate at the

    updateInterval: 30000,    //change the value from 30000 to 10000 to see the different
    

    Enjoy!


  • Moderator

    @werdnllac
    Actually this is the worst approach. You should not modify module files as you are running into problems once an update via github is available



  • Should there be any updates, it will not execute automatically. Right?

    Besides, if the update do happen, it will overwrite the entire file (compliment.js) resulting what is being preset will disappear. Right?


  • Moderator

    No, it will not automatically overwrite existing files if you simply run git pull but raise an error. Maybe that’s no problem for you but it is for several others. We see these issues every now and then.



  • @yawns said in Can’t configure Compliments Module:

    No, it will not automatically overwrite existing files if you simply run git pull but raise an error. Maybe that’s no problem for you but it is for several others. We see these issues every now and then.

    Phew! I thought you are referring about mine. Anyway thanks. I just started this MagicMirror project and still trying out every possible way to get what I want.

    Currently, still stuck at MMM-Assistant. Doesn’t response to snowboy, magicmirror AI speech recognition.