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.
    • M Offline
      Mar
      last edited by

      This module currently only says loading for drivers and constructors. Is this because the season hasnt started yet?

      Is there a way to perhaps put a message/deactivate the module or something there if the season hasnt started?

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

        @Mar - Unfortunately we are in the hands of the API provider as to when the 2017 data is considered ‘current’.

        The work around is to make sure you have the latest version of the module then temporarily set the season option to ‘2017’, e.g.

                {
                    module: 'MMM-Formula1',
                    position: 'top_right',
                    header: 'F1 Standings',
                    config: {
                        season: '2017'
                    }
                },
        

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

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

          @ianperrin thank you for that, i was also more just curious that i didn’t implement it incorrectly. This is a workaround i can live with.
          Thank you.

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

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • W Offline
              wizz
              last edited by wizz

              @ianperrin I got a problem as in this below picture you see that the Driver and the constructor is separated but for me it is sitting together like this DriverConstructor.
              Also the F1 Race Schedule and the F1 Driver Standings is on the right hand side and not as in the picture. Any one know a solution?

              alt text

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

                @wizz said in MMM-Formula1 - Formula 1 Standings:

                @ianperrin

                @ianperrin or some one have an solution?

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

                                            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