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.

    Euromillions display on MagicMirror

    Scheduled Pinned Locked Moved Requests
    24 Posts 7 Posters 5.7k Views 8 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.
    • lavolp3L Offline
      lavolp3 Module Developer @sdetweil
      last edited by

      @sdetweil
      It is possible, and I thought about the same, but it’s dirty and you somehow have to determine and hard-code a proper request time for every lottery.
      Thinking about developing it to the end but I’d prefer another API.

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

      ? 1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @lavolp3
        last edited by A Former User

        @lavolp3
        Just Idea. store recent lottery values from API with the date as JSON file, Then when you need new values (on restart or on every Sunday), Check the JSON file first then request API when the stored data is out-of-dated.

        PS Ah, you’ve already approached. :) Don’t mind.

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

          @Sean it is a good idea but you want to meet the perfect time to fetch the data (close to the drawing) and you only have one try…
          And also a second lottery would already blow the quota.
          But still, thanks for the good ideas

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

          1 Reply Last reply Reply Quote 0
          • thymonT Offline
            thymon @lavolp3
            last edited by

            @lavolp3 You are my man ! :D

            1 Reply Last reply Reply Quote 0
            • thymonT Offline
              thymon
              last edited by thymon

              @lavolp3 How disable ticket viewer ?
              And How modify the width to css ?

              Thanks in advance !

              :D :D
              IMG_2740.JPG

              1 Reply Last reply Reply Quote 0
              • thymonT Offline
                thymon
                last edited by

                Ok sorry I found.

                .MMM-Lotteries {
                width : 400px;
                }
                
                1 Reply Last reply Reply Quote 0
                • thymonT Offline
                  thymon @chassain 0
                  last edited by

                  @chassain-0
                  Finally, we are a great idea too :)
                  Thx !

                  1 Reply Last reply Reply Quote 1
                  • cowboysdudeC Offline
                    cowboysdude Module Developer @lavolp3
                    last edited by

                    @lavolp3 10 is impossible… You’d need closer to at least 30… I agree with you.

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