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.

    MMM-NFL Issues

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    3 Posts 2 Posters 1.2k Views 2 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.
    • D Offline
      DanielLoftus
      last edited by

      I am having issues in my config file that I cannot seem to figure out what I am missing. I have the MMM-NFL in the modules folder. cany anyone assist me. Thank you very much.

      Also this is the main config.js file, any assistance would be great!

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       *
       * For more information how you can configurate this file
       * See https://github.com/MichMich/MagicMirror#configuration
       *
       */
      
      var config = {
      	address: "localhost", // Address to listen on, can be:
      	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
      	                      // - another specific IPv4/6 to listen on a specific interface
      	                      // - "", "0.0.0.0", "::" to listen on any interface
      	                      // Default, when address config is left out, is "localhost"
      	port: 8080,
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
      	                                                       // or add a specific IPv4 of 192.168.1.5 :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
      	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
      
      	language: "en",
      	timeFormat: 12,
      	units: "imperial",
      
      	modules: [
      		{
      			module: "clock",
      			position: "top_left"
      		},
      		{
      			module: "calendar",
      			header: "US Holidays",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
      						symbol: "calendar-check-o ",
      						url: "https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics"
      					},
      					{
      						symbol: "MyCalendar",
      						url: "https://calendar.google.com/calendar/ical/shupuck210%40gmail.com/private-ea4ffe4c7c990b930382fcfd56a55c47/basic.ics"
      					}
      				]
      			}
      		},
      		{
      			module: "compliments",
      			position: "lower_third"
      		},
      		{
      			module: "currentweather",
      			position: "top_left",
      			config: {
      				location: "Waterloo",
      				locationID: "4880889",  //ID from http://bulk.openweathermap.org/sample/; unzip the gz file and find your city
      				appid: "1c02cd74cbec1fc468ae4155a1d49200"
      			}
      		},
      		{
      			module: "weatherforecast",
      			position: "top_left",
      			header: "Weather Forecast",
      			config: {
      				location: "Waterloo",
      				locationID: "4880889",  //ID from http://www.openweathermap.org/help/city_list.txt
      				appid: "1c02cd74cbec1fc468ae4155a1d49200"
      			}
      		},
      		{
      		  module: "MMM-NowPlayingOnSpotify",
      		  position: "top_right",
      		
      		  config: {
      		    clientID: "b843d450d72f4c2e9257109a6e4c496e",
      		    clientSecret: "5ec4b7f27d1a4a94a2f01dcf0520272f",
      		    accessToken: "BQDxfpWBpXO2G8zaQFO9vIKJx86DfqLyisShlMMQnnjw2QYOueI5K_8JefHpjaiGM5tEot07OXFLs4XMHZ56v1cbv0i4wbRHIVQ7mti5hSqssgMJ8Kijlra1sq9oZEHu8kJlGwBi8yVE_bRjVrOT8QEEK5hF",
      		    refreshToken: "AQCoQuioCcklZ9Hzd_0YjOU46yhvPKGAiRqFxLBmUWcF6EBUrbWSZtFuAkTMppdoYXVvBf0O4Ooo6dPJVND4Z324_0tV5EcE6Pt1LDVLRvYCEZFPaRNlkl8B_EElJ57cmWUz-A"
        		}		
      		},
      		{
      		    module: 'MMM-NFL',
      		    position: 'bottom_right',
      		    config: {
      		        colored: "true"
      			helmets: "true"
      			reloadInterval: "3000"
          		}
      		},
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      
      strawberry 3.141S 1 Reply Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @DanielLoftus
        last edited by

        @danielloftus you didn’t close the modules array, you missed commas and you placed quotes.

                {
        	        module: 'MMM-NFL',
        	        position: 'bottom_right',
        	        config: {
        		        colored: true,
        			helmets: true,
        			reloadInterval: 3000
            		}
        	},
        ]
        

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

        D 1 Reply Last reply Reply Quote 1
        • D Offline
          DanielLoftus @strawberry 3.141
          last edited by

          @strawberry-3-141 Just starting this very fun journey but you fixed it! Thank you very much and looking forward to finding out how I am actually messing up. Again thank you very much, have a good day!

          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