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

Scheduled Pinned Locked Moved Health
63 Posts 25 Posters 21.1k 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 bibaldo Mar 22, 2020, 8:03 PM Mar 20, 2020, 3:27 PM

    Description
    MMM-COVID19 allows you to track reported cases of Corona Virus (COVID-19) around the globe.
    It has a simple interface and you can put which countries do you want to be listed.

    The repo is https://github.com/bibaldo/MMM-COVID19 and feel free to open any Issue (suggestions and ideas are more than welcome)

    Credits
    The data is being updating in real time from rapidadpi API

    Screenshot

    1 Reply Last reply Reply Quote 3
    • S Offline
      start-the-fire
      last edited by Mar 21, 2020, 5:43 PM

      Hi bibaldo,

      thanks for this minimal COVID19 stat for the MMM.
      Would it be possible to add the world state to the module as well?

      Stay safe & healthy

      1 Reply Last reply Reply Quote 1
      • B Offline
        bibaldo
        last edited by Mar 21, 2020, 8:39 PM

        Yes, it would be nice to have it as an option. I will do my best

        1 Reply Last reply Reply Quote 0
        • B Offline
          bibaldo
          last edited by Mar 21, 2020, 10:56 PM

          @start-the-fire I’ve updated the module in order to have worldStats support. You can enable/disable it via config

          Enjoy

          S S 2 Replies Last reply Mar 21, 2020, 11:13 PM Reply Quote 2
          • S Offline
            sdetweil @bibaldo
            last edited by Mar 21, 2020, 11:13 PM

            @bibaldo cool… could u not sort the country list

            I have 3 of these showing reports… (all different of course)…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Offline
              start-the-fire @bibaldo
              last edited by Mar 22, 2020, 4:09 PM

              @bibaldo Thank you very much

              Looks great - One visual add-on towards headerRowClass would be the option to change also the size of the country names and the numbers. Those are quite big.
              I think the best would be to add two additional size classes for the country/numbers and one of the main header

              All the best!

              1 Reply Last reply Reply Quote 0
              • B Offline
                bobwilliams
                last edited by Mar 22, 2020, 5:57 PM

                how to resize letters

                1 Reply Last reply Reply Quote 1
                • A Offline
                  almostgithub
                  last edited by almostgithub Mar 22, 2020, 7:11 PM Mar 22, 2020, 6:49 PM

                  Love how simple this looks! Having a little trouble pulling from the API however… I put in my API key but nothing displays under the “confirmed Deaths recovered active” header bar.

                  Not getting any errors, only thing i changed was adding in the x-rapidapi key from the link. do i need to add the host as well?

                  Thanks and stay safe! @bibaldo

                  ? 1 Reply Last reply Mar 26, 2020, 12:29 PM Reply Quote 0
                  • B Offline
                    bibaldo
                    last edited by Mar 22, 2020, 7:54 PM

                    @bobwilliams I’ve added new configuration for the letter font-size. Please read again the README

                    @almostgithub you have to put your rapidapikey at your global config file only.
                    If you have more issues, please output here your logs.

                    A 1 Reply Last reply Mar 22, 2020, 9:54 PM Reply Quote 0
                    • A Offline
                      almostgithub @bibaldo
                      last edited by Mar 22, 2020, 9:54 PM

                      @bibaldo No errors or warnings related to the COVID-19 module in my logs. In my main config.js file i just copied your sample and then changed the API key. Was i supposed to do anything else?

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 1 / 7
                      1 / 7
                      • First post
                        6/63
                        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