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 updates

    Scheduled Pinned Locked Moved Sport
    18 Posts 8 Posters 4.6k 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.
    • H Offline
      heronlen
      last edited by

      Thank you for doing this!

      1 Reply Last reply Reply Quote 0
      • AssassinsA Offline
        Assassins
        last edited by

        Nice, i Will try it next week, and translate the rest to danish. Good work.

        cirdanC 1 Reply Last reply Reply Quote 0
        • cirdanC Offline
          cirdan @Assassins
          last edited by

          @Assassins thanks for the translations, I did a few myself but my danish is rusty ;-)

          Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

          1 Reply Last reply Reply Quote 0
          • bugsounetB bugsounet referenced this topic on
          • JerryPJ Offline
            JerryP
            last edited by

            @cirdan

            nice

            1 Reply Last reply Reply Quote 0
            • S Offline
              stephenmelody
              last edited by

              @cirdan - is there any way you can incorporate live timings during practice, qualifying, race etc? It would be really nice to see how the race is going on the mirror. Similar to other sports modules that update the score in near-realtime.

              Thanks!

              cirdanC 1 Reply Last reply Reply Quote 0
              • cirdanC Offline
                cirdan @stephenmelody
                last edited by

                @stephenmelody hi Stephen,
                The api we use only updates the standings after the race. So currently this is not possible.

                That said, the api is deprecated end of season. I have my eyes on another api that currently has live timing, and is about to add standings. That would be a bigger project. Perhaps a christmas project.

                Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

                S S 2 Replies Last reply Reply Quote 0
                • S Offline
                  sdetweil @cirdan
                  last edited by

                  @cirdan would this be a candidate for the njk template

                  you format the html in a sep file with loop logic and if/then/else

                  in your module you collect a data object ( which you do already) and let the njk do the layout work.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  cirdanC 1 Reply Last reply Reply Quote 0
                  • cirdanC Offline
                    cirdan @sdetweil
                    last edited by

                    @sdetweil hi Sam,

                    The module allready use a njk template. do you see further improvements or did you just miss the njk usage?

                    Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @cirdan
                      last edited by

                      @cirdan I looked at your repo, and didn’t see an njk…must be blind this morning…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      cirdanC 1 Reply Last reply Reply Quote 0
                      • cirdanC Offline
                        cirdan @sdetweil
                        last edited by

                        @sdetweil lol. But your sugestion was good. 😀

                        Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          stephenmelody @cirdan
                          last edited by

                          @cirdan Thanks! are you looking at this one: https://openf1.org/?javascript#introduction

                          cirdanC 1 Reply Last reply Reply Quote 0
                          • cirdanC Offline
                            cirdan @stephenmelody
                            last edited by

                            @stephenmelody yep, thats the one. the roadmap page indicates driver standings for the championschip. https://openf1.org/?javascript#roadmap

                            Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

                            S 1 Reply Last reply Reply Quote 0
                            • S Offline
                              stephenmelody @cirdan
                              last edited by

                              @cirdan sounds good. The bit I’m looking for is probably the positions call, getting the in-session positions through a race/quali

                              https://openf1.org/?javascript#position

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