MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. cphacker
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    cphacker

    @cphacker

    0
    Reputation
    416
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    cphacker Unfollow Follow

    Latest posts made by cphacker

    • RE: config not working.

      Okay i got it working again. But i had to take out this part:

      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!'
                                                      ]
                                                      }
                                                      }
      

      What is wrong with it?

      Note from Moderator: Please use Markdown on code snippets for easier reading.

      posted in Troubleshooting
      C
      cphacker
    • config not working.

      Hello.
      I have been playing around with the con fig file and now its broken. And i cant find the error. Can some one please help me?
      Here is the config file. I added the config for the compliments section.

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       */
      
      var config = {
              port: 8080,
      
              language: 'da',
              timeFormat: 24,
              units: 'metric',
      
              modules: [
      
      
      
                 {
          module: 'MMM-OlympicGames',
          position: 'top_center',
          config: {
                              highlight: 'Denmark',
                              maxRows: '10',
                              title: ['Olympic Games Rio 2016'],
                              reloadInterval: 1800000,
      
          }
      },
      
                      {
                              module: 'alert',
                      },
                      {
                              module: 'clock',
                              position: 'top_left'
                      },
                      {
                              module: 'calendar',
                              header: 'Helligdage',
                              position: 'top_left',
                              config: {
                                      calendars: [
                                              {
                                                      symbol: 'calendar-check-o ',
                                                      url: 'https://www.google.com/calendar/ical/4m72jkqjoat48ng6urkc6mbeg8%40group.calen$
                                              }
                                      ]
                              }
                      },
      				{
                              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: 'Esbjerg',
                                      locationID: 'xxxxxx',  //ID from http://www.openweathermap.org
                                      appid: 'xxxxx'
                              }
                      },
                      {
                              module: 'weatherforecast',
                              position: 'top_right',
                              header: 'Vejrudsigt',
                              config: {
                          location: 'Esbjerg',
                                      locationID: 'xxxxxx',  //ID from http://www.openweathermap.org
                          appid: 'xxxxxxxx'
                              }
                      },
                      {
                              module: 'newsfeed',
                              position: 'bottom_bar',
                              config: {
                                      reloadInterval: '300000',
                                      showDescription: 'true',
                                      updateInterval: '10000',
                                      feeds: [
                                              {
                                                      title: "Danmark",
                                                      url: "http://www.dr.dk/nyheder/service/feeds/indland"
      
                                              }
      
      
                                      ],
                                      showSourceTitle: true,
                                      showPublishDate: true
                              }
                      },
              ]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== 'undefined') {module.exports = config;}
      
      posted in Troubleshooting
      C
      cphacker