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.

    Soccer Noob needs help!

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    30 Posts 4 Posters 11.0k Views 4 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.
    • P Offline
      Peter @evroom
      last edited by

      @evroom Module is running, but no teams visible …
      Peter

      1 Reply Last reply Reply Quote 0
      • evroomE Offline
        evroom
        last edited by

        @Peter

        I have MMM-SoccerLiveScore running now and it is looking nice.
        It has all logos present already and the table is already present (just listed on alphabetic order as one would expect pre round 1).
        Give it a try.

        I now remember why I use(d) MMM-soccer.
        MMM-SoccerLiveScore shows the scores by default and the standings can be turned off.
        But I do not want to know the scores as it spoils watching Studio Sport and/or die Sportschau.
        MMM-soccer just show the standings, nothing more (and even this spoils it some times).

        If MMM-SoccerLiveScore would have an option like “showScores: false”, it would be perfect.

        MagicMirror version: 2.30.0
        Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
        Raspbian GNU/Linux 12 (bookworm)

        Test environment:
        MagicMirror version: v2.30.0
        Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
        Raspbian GNU/Linux 12 (bookworm)

        thedoorsfanaticT 1 Reply Last reply Reply Quote 0
        • thedoorsfanaticT Offline
          thedoorsfanatic @evroom
          last edited by

          @evroom
          Have you tried this one?
          https://github.com/GHLasse/MMM-FootballTable

          My Smart Mirror YouTube playlist: https://www.youtube.com/playlist?list=PL9Iv_4Mvy6o2tnvdhNBstVWNefgUP9ELp

          evroomE 1 Reply Last reply Reply Quote 0
          • evroomE Offline
            evroom @thedoorsfanatic
            last edited by

            @thedoorsfanatic
            No, I haven’t.
            It looks a lot like MMM-soccer (code-wise, because there are no screenshots available), with the difference that it still uses v1, which probably will not work.
            And I do not see the possibility for team-logos.

            Do you use it ?
            Does it work ?

            MagicMirror version: 2.30.0
            Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
            Raspbian GNU/Linux 12 (bookworm)

            Test environment:
            MagicMirror version: v2.30.0
            Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
            Raspbian GNU/Linux 12 (bookworm)

            thedoorsfanaticT 1 Reply Last reply Reply Quote 0
            • thedoorsfanaticT Offline
              thedoorsfanatic @evroom
              last edited by

              @evroom
              No, I use MMM-SoccerLiveScore myself and got it timed with MMM-ModuleScheduler so I don’t get spoiled before watching Sportschau ;)

              My Smart Mirror YouTube playlist: https://www.youtube.com/playlist?list=PL9Iv_4Mvy6o2tnvdhNBstVWNefgUP9ELp

              evroomE 1 Reply Last reply Reply Quote 0
              • evroomE Offline
                evroom @thedoorsfanatic
                last edited by

                @thedoorsfanatic

                Interesting.
                I do not use MMM-ModuleScheduler.
                Could you give an example on how to configure it for MMM-SoccerLiveScore ?
                Do you schedule it to NOT see it during a specific period, like Saturday from 15:30 to 20:00 ?

                MagicMirror version: 2.30.0
                Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                Raspbian GNU/Linux 12 (bookworm)

                Test environment:
                MagicMirror version: v2.30.0
                Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                Raspbian GNU/Linux 12 (bookworm)

                1 Reply Last reply Reply Quote 0
                • evroomE Offline
                  evroom
                  last edited by

                  @thedoorsfanatic

                  I think I got it.
                  Perhaps there is a better way, because I do not understand show, hidden and dim very good.
                  I thought it would be easy to say “show from to”, “hide from to” or “dim from to”, but like this it seems to work:

                  {
                    module: 'MMM-SoccerLiveScore',
                    position: 'top_right',
                    //header: 'Live-Scores',
                    classes: 'scheduler',
                    config: {
                      module_schedule: [
                        {from: '45 22 * * *', to: '30 19 * * 6', dimLevel: '10'}, // dim Saturday from 19:30 to 22:45
                        {from: '00 20 * * *', to: '30 13 * * 7', dimLevel: '10'}, // dim Sunday from 13:30 to 20:00
                  //        {from: '00 20 * * *', to: '30 15 * * 6', dimLevel: '10'}, // dim Saturday from 15:30 to 20:00
                      ],
                      leagues: [37,],
                  

                  MagicMirror version: 2.30.0
                  Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                  Raspbian GNU/Linux 12 (bookworm)

                  Test environment:
                  MagicMirror version: v2.30.0
                  Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                  Raspbian GNU/Linux 12 (bookworm)

                  evroomE 1 Reply Last reply Reply Quote 0
                  • evroomE Offline
                    evroom @evroom
                    last edited by

                    @thedoorsfanatic

                    Nope, does not work.
                    An example would be nice.

                    MagicMirror version: 2.30.0
                    Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                    Raspbian GNU/Linux 12 (bookworm)

                    Test environment:
                    MagicMirror version: v2.30.0
                    Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                    Raspbian GNU/Linux 12 (bookworm)

                    thedoorsfanaticT 1 Reply Last reply Reply Quote 0
                    • P Offline
                      Peter
                      last edited by

                      MMM-SoccerLiveScore worked out of the box!
                      But after a few hours the module stops.
                      Other modules keep going.
                      Any body know the solution?
                      Peter

                      evroomE 1 Reply Last reply Reply Quote 0
                      • evroomE Offline
                        evroom @Peter
                        last edited by

                        @Peter

                        I do not have it running long enough to see this behaviour.
                        But, if you see this with
                        $ pm2 logs mm

                        0|mm       | (node:22849) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
                        

                        Do this (line 37):

                        $ vi /home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js
                        
                                  //var image = new Buffer(body).toString('base64');
                                    var image = Buffer.from(body).toString('base64');
                        
                        $ pm2 restart mm
                        

                        Then observe and pay attention to the pm2 logs.

                        MagicMirror version: 2.30.0
                        Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                        Raspbian GNU/Linux 12 (bookworm)

                        Test environment:
                        MagicMirror version: v2.30.0
                        Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                        Raspbian GNU/Linux 12 (bookworm)

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