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.

    Help customizing compliments

    Scheduled Pinned Locked Moved Solved Troubleshooting
    3 Posts 2 Posters 2.0k Views 1 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.
    • SnoopyS Offline
      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;}
      
      
      brobergB 1 Reply Last reply Reply Quote 0
      • brobergB Offline
        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

        SnoopyS 1 Reply Last reply Reply Quote 1
        • SnoopyS Offline
          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 Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy