• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.1k 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.
  • G Offline
    glenzee
    last edited by Mar 17, 2018, 5:41 PM

    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?

    1 Reply Last reply Reply Quote 0
    • G Offline
      glenzee
      last edited by Mar 17, 2018, 6:07 PM

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

      1 Reply Last reply Reply Quote 0
      • Y Offline
        yawns Moderator
        last edited by Mar 17, 2018, 6:26 PM

        position: “lower_third is missing a comma at the end

        G 1 Reply Last reply Mar 17, 2018, 6:30 PM Reply Quote 0
        • G Offline
          glenzee @yawns
          last edited by Mar 17, 2018, 6:30 PM

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

          1 Reply Last reply Reply Quote 0
          • Y Offline
            yawns Moderator
            last edited by Mar 17, 2018, 6:41 PM

            Yeah, sometimes these small mistakes can be really frustrating.

            1 Reply Last reply Reply Quote 0
            • W Offline
              werdnllac
              last edited by Mar 23, 2018, 7:05 AM

              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!

              Y 1 Reply Last reply Mar 23, 2018, 7:22 AM Reply Quote -1
              • Y Offline
                yawns Moderator @werdnllac
                last edited by Mar 23, 2018, 7:22 AM

                @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 Mar 23, 2018, 7:24 AM

                  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
                  • Y Offline
                    yawns Moderator
                    last edited by Mar 23, 2018, 7:28 AM

                    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 Mar 23, 2018, 7:30 AM Reply Quote 0
                    • W Offline
                      werdnllac @yawns
                      last edited by Mar 23, 2018, 7:30 AM

                      @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
                      1 / 1
                      • First post
                        1/10
                        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