• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-MLB Scores not loading

Scheduled Pinned Locked Moved Solved Troubleshooting
7 Posts 2 Posters 1.7k 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.
  • K Offline
    kc0bra
    last edited by broberg Oct 5, 2019, 8:04 AM Sep 3, 2019, 12:06 AM

    Re: MMM-MLB

    I can’t seem to get the scores to load. I get the logo and it says MLB Scores (and if I change mode to standings logo changes) but no real-time data loads. Here is what my config looks like.

    {
    module: ‘MMM-MLB’,
    position: ‘top_right’,
    config: {
    maxWidth: “400px”,
    header: true,
    logo: true,
    }

    I appreciate any suggestions on how to troubleshoot this. Thanks!

    M 1 Reply Last reply Sep 3, 2019, 12:14 AM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @kc0bra
      last edited by Mykle1 Sep 3, 2019, 12:25 AM Sep 3, 2019, 12:14 AM

      @kc0bra

      I just installed it and it’s working. You’re missing a curly bracket (there should be two after logo:true) and you do need a comma after the closing curly bracket }

      You can just copy and paste the below entry and paste it into your config if you like.

      {
          module: "MMM-MLB",
          position: "top_center",
          config: { // See "Configuration options" for more information.
            maxWidth: "400px",
            header: true,
            logo: true,
      //      focus_on: ["Indians", "Braves", "Yankees"]
          }
        },

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • K Offline
        kc0bra
        last edited by kc0bra Sep 3, 2019, 12:27 AM Sep 3, 2019, 12:27 AM

        Hmmm. I just removed mine completely and pasted your example in and I’m still getting the same thing. For some reason the scores aren’t loading. Is there an API key or anything that I need to put in somewhere? Similar to what needs to be generated and installed for weather apps?

        M 1 Reply Last reply Sep 3, 2019, 1:01 AM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @kc0bra
          last edited by Mykle1 Sep 3, 2019, 1:04 AM Sep 3, 2019, 1:01 AM

          @kc0bra said in Scores not loading:

          Is there an API key or anything that I need to put in somewhere? Similar to what needs to be generated and installed for weather apps?

          No sir, no API key necessary for this module. It doesn’t even require dependencies of any kind. You can do three things.

          1. Post your config entry in a code block so that I can take a look at it. Click the </> icon above your message window when you are replying. It’s at the far right. Paste your code in the highlighted code_text that will appear. That will format your entry.

          2. Start your mirror in the MM directory with the command npm start dev. This will open the Developers Tools window. Click the Console tab at the top left of the window. Scroll through the output looking for errors in red. Report here.

          3. Delete your current MMM-MLB folder from the modules folder and clone it again from https://github.com/cowboysdude/MMM-MLB. Then try it with my config example above.

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • K Offline
            kc0bra
            last edited by Sep 3, 2019, 1:24 AM

            Hey Mykle1, deleting the directly and re-cloning from Git did the trick. I now have the scores coming in regularly. Thanks a lot for your help!

            M 2 Replies Last reply Sep 3, 2019, 1:31 AM Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @kc0bra
              last edited by Sep 3, 2019, 1:31 AM

              @kc0bra

              Ahh, have fun!

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @kc0bra
                last edited by Sep 3, 2019, 1:35 AM

                @kc0bra

                You can mark this post as solved by clicking the three verticle dots to the right of the post that helped you.

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                1 / 1
                • First post
                  1/7
                  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