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.

    Config help please

    Scheduled Pinned Locked Moved Solved Troubleshooting
    15 Posts 3 Posters 8.7k 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.
    • S Offline
      snotrocket
      last edited by Jopyth

      Yay! It works! I added the NFL module and tweaked the compliments.

      Thank you so much!!! Working code is below.

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       */
      
      var config = {
      	port: 8080,
      
      	language: 'en',
      	timeFormat: 12,
      	units: 'imperial',
      
      	modules: [
      		{
      			module: 'alert',
      		},
      		{
      			module: 'clock',
      			position: 'top_left'
      		},
      		{
      			module: 'calendar',
      			header: 'US Holidays',
      			position: 'top_left',
      			config: {
      				calendars: [
      					{
      						symbol: 'calendar-check-o ',
      						url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
      					}
      				]
      			}
      		},
      {
              module: 'compliments',
              position: 'bottom_center',
              config: {
                      updateInterval: 30000,
                      compliments: {
                              morning: [
                              "Good morning!",
      						"Lets go tackle today"
                                              ],
                              afternoon: [
                              "What an awesome day!"
                                              ],
                              evening: [
                                      "Did you do everything you wanted today?",
                                      "Wasn't the day just spectacular?"
                                      ]
                              }
                      }
              },
      		{
      			module: 'currentweather',
      			position: 'top_right',
      			config: {
      				location: 'Chicago',
      				locationID: '',  //ID from http://www.openweathermap.org
      				appid: '#######################'
      			}
      		},
      		{
      			module: 'weatherforecast',
      			position: 'top_right',
      			header: 'Weather Forecast',
      			config: {
      				location: 'Chicago',
      				locationID: '',  //ID from http://www.openweathermap.org
      				appid: '############################'
      			}
      		},
      		{
      			module: 'newsfeed',
      			position: 'bottom_bar',
      			config: {
      				feeds: [
      					{
      						title: "ESPN",
      						url: "http://www.espn.com/espn/rss/news"
      					},
      					{
      						title: "Reuters Sports",
      						url: "http://feeds.reuters.com/reuters/sportsNews"
      					},
      				],
      				showSourceTitle: false,
      				showPublishDate: false
      			}
      		},
      		{
      			module: 'MMM-NFL',
      			position: 'middle_center',
      			config: {
      			colored: true,
      			helmets: true,
      			reloadInterval: 10000,
      			focus_on: ['CHI']
      			
      			}
      		},
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== 'undefined') {module.exports = config;}
      
      strawberry 3.141S L 2 Replies Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @snotrocket
        last edited by

        @snotrocket there is no need to let the nfl module reload every 10 seconds, it will detect itself if there is a live match and during live matches it will refresh data more frequently

        Please create a github issue if you need help, so I can keep track

        1 Reply Last reply Reply Quote 1
        • S Offline
          snotrocket
          last edited by

          So set it to an hour or two?

          strawberry 3.141S 1 Reply Last reply Reply Quote 0
          • strawberry 3.141S Offline
            strawberry 3.141 Project Sponsor Module Developer @snotrocket
            last edited by

            @snotrocket if you want to use the default of 30mins you can remove it from your config.js completely

            Please create a github issue if you need help, so I can keep track

            1 Reply Last reply Reply Quote 0
            • S Offline
              snotrocket
              last edited by

              even better! Thanks.

              1 Reply Last reply Reply Quote 0
              • S Offline
                snotrocket
                last edited by

                Can i set the size of the NFL module? in the middle it takes up a huge amount of the screen when it shows all upcoming matches.

                strawberry 3.141S 1 Reply Last reply Reply Quote 0
                • strawberry 3.141S Offline
                  strawberry 3.141 Project Sponsor Module Developer @snotrocket
                  last edited by

                  @snotrocket you can either limit with focus_on option the amount of matches displayed or use custom.css to make personal changes to the style

                  Please create a github issue if you need help, so I can keep track

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    l8kerjuan @snotrocket
                    last edited by

                    @snotrocket any chance you have a photo of what your mirror looks like… as far as layout… havent been able to see a functioning nfl or nhl module up on screen. just curios if i even want to tinker and add to mine… im so close to being done!! thanks

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      snotrocket @l8kerjuan
                      last edited by

                      @l8kerjuan Here is the base config on a monitor, not the mirror when I was!testing it. I removed the module before the mirror was finished because the Bears were well… Da Bears. ! I think I have a copy of the config file as well. I’ll go look for it.

                      0_1485375291191_20161221_132953.jpg

                      L 1 Reply Last reply Reply Quote 0
                      • L Offline
                        l8kerjuan @snotrocket
                        last edited by

                        @snotrocket that looks cool. thanks

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 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