MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Can't configure Compliments Module

    Scheduled Pinned Locked Moved Troubleshooting
    10 Posts 3 Posters 3.4k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      werdnllac
      last edited by

      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!

      yawnsY 1 Reply Last reply Reply Quote -1
      • yawnsY Offline
        yawns Moderator @werdnllac
        last edited by

        @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

        1 Reply Last reply Reply Quote 0
        • W Offline
          werdnllac
          last edited by

          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?

          1 Reply Last reply Reply Quote 0
          • yawnsY Offline
            yawns Moderator
            last edited by

            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.

            W 1 Reply Last reply Reply Quote 0
            • W Offline
              werdnllac @yawns
              last edited by

              @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.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy