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

Scheduled Pinned Locked Moved Sport
187 Posts 37 Posters 204.8k 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.
  • 0 Offline
    0m4r Module Developer @np27np27
    last edited by Nov 26, 2021, 12:44 PM

    @np27np27 the API the module is fetching the data from does not seem to respond anymore (or at least, they do not in most of the cases).
    I have tried with Postman to double-check if it is a problem with my code or of the API, but also with Postman I get the same error/problem.

    I am trying to figure if I can replace the API with others, but I have not found anything I can really move without losing some of the information or the functionalities implemented now.

    https://github.com/0m4r

    1 Reply Last reply Reply Quote 0
    • 0 Offline
      0m4r Module Developer @karsten13
      last edited by Nov 26, 2021, 12:45 PM

      @karsten13 this could be one reason (I plan to switch to node-fetch), but I experience the same problem as reported by @np27np27 and I have detected the APIs are responding with errors.

      Unfortunately, there is not much I can do about it :(

      https://github.com/0m4r

      N 1 Reply Last reply Nov 27, 2021, 10:36 AM Reply Quote 1
      • 0 Offline
        0m4r Module Developer @np27np27
        last edited by Nov 26, 2021, 1:36 PM

        @np27np27 can you try to check out from master now and let me know if the problem is gone? :D

        https://github.com/0m4r

        1 Reply Last reply Reply Quote 0
        • N Offline
          np27np27 @0m4r
          last edited by Nov 27, 2021, 10:36 AM

          @0m4r
          Yes it works now! Thanks for the quick help and update ;)

          1 Reply Last reply Reply Quote 1
          • N Offline
            np27np27
            last edited by Nov 29, 2021, 9:04 AM

            @0m4r
            Actually I found another issue after the fix. The scores don’t seem to be updating during games or even at regular intervals.
            I’m not sure if it’s updating at all, maybe only when magicmirror restarts or if I restart the module. @0m4r can you have a look and confirm if it works for you?

            0 1 Reply Last reply Nov 29, 2021, 9:22 AM Reply Quote 0
            • 0 Offline
              0m4r Module Developer @np27np27
              last edited by Nov 29, 2021, 9:22 AM

              @np27np27 I guess you are correct, something is wrong since the second last update.
              I have tried to reduce the number of API calls trying to have them issued only when games are on or about to start rather than each and every 2 mins… but sometimes things do not work as I expect.

              You should be able to see a message at the bottom of the standings telling you when the next API request is expected to be executed, that should help d figure if the new data are requested at a meaningful time.

              66bb1a3e-af5e-4b1c-8ec6-32d89771e970-image.png

              https://github.com/0m4r

              N 1 Reply Last reply Nov 29, 2021, 2:58 PM Reply Quote 0
              • N Offline
                np27np27 @0m4r
                last edited by Nov 29, 2021, 2:58 PM

                @0m4r
                For me the module has an api request date of yesterday! So it’s probably not called the api?

                1 Reply Last reply Reply Quote 0
                • 0 Offline
                  0m4r Module Developer
                  last edited by Nov 29, 2021, 3:01 PM

                  @np27np27 probably. I have realized I have a mistake when the event is finished and the next date should be set to be used…

                  If you manually refresh with F5 or restart does it get any better?

                  https://github.com/0m4r

                  N 1 Reply Last reply Nov 29, 2021, 3:59 PM Reply Quote 0
                  • N Offline
                    np27np27 @0m4r
                    last edited by Nov 29, 2021, 3:59 PM

                    @0m4r
                    Yes if you manually restart MM the the data updates.

                    1 Reply Last reply Reply Quote 0
                    • 0 Offline
                      0m4r Module Developer
                      last edited by Nov 29, 2021, 4:02 PM

                      @np27np27 alright - I will try to fix it, but it may take some time, I usually dedicate time to my side project on the weekend

                      https://github.com/0m4r

                      N 1 Reply Last reply Nov 29, 2021, 4:03 PM Reply Quote 0
                      • 1
                      • 2
                      • 12
                      • 13
                      • 14
                      • 15
                      • 16
                      • 17
                      • 18
                      • 19
                      • 14 / 19
                      14 / 19
                      • First post
                        140/187
                        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