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-SoccerLiveScore

    Scheduled Pinned Locked Moved Sport
    187 Posts 37 Posters 289.0k Views 35 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
      dawookie1979 @Feedy88
      last edited by

      @Feedy88 hello, i have the files and npm installed them into the module directory, but the module isnt showing up? i have it in the config file too :)

      1 Reply Last reply Reply Quote 0
      • Feedy88F Offline
        Feedy88
        last edited by Feedy88

        @dawookie1979 mh, just tried again and it works for me (takes some time to load though, maybe limit it to one league for now). Nonetheless, I removed it again and moved on with MMM-soccer as this module has the same features and more and is still being maintained by the original creator.

        Nonetheless, if you want tot get MMM-SoccerLiveScore running, can you post your config? I just copied the sample and it works fine.

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          dawookie1979
          last edited by

          hello, i will remove soccerlivescore, and try MMM-soccer. Thank you for your help

          1 Reply Last reply Reply Quote 0
          • D Offline
            dave_ @Feedy88
            last edited by

            @Feedy88 hey i was wondering if u could help me setup MMM-soccer I’m having a really hard time figuring it out plzzz

            Feedy88F 1 Reply Last reply Reply Quote 0
            • Feedy88F Offline
              Feedy88 @dave_
              last edited by

              @dave_ Hey there,

              would be happy to help. What is your issue currently? Also would help to post a snippet of the config you are using.+

              1 Reply Last reply Reply Quote 0
              • 0m4r0 Offline
                0m4r Module Developer
                last edited by

                I have forked the repository and fixed a few bugs as I noticed it is not maintained for 4 years. I have now reduced the numbers of API calls needed to fetch the team logos (that are now directly obtained by the HTML code) and reduced the number of API calls to fetch the table and the scores.
                The table APIs does not include a “refresh” time (as they maybe did return times ago) and this causes an infinite number of call to it.

                The forked repo is here: https://github.com/0m4r/MMM-SoccerLiveScore
                I have not made a PR as I d believe the original one is abandoned.

                https://github.com/0m4r

                E 1 Reply Last reply Reply Quote 1
                • E Offline
                  Egnos @0m4r
                  last edited by

                  @0m4r thank you for solving the problems of this module.

                  I have only one problem: I don’t see the Juventus football team logo (it’s my favorite team … what luck!😔)
                  As you can see in the following photo:

                  alt text

                  How can i solve?

                  Many thanks.

                  My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                  0m4r0 1 Reply Last reply Reply Quote 0
                  • 0m4r0 Offline
                    0m4r Module Developer
                    last edited by

                    Juventus logo is black with a transparent background, so it is black on black and you will not be able to see it! :) I spent some time thinking it did not work… but then I realized the black on black problem :)

                    https://github.com/0m4r

                    E 1 Reply Last reply Reply Quote 0
                    • E Offline
                      Egnos @0m4r
                      last edited by

                      @0m4r I’m not sure both a problem of color, otherwise I would still see a logo of the logo or in part. As you can see in the picture in detail the pixels do not show any change …

                      alt text

                      My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                      1 Reply Last reply Reply Quote 0
                      • 0m4r0 Offline
                        0m4r Module Developer
                        last edited by

                        yes, I guess it is correct, black is rendered on screen by non turning on the pixel of the screen, why should they if they are supposed to be all black?

                        this is the link t the image for the logo of Juventus:
                        https://www.toralarm.com/api/proxy/images/ta/images/teams/30000991/64

                        this is how it would look on a non-black background.

                        914d2c59-6b30-4bc0-9529-ea8bddadb1ef-image.png

                        https://github.com/0m4r

                        1 Reply Last reply Reply Quote 0
                        • Feedy88F Offline
                          Feedy88
                          last edited by

                          @0m4r much appreciated.

                          I would like to make a feature request if I may.

                          • Give the option to put the focus on a team any only show results from this team

                          Cheers,
                          Feedy

                          0m4r0 1 Reply Last reply Reply Quote 0
                          • 0m4r0 Offline
                            0m4r Module Developer @Feedy88
                            last edited by

                            @Feedy88 would you be so kind to add a feature request to the github repo: https://github.com/0m4r/MMM-SoccerLiveScore/issues? thanks!

                            https://github.com/0m4r

                            1 Reply Last reply Reply Quote 0
                            • lavolp3L Offline
                              lavolp3 Module Developer
                              last edited by lavolp3

                              @0m4r
                              Do you know if the api provides the goals in any game as well?
                              And is German 2nd League and/or DFB cup integrated? (EDIT ok seen it in your README)
                              Are real-time live results availabe?

                              I’ve put quite a lot of work into the MMM-soccer module but all of these are missing in the API.

                              MMM-soccer also contains the focus feature fyi.

                              How to troubleshoot modules
                              MMM-soccer v2, MMM-AVStock

                              0m4r0 1 Reply Last reply Reply Quote 0
                              • 0m4r0 Offline
                                0m4r Module Developer @lavolp3
                                last edited by

                                @lavolp3 I am actually reverse-engineering the APIs as there is no formal documentation.

                                Anyhow,

                                Do you know if the API provides the goals in any game as well?

                                yes, the score is provided.
                                If the game is ended it provides the final result, if the game is on-going you get the current score, if the game is not started it provides a default “0 - 0” result.

                                And is German 2nd League and/or DFB cup integrated? (EDIT ok seen it in your README)

                                the list of supported league are the same you can see on the toralarm.de website

                                Are real-time live results availabe?

                                yes, it is available. The APIs also return a suggested time to refresh to get up to date results.

                                https://github.com/0m4r

                                lavolp3L 1 Reply Last reply Reply Quote 0
                                • lavolp3L Offline
                                  lavolp3 Module Developer @0m4r
                                  last edited by lavolp3

                                  @0m4r said in MMM-SoccerLiveScore:

                                  yes, the score is provided.
                                  If the game is ended it provides the final result, if the game is on-going you get the current score, if the game is not started it provides a default “0 - 0” result.

                                  Thanks but i meant the information about the goals: minutes, scorers

                                  How to troubleshoot modules
                                  MMM-soccer v2, MMM-AVStock

                                  0m4r0 1 Reply Last reply Reply Quote 0
                                  • 0m4r0 Offline
                                    0m4r Module Developer @lavolp3
                                    last edited by

                                    @lavolp3 I think with some more work it can be done…
                                    I am also considering to add the scorers standings for each league
                                    It is quite a hard work to reverse engineer the APIs, but it is fun :D

                                    https://github.com/0m4r

                                    lavolp3L 1 Reply Last reply Reply Quote 0
                                    • lavolp3L Offline
                                      lavolp3 Module Developer @0m4r
                                      last edited by

                                      @0m4r Well I don’t know anything about reverse engineering so appreciate if you find anything.

                                      How to troubleshoot modules
                                      MMM-soccer v2, MMM-AVStock

                                      E 1 Reply Last reply Reply Quote 0
                                      • E Offline
                                        Egnos @lavolp3
                                        last edited by

                                        Hi guys,
                                        for a couple of days I have not seen the results of Serie A (Italy) and Champions League.

                                        Is it just me who has this problem?
                                        Thank you.

                                        My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                                        0m4r0 1 Reply Last reply Reply Quote 0
                                        • 0m4r0 Offline
                                          0m4r Module Developer @Egnos
                                          last edited by

                                          @egnos I can still see them, but I have installed my own fork which I tweaked and fixed in some places: https://github.com/0m4r/MMM-SoccerLiveScore

                                          If you are familiar with github you can even try some of the new features I am working on by checking out the developer branch :)

                                          https://github.com/0m4r

                                          E 1 Reply Last reply Reply Quote 0
                                          • E Offline
                                            Egnos @0m4r
                                            last edited by

                                            @0m4r thanks for answering me.
                                            Now it works without my intervention!

                                            Where can I find the news you are working on?

                                            My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                                            0m4r0 S 2 Replies 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
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 5 / 10
                                            • 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