Navigation

    MagicMirror Forum

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

    SOLVED Help customizing compliments

    Troubleshooting
    2
    3
    1601
    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.
    • Snoopy
      Snoopy last edited by

      Hey guys! new here to the forums and I need some help 😞

      Recently built my first magic mirror and I need some help customizing the compliments. I’ve editing it in my config but always find a way to mess it up and revert back to the default compliments. Some questions i have are: Can there only be 3 compliments per time of day? is it possible to add gifs to the MM?

      Here is my config so u guys can help me out 🙂 Thanks for your help in advance!

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       */
      
      var config = {
              port: 8080,
              ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
      
              language: 'en',
              timeFormat: 12,
              units: 'metric',
      
              modules: [
                      {
                              module: 'alert',
                      },              {
                              module: "updatenotification",
                              position: "top_bar"
                      },
                      {
                              module: 'clock',
                              position: 'top_left'
                      },
                                      {
                              module: 'compliments',
                              position: 'lower_third'
                      },
                      {
                              module: 'currentweather',
                              position: 'top_right',
                              config: {
                                      location: 'Toronto',
                                      locationID: 'xxxxxx',  //ID from http://www.openweathermap.org
                                      appid: 'xxxxxx'
                              }
                      },
                      {
                              module: 'weatherforecast',
                              position: 'top_right',
                              header: 'Weather Forecast',
                              config: {
                                      location: 'Toronto',
                                      locationID: 'xxxxxx',  //ID from http://www.openweathermap.org
                                      appid: 'xxxxxxx'
                              }
                      },
      
              ]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== 'undefined') {module.exports = config;}
      
      
      broberg 1 Reply Last reply Reply Quote 0
      • broberg
        broberg Project Sponsor @Snoopy last edited by

        /* Magic Mirror Config Sample
         *
         * By Michael Teeuw http://michaelteeuw.nl
         * MIT Licensed.
         */
        
        var config = {
                port: 8080,
                ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
        
                language: 'en',
                timeFormat: 12,
                units: 'metric',
        
                modules: [
                        {
                                module: 'alert',
                        },              {
                                module: "updatenotification",
                                position: "top_bar"
                        },
                        {
                                module: 'clock',
                                position: 'top_left'
                        },
                                        {
                                module: 'compliments',
                                position: 'lower_third', 
         config: {
            compliments: {
                morning: [
                    'Good morning, handsome!',
                    'Enjoy your day!',
                    'How was your sleep?',
                ],
                afternoon: [
                    'Hello, beauty!',
                    'You look sexy!',
                    'Looking good today!',
                ],
                evening: [
                    'Wow, you look hot!',
                    'You look nice!',
                    'Hi, sexy!',
                ]
            }
        }
        
                        },
                        {
                                module: 'currentweather',
                                position: 'top_right',
                                config: {
                                        location: 'Toronto',
                                        locationID: 'xxxxxx',  //ID from http://www.openweathermap.org
                                        appid: 'xxxxxx'
                                }
                        },
                        {
                                module: 'weatherforecast',
                                position: 'top_right',
                                header: 'Weather Forecast',
                                config: {
                                        location: 'Toronto',
                                        locationID: 'xxxxxx',  //ID from http://www.openweathermap.org
                                        appid: 'xxxxxxx'
                                }
                        },
        
                ]
        
        };
        
        /*************** DO NOT EDIT THE LINE BELOW ***************/
        if (typeof module !== 'undefined') {module.exports = config;}
        
        

        Just alter the compliments above between the two '
        add a , after each row when you add more compliments

        You can add any media you want, if you want a simple gif/jpg to display somewhere then MMM-SimpleLogo will do just that

        https://github.com/frdteknikelektro/MMM-SimpleLogo

        Snoopy 1 Reply Last reply Reply Quote 1
        • broberg
          broberg Project Sponsor @Snoopy last edited by

          /* Magic Mirror Config Sample
           *
           * By Michael Teeuw http://michaelteeuw.nl
           * MIT Licensed.
           */
          
          var config = {
                  port: 8080,
                  ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
          
                  language: 'en',
                  timeFormat: 12,
                  units: 'metric',
          
                  modules: [
                          {
                                  module: 'alert',
                          },              {
                                  module: "updatenotification",
                                  position: "top_bar"
                          },
                          {
                                  module: 'clock',
                                  position: 'top_left'
                          },
                                          {
                                  module: 'compliments',
                                  position: 'lower_third', 
           config: {
              compliments: {
                  morning: [
                      'Good morning, handsome!',
                      'Enjoy your day!',
                      'How was your sleep?',
                  ],
                  afternoon: [
                      'Hello, beauty!',
                      'You look sexy!',
                      'Looking good today!',
                  ],
                  evening: [
                      'Wow, you look hot!',
                      'You look nice!',
                      'Hi, sexy!',
                  ]
              }
          }
          
                          },
                          {
                                  module: 'currentweather',
                                  position: 'top_right',
                                  config: {
                                          location: 'Toronto',
                                          locationID: 'xxxxxx',  //ID from http://www.openweathermap.org
                                          appid: 'xxxxxx'
                                  }
                          },
                          {
                                  module: 'weatherforecast',
                                  position: 'top_right',
                                  header: 'Weather Forecast',
                                  config: {
                                          location: 'Toronto',
                                          locationID: 'xxxxxx',  //ID from http://www.openweathermap.org
                                          appid: 'xxxxxxx'
                                  }
                          },
          
                  ]
          
          };
          
          /*************** DO NOT EDIT THE LINE BELOW ***************/
          if (typeof module !== 'undefined') {module.exports = config;}
          
          

          Just alter the compliments above between the two '
          add a , after each row when you add more compliments

          You can add any media you want, if you want a simple gif/jpg to display somewhere then MMM-SimpleLogo will do just that

          https://github.com/frdteknikelektro/MMM-SimpleLogo

          Snoopy 1 Reply Last reply Reply Quote 1
          • Snoopy
            Snoopy @broberg last edited by

            @broberg thanks! worked like a charm 🙂

            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