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

    Scheduled Pinned Locked Moved Health
    63 Posts 25 Posters 33.7k Views 24 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.
    • B Offline
      bibaldo
      last edited by

      @Lordy what language do they speak? I can add the translations for them

      LordyL 1 Reply Last reply Reply Quote 0
      • B Offline
        bibaldo
        last edited by

        @Zinkeler Guten Tag

        I will add German to the translations

        1 Reply Last reply Reply Quote 0
        • B Offline
          bibaldo
          last edited by

          https://forum.magicmirror.builders/topic/12408/mmm-countup-covid19-example

          If you want a counter for your Quarantine

          rafaelcotaR 1 Reply Last reply Reply Quote 0
          • rafaelcotaR Offline
            rafaelcota @asdean
            last edited by

            @asdean
            I second that, but not only for states in USA, other countries have them too! If the source data is store disaggregated maybe is just a matter of knowing under what names and there’s no need to change anything in module.
            For example:
            countries: [ “Buenos Aires, Argentina”, “Kentucky, USA”, “Sonora, Mexico” ]

            Could this be done?

            1 Reply Last reply Reply Quote 0
            • rafaelcotaR Offline
              rafaelcota @bibaldo
              last edited by

              @bibaldo Any way to change the color of the fonts for MMM-CountUP? CSS maybe?

              rafaelcotaR 1 Reply Last reply Reply Quote 0
              • B Offline
                bibaldo
                last edited by

                @rafaelcota yes, you can change them at the css located in the module folder

                1 Reply Last reply Reply Quote 0
                • rafaelcotaR Offline
                  rafaelcota @rafaelcota
                  last edited by

                  @rafaelcota nevermind, found it:

                  .countUP tr td.digits {
                  color: #ffffff;
                  }

                  in custom.css

                  Than you anyway…

                  B 1 Reply Last reply Reply Quote 0
                  • B Offline
                    bibaldo
                    last edited by

                    @asdean the API that I’m consuming the info has an endpoint for USA states (https://coronavirus-monitor.p.rapidapi.com/coronavirus/usastates.php). You can change that if you want but another modifications have to be done at the code. You can open a PR (Pull request) if you want.

                    All can be done, but it will require too much effort for just one country (USA in this case). PR are very welcome

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      bibaldo @rafaelcota
                      last edited by

                      @rafaelcota said in MMM-COVID19:

                      n custom.css

                      yes, perfect

                      1 Reply Last reply Reply Quote 0
                      • LordyL Offline
                        Lordy @bibaldo
                        last edited by

                        @bibaldo
                        I would like to add German to the translations. :thumbs_up_light_skin_tone:

                        1 Reply Last reply Reply Quote 0
                        • ? Offline
                          A Former User @almostgithub
                          last edited by

                          @almostgithub
                          I just had to wait for like 10 minutes while my Internet caught up. Try waiting.

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            bibaldo
                            last edited by

                            @irich @Lordy

                            Translations were added
                            https://github.com/bibaldo/MMM-COVID19/commit/f6ddc82d47096089ae9122ed94919062dcd827e3

                            Z LordyL 2 Replies Last reply Reply Quote 1
                            • Z Offline
                              Zinkeler @bibaldo
                              last edited by

                              @bibaldo thank you :-)

                              1 Reply Last reply Reply Quote 0
                              • LordyL Offline
                                Lordy @bibaldo
                                last edited by

                                @bibaldo Great, Thank You:thumbs_up_light_skin_tone:

                                1 Reply Last reply Reply Quote 0
                                • ? Offline
                                  A Former User @Guest
                                  last edited by

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

                                    I don’t know what I am doing wrong, I can’t get it to work.

                                    I have that in my config:

                                     {
                                        module: 'MMM-COVID19',
                                        positon: "top_left",
                                        config: {
                                          updateInterval: 300000,
                                          worldStats: true,
                                          countries: ["Germany","USA"],
                                          headerRowClass: "small",
                                          rapidapiKey: "API_KEY"
                                        }
                                      },
                                    

                                    when I execute the curl command posted here I also get an output with my API key.

                                    I am not 100% sure what is meant with “posting it twice”, why would that be?

                                    Thank you for any help!

                                    Edit: MM is loading normally - no errors. the module is just not there

                                    H 1 Reply Last reply Reply Quote 0
                                    • H Offline
                                      hweigel @Saeijou
                                      last edited by

                                      @Saeijou said in MMM-COVID19:

                                      positon

                                      Hey @Saeijou,

                                      try using

                                      position: "top_left",
                                      

                                      instead of

                                      positon: "top_left",
                                      

                                      That should do the trick :-)

                                      S 1 Reply Last reply Reply Quote 1
                                      • S Offline
                                        Saeijou @hweigel
                                        last edited by

                                        @hweigel OH MY GOODNESS!!! I debugged that thing for HOURS! thank you so much :)

                                        1 Reply Last reply Reply Quote 1
                                        • K Offline
                                          KD
                                          last edited by sdetweil

                                          Hi Guys, I cannot get this to work - not sure what i am doing wrong…i can only see the header displaying and nothing else… please help! my config looks like this:

                                            {
                                                              module: 'MMM-COVID19',
                                                                position: "bottom_right",
                                                                config: {
                                                                header: "COVID-19 Stats",
                                                                worldStats: true,
                                                                rapidapiKey: "My Rapidapikey",
                                                                orderCountriesByName: "false",
                                                                countries: [ "Austria", "Germany", "Italy" ],
                                                                updateInterval: 10000000,
                                                                lastUpdateInfo: "true",
                                                                headerRowClass: "small",
                                                                infoRowClass: "medium",
                                                                      }
                                                            },
                                          

                                          Many Thanks in advance

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

                                            @KD please use code block marks , mark the text and hit the </> button

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            K 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
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • 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