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.

    NFL Score Module

    Scheduled Pinned Locked Moved Sport
    95 Posts 20 Posters 136.0k Views 25 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.
    • cowboysdudeC
      cowboysdude Module Developer @Shawnsully
      last edited by

      @Shawnsully
      @Shawnsully said in NFL Score Module:

      @strawberry-3.141 Thank you so much for your help

      },
      module: ‘MMM-NFL’,
      position: ‘bottom_left’,
      config: {
      colored: true,
      network: false,
      reloadinterval: 900000,
      },

      Your missing something… copy this and try it…

      {
      module: ‘MMM-NFL’,
      position: ‘bottom_left’,
      config: {
      colored: true,
      network: false,
      reloadinterval: 900000,
      }
      },

      S 1 Reply Last reply
      Reply Quote 0
      • S
        Shawnsully @cowboysdude
        last edited by

        @cowboysdude Again, thank you for your assistance. I still get the generic “Please add config” error.

        1 Reply Last reply
        Reply Quote 0
        • cowboysdudeC
          cowboysdude Module Developer
          last edited by

          OK well I’d see to your entire config … private msg me with your entire config.js file… so I can take a look at it.

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

            [card:fewieden/MMM-NFL]

            Changelog:

            Removed network column due to it’s not longer provided through the API
            Implemented voice commands to show passing, rushing, receiving, tackles, sacks and interceptions statistics
            Color and Logo type are also changeable through voice commands on the fly

            alt text

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

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

              Changelog:

              • Handling Bye Week for focus_on teams

              alt text

              [card:fewieden/MMM-NFL]

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

              strawberry 3.141S 1 Reply Last reply
              Reply Quote 1
              • B
                bhepler Module Developer @Shawnsully
                last edited by bhepler

                @Shawnsully Double-check your commas and curly braces, specifically at the beginning of your module entry. You have:

                },
                     module: 'MMM-NFL',
                     position: ‘bottom_left’,
                ...
                

                You probably want:

                },
                {
                     module: 'MMM-NFL',
                     position: ‘bottom_left’,
                    ...
                
                1 Reply Last reply
                Reply Quote 1
                • strawberry 3.141S
                  strawberry 3.141 Project Sponsor Module Developer @strawberry 3.141
                  last edited by

                  Changelog:

                  • possible fix for starting times of matches in london

                  [card:fewieden/MMM-NFL]

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

                  O 1 Reply Last reply
                  Reply Quote 1
                  • O
                    ooom416354 @strawberry 3.141
                    last edited by

                    @strawberry-3.141 Hi, just curious, is there a way to show only one particular team? I tried adding a team to the focus_on array but I then returned no rows back.

                    Thanks in advance!

                    cowboysdudeC 1 Reply Last reply
                    Reply Quote 0
                    • cowboysdudeC
                      cowboysdude Module Developer @ooom416354
                      last edited by cowboysdude

                      @ooom416354 said in NFL Score Module:

                      @strawberry-3.141 Hi, just curious, is there a way to show only one particular team? I tried adding a team to the focus_on array but I then returned no rows back.

                      Thanks in advance!

                      This is an my config… it works :)
                      {
                      module: ‘MMM-NFL’,
                      position: ‘bottom_bar’,
                      config: {
                      colored: true,
                      helmets: false,
                      reloadInterval: 10000,
                      focus_on: [‘DAL’]
                      }
                      }

                      Don’t forget to put team or teams in the 'focus_on: just as I have it… in brackets and in single quotes.

                      O 1 Reply Last reply
                      Reply Quote 0
                      • O
                        ooom416354 @cowboysdude
                        last edited by

                        @cowboysdude Thanks!!!

                        1 Reply Last reply
                        Reply Quote 1
                        • T
                          TheHyp3
                          last edited by

                          I got a problem: Every second its switching between Regular-Season 2016 and Post-Season 2015?

                          I´ve updated already but still the same problem. Here is my config:

                          	{
                          		 module: 'MMM-NFL',
                          		 position: 'top_left',
                          		 config: {
                          		 	colored: 'true',
                          			focus_on: ['NE', 'SEA', 'PHI', 'NYG', 'DAL'],
                          		 }
                          	},
                          

                          Any help on that?

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

                            @TheHyp3 thanks for reporting, I made a hotfix for it. I’m not sure how the data will look like when we are in the post season, so it could happen again.

                            your config has some syntax errors. you shouldn’t put a boolean into quotes. in javascript it will allways lead to true, so if you would have done colored: 'false' it would have been colored as well.

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

                            T 1 Reply Last reply
                            Reply Quote 2
                            • T
                              TheHyp3 @strawberry 3.141
                              last edited by

                              @strawberry-3.141 its working now. Thanks again ;)
                              Also fixed my config!

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

                                Fixed not changing to post season and added icons for TBD

                                [card:fewieden/MMM-NFL]

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

                                1 Reply Last reply
                                Reply Quote 0
                                • C
                                  chieftainSupreme @strawberry 3.141
                                  last edited by

                                  @strawberry-3.141 has there been any movement on this? I’ve been dying for an NBA module but can’t find a basketball API, and I’m pretty new to the scene to begin with. I’d love to collaborate with someone on this, if there’s interest.

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

                                    @chieftainSupreme sorry I have no time in the next month to do any requests, but i saw that someone forked my repository and trys to change it for nba. check it out maybe you can help him https://github.com/in-a-days/MMM-NBA/

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

                                    I 1 Reply Last reply
                                    Reply Quote 0
                                    • I
                                      in_a_days @strawberry 3.141
                                      last edited by in_a_days

                                      @strawberry-3.141 @chieftainSupreme

                                      I am playing around with this - but I’m also just barely qualified to write code!

                                      I’m gutting out most the higher level functions like stats and voice support, trying to just get correct scores to display. Biggest problem so far is I can not find an easy to parse score feed. This NFL feed is perfect.

                                      http://www.nfl.com/liveupdate/scorestrip/ss.xml

                                      What ship would bear me ever back across so wide a Sea?

                                      C 1 Reply Last reply
                                      Reply Quote 0
                                      • C
                                        chieftainSupreme @in_a_days
                                        last edited by

                                        @in_a_days I’ve been having trouble finding an NBA feed as well, I’ll keep looking and let you know if I find anything

                                        I 1 Reply Last reply
                                        Reply Quote 0
                                        • I
                                          in_a_days @chieftainSupreme
                                          last edited by

                                          @chieftainSupreme

                                          Found this today. It’s not nearly as elegant as the NFL xml file, but it should technically be parsable.

                                          http://www.espn.com/nba/bottomline/scores

                                          What ship would bear me ever back across so wide a Sea?

                                          1 Reply Last reply
                                          Reply Quote 0
                                          • I
                                            in_a_days
                                            last edited by in_a_days

                                            So it’s been over 15 years since I’ve done much coding. My background is in C++ and I ran a few Python tutorials when I first got my Pi.

                                            I’m writing a parser for this NBA score feed and it just occurred to me that I don’t know how to integrate a python script into Magic Mirror. I’ve made some good progress, but is there any sense continuing? Will I be able to easily port this to JS or will Magic Mirror know what to do with the .py file, or am I going to need to start over?

                                            What ship would bear me ever back across so wide a Sea?

                                            strawberry 3.141S 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
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 4 / 5
                                            • 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