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

MMM-Formula1 updates

Scheduled Pinned Locked Moved Sport
18 Posts 8 Posters 2.0k 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.
  • A Offline
    Assassins
    last edited by Mar 31, 2024, 9:02 AM

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

    C 1 Reply Last reply Mar 31, 2024, 9:51 AM Reply Quote 0
    • C Offline
      cirdan @Assassins
      last edited by Mar 31, 2024, 9:51 AM

      @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
      • B bugsounet referenced this topic on Mar 31, 2024, 10:24 AM
      • J Offline
        JerryP
        last edited by Mar 31, 2024, 3:36 PM

        @cirdan

        nice

        1 Reply Last reply Reply Quote 0
        • S Offline
          stephenmelody
          last edited by Jul 5, 2024, 2:38 PM

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

          C 1 Reply Last reply Jul 5, 2024, 3:58 PM Reply Quote 0
          • C Offline
            cirdan @stephenmelody
            last edited by Jul 5, 2024, 3:58 PM

            @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 Jul 5, 2024, 4:21 PM Reply Quote 0
            • S Offline
              sdetweil @cirdan
              last edited by Jul 5, 2024, 4:21 PM

              @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

              C 1 Reply Last reply Jul 5, 2024, 4:45 PM Reply Quote 0
              • C Offline
                cirdan @sdetweil
                last edited by Jul 5, 2024, 4:45 PM

                @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 Jul 5, 2024, 5:10 PM Reply Quote 0
                • S Offline
                  sdetweil @cirdan
                  last edited by Jul 5, 2024, 5:10 PM

                  @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

                  C 1 Reply Last reply Jul 5, 2024, 5:31 PM Reply Quote 0
                  • C Offline
                    cirdan @sdetweil
                    last edited by Jul 5, 2024, 5:31 PM

                    @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 Jul 6, 2024, 3:45 PM

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

                      C 1 Reply Last reply Jul 6, 2024, 3:54 PM Reply Quote 0
                      • 1
                      • 2
                      • 2 / 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