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 3.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.
    • cirdanC Offline
      cirdan @Peter
      last edited by

      @Peter thanks.
      it is not possible to alternate between driver and schedule, only between driver/constructor standings

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

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

        @cirdan ok, Thanks for your fast reply.
        Peter

        1 Reply Last reply Reply Quote 0
        • 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
                        • 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