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-Formula1 - Formula 1 Standings

    Scheduled Pinned Locked Moved Sport
    30 Posts 10 Posters 22.1k 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.
    • strawberry 3.141S Offline
      strawberry 3.141 Project Sponsor Module Developer @wizz
      last edited by

      @wizz i guess you have the modules on the right side of your mirror thats most likely why your text is aligned right. you can change that by adding the class align-left to the config or add a css rule in custom.css to do so.

      to add some spacing to the table you could add something like

      .MMM-Formula1 table {
          border-spacing: 10px 0;
          border-collapse: separate;
      }
      

      to your custom.css

      Please create a github issue if you need help, so I can keep track

      W 2 Replies Last reply Reply Quote 1
      • W Offline
        wizz @strawberry 3.141
        last edited by

        @strawberry-3.141 thanks will try tonight :)

        1 Reply Last reply Reply Quote 0
        • W Offline
          wizz @strawberry 3.141
          last edited by

          @strawberry-3.141 Well some improvments but still some issues. will try to fix that in the best way.

          strawberry 3.141S 1 Reply Last reply Reply Quote 0
          • strawberry 3.141S Offline
            strawberry 3.141 Project Sponsor Module Developer @wizz
            last edited by

            @wizz a screenshot of your ui would be great

            Please create a github issue if you need help, so I can keep track

            1 Reply Last reply Reply Quote 0
            • M Offline
              Mar
              last edited by

              I’m still not able to show two modules, one for drivers and one for constructors. When i disable one module the other works…but when i try to use both only the first one works?? How are people showing both?

                              {
                                      module: 'MMM-Formula1',
                                      //disabled: true,
                                      classes: 'PAGE2',
                                      position: 'top_right',
                                      header: 'F1 Driver Standings',
                                      config: {
                                              maxRows: 12
                                      }
                              },
                              {
                                      module: 'MMM-Formula1',
                                      //disabled: true,
                                      classes: 'PAGE2',
                                      position: 'top_right',
                                      header: 'F1 Constructor Standings',
                                      config: {
                                              type: 'CONSTRUCTOR'
                                      }
                              },
              
              R 1 Reply Last reply Reply Quote 0
              • P Offline
                Peter
                last edited by

                Did anyone find the 2018 season Formula 1 ICS?
                Peter

                strawberry 3.141S 1 Reply Last reply Reply Quote 0
                • strawberry 3.141S Offline
                  strawberry 3.141 Project Sponsor Module Developer @Peter
                  last edited by

                  @Peter from what i can see in the code is, that the module generates its own ics and doesn’t use a 3rd party ics. The data it uses therefore seems to be already updated, so by changing the season in config to 2018 you should be fine. season: 2018 or you wait until the default value 'current' gets changed automatically to 2018 here http://ergast.com/api/f1/current

                  Please create a github issue if you need help, so I can keep track

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    Peter @strawberry 3.141
                    last edited by

                    @strawberry-3.141 it works now (season set to 2018).
                    But as soon as I try to change the flag-checkered color in my custom css the calendar entries for Formula 1 are gone.
                    Any advice?
                    Peter

                    strawberry 3.141S 1 Reply Last reply Reply Quote 0
                    • strawberry 3.141S Offline
                      strawberry 3.141 Project Sponsor Module Developer @Peter
                      last edited by

                      @Peter what did you put in custom css

                      Please create a github issue if you need help, so I can keep track

                      P 1 Reply Last reply Reply Quote 0
                      • P Offline
                        Peter @strawberry 3.141
                        last edited by

                        @strawberry-3.141 solved!
                        There was an extra space in my config file just before flag-checkered.
                        Thanks for your help!
                        Peter

                        1 Reply Last reply Reply Quote 0
                        • F Offline
                          fabbr
                          last edited by fabbr

                          I can’t make the Calendar work … what am I doing wrong?

                          -Also, any way to have the formulaE? I saw that it uses almost the same API: https://ergast.com/mrd/formula-e-series-support/

                          Thanks !

                          	    {
                          		            module: 'MMM-Formula1',
                          		            position: 'top_right',
                          		            header: 'F1 Standings',
                          		            config: {
                          				   //calendar: 'true',
                          				    grayscale: false,
                          				    season: 2018,
                          				    showFooter: true,
                          				    calendar: true,
                          				    maxRows: 7
                          				                // Optional configuration options - see https://github.com/ianperrin/MMM-Formula1#configuration-options
                          				      }
                          	    },
                          		{
                          			module: "calendar",
                          			header: "F1-Schedule",
                          			position: "top_right",
                          			config: {
                          				calendars: [
                          					{
                          					//	maximumEntries: 4,
                          					//	symbol: "calendar-check-o ",
                          					//	url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics", 
                          						symbol: 'flag-checkered',
                          						url: 'http://localhost:8080/MMM-Formula1/schedule.ics'
                          					}
                          				]
                          			}
                          		},```
                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            Peter
                            last edited by

                            Does anybody see the new 2018 standings after yesterdays races?
                            I don’t and I even don’t see the next races in my calendar any more.

                            Peter

                            F 1 Reply Last reply Reply Quote 0
                            • F Offline
                              fabbr @Peter
                              last edited by

                              @Peter Hey Peter, I just checked and mine is working ok and showing today’s results.

                              If yours are still not showing anything, send us your config code of this module and we can try to help you out

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

                                Problem solved: localhost 8080 was in use with another module I was experimenting with.
                                It works fine now.
                                Thanks!
                                Peter@fabbr

                                I 1 Reply Last reply Reply Quote 1
                                • I Offline
                                  ianperrin @Peter
                                  last edited by

                                  @Peter it’s worth noting that the API isn’t immediately updated following each race so hang in there, the data usually updates by the end of the same day of the race

                                  "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

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

                                    I am missing the country flag of Charles Leclerc (Monaco).
                                    Can somebody give me a hint how to fix this?
                                    Peter

                                    I 1 Reply Last reply Reply Quote 0
                                    • I Offline
                                      ianperrin @Peter
                                      last edited by

                                      @Peter just checking whether you are using the latest version of the module? If not, try updating

                                      I added a fix last year to support Monegasque as a nationality for Charles Leclerc.

                                      F1Standings.png

                                      "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

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

                                        @ianperrin Thanks! That solved the problem!

                                        1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          RoddyJoff @Mar
                                          last edited by

                                          @Mar Hi, bit of a long shot but did you ever solve this problem?

                                          I too can only display one module at a time.

                                          Cheers

                                          1 Reply Last reply Reply Quote 0
                                          • C Offline
                                            Christiaan99
                                            last edited by Christiaan99

                                            @ianperrin for some reason the calendar is not showing up.

                                            I did all the steps from the github page including the localhost:8080 link and a update but is not working.

                                            Is it for you still working?

                                            EDIT:

                                            The command log shows:
                                            Create new calendar fetcher for url: http://localhost:8080/MMM-Formula1/schedule.ics - interval: 3000000
                                            Calendar Error, could not fetch calendar: url: http://localhost:8080/MMM-Formula1/schedule.ics…
                                            error: invalid url: “http://localhost:8080/MMM-Formula1/schedule.ics”

                                            1 Reply 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
                                            • 1 / 2
                                            • 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