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

Euromillions display on MagicMirror

Scheduled Pinned Locked Moved Requests
24 Posts 7 Posters 5.2k 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.
  • C Offline
    chassain 0 @thymon
    last edited by lavolp3 May 19, 2020, 2:22 PM May 19, 2020, 7:45 AM

    @thymon
    Capture d’écran de 2020-05-19 09-40-00.png

    Hello,

    i 'm using the module MMM-smartwebdisplay to display some web url on my magicmirror, like sncf, magicmirror,…
    You can use this for the moment with this configuration

    		{
    			module: 'MMM-SmartWebDisplay',//
    			disabled: false,
    			position: 'right',	// This can be any of the regions.
    			config: {
    				// See 'Configuration options' for more information.
    				logDebug: false, //set to true to get detailed debug logs. To see them : "Ctrl+Shift+i"
    				height:"550", //hauteur du cadre en pixel ou %
    				width:"500", //largeur
                   				updateInterval: 10, //in min. Set it to 0 for no refresh (for videos)
                    				NextURLInterval: 0, //in min, set it to 0 not to have automatic URL change. If only 1 URL given, it will be updated
                    				displayLastUpdate: false, //to display the last update of the URL
    				displayLastUpdateFormat: 'ddd - HH:mm:ss', //format of the date and time to display
                    				url: ["https://tirage-gagnant.com/euromillions/resultats-euromillions/"], //source of the URL to be displayed
                    				scrolling: "no" // allow scrolling or not. html 4 only
    				}
    		},
    

    change options like you want…It’s just an idea for you…Have fun !

    L T 2 Replies Last reply May 19, 2020, 2:30 PM Reply Quote 1
    • L Offline
      lavolp3 Module Developer @chassain 0
      last edited by lavolp3 May 19, 2020, 2:30 PM May 19, 2020, 2:30 PM

      @chassain-0 That looks really good.

      @thymon I have pushed my initial work to
      https://github.com/lavolp3/MMM-Lotteries

      But as said, the API usage is not acceptable yet.
      Working with dummy data. it looks like this for now.
      6650c4bc-0072-40cc-96a3-8fc3caa71cf9-image.png

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

      S T 2 Replies Last reply May 19, 2020, 2:51 PM Reply Quote 0
      • S Away
        sdetweil @lavolp3
        last edited by May 19, 2020, 2:51 PM

        @lavolp3 when would it change? in node_helper only download then and use the file as the data source

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        L 1 Reply Last reply May 19, 2020, 2:59 PM Reply Quote 0
        • L Offline
          lavolp3 Module Developer @sdetweil
          last edited by May 19, 2020, 2:59 PM

          @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 May 19, 2020, 5:02 PM Reply Quote 0
          • ? Offline
            A Former User @lavolp3
            last edited by A Former User May 19, 2020, 5:03 PM May 19, 2020, 5:02 PM

            @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.

            L 1 Reply Last reply May 19, 2020, 7:12 PM Reply Quote 0
            • L Offline
              lavolp3 Module Developer @Guest
              last edited by May 19, 2020, 7:12 PM

              @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
              • T Offline
                thymon @lavolp3
                last edited by May 19, 2020, 9:38 PM

                @lavolp3 You are my man ! :D

                1 Reply Last reply Reply Quote 0
                • T Offline
                  thymon
                  last edited by thymon May 22, 2020, 12:07 AM May 21, 2020, 11:57 PM

                  @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
                  • T Offline
                    thymon
                    last edited by May 24, 2020, 9:19 PM

                    Ok sorry I found.

                    .MMM-Lotteries {
                    width : 400px;
                    }
                    
                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      thymon @chassain 0
                      last edited by May 24, 2020, 9:55 PM

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

                      1 Reply Last reply Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        18/24
                        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