Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED Change Compliments

    Troubleshooting
    4
    7
    1310
    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.
    • D
      dgregory19 last edited by

      I would like to change the default compliments but dont see them under compliments module. Or do i need to add the config shown in compliments page.

      Mykle1 1 Reply Last reply Reply Quote 0
      • T
        THeStigh last edited by THeStigh

        Yes, you need to create them within config.js

        This is my config (replace ‘bla bla bla’ as you want):

        		module: "compliments",
        		position: "lower_third",
        			config: {
        			compliments: {
        				morning: [
        					"bla bla bla",
        					"bla bla bla"
        				],
        				afternoon: [
        					"bla bla bla",
        					"bla bla bla"
        					],
        				evening: [
        					"bla bla bla",
        					"bla bla bla"
        					]
        			},
        			updateInterval: 30000,
        			remoteFile: null,
        			fadeSpeed: 4000,
        			morningStartTime: 3,
        			morningEndTime: 12,
        			afternoonStartTime: 12,
        			afternoonEndTime: 17
        		}
        	},
        

        Please mark answer as correct and topic as Solved (if this solved your issue) 🙂

        D 1 Reply Last reply Reply Quote 2
        • Mykle1
          Mykle1 Project Sponsor Module Developer @dgregory19 last edited by

          @dgregory19

          Or, use a remote file (as per the compliments readme) so as not to encumber the config.js file with a lengthy entry.

          1 Reply Last reply Reply Quote 3
          • cowboysdude
            cowboysdude Project Sponsor Module Developer last edited by

            OR just use another module…

            https://github.com/cowboysdude/MMM-NiceThings

            1 Reply Last reply Reply Quote 0
            • D
              dgregory19 @THeStigh last edited by

              @thestigh I’ll try this. It looks different then what is supplied by MM. I think i have the syntax wrong and haven’t learned yet how to do the coding. Thanks.

              T 1 Reply Last reply Reply Quote 0
              • T
                THeStigh @dgregory19 last edited by THeStigh

                @dgregory19 As @Mykle1 stated, there is another way.

                Personally, I prefer to have all custom configurations in one single file config.js and all custom css in the custom.css, by this I can add/remove/replicate configurations/modules installed from device to device. Makes it easy to backup 🙂

                Another tip;
                Above each module in config.js, you can add disabled: false / true, to temporarily make a module not load on MM. Like this:

                		{
                			disabled: false,
                			module: 'MMM-Remote-Control'
                		},
                

                If you need anymore help, please let me know.

                1 Reply Last reply Reply Quote 1
                • D
                  dgregory19 last edited by

                  Thanks everyone! Figured it out. Onto breaking something else…

                  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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy