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

    Scheduled Pinned Locked Moved Health
    11 Posts 4 Posters 4.5k Views 4 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.
    • mumblebajM Offline
      mumblebaj Module Developer
      last edited by mumblebaj

      I have had an issue with the MMM-COVID19 module as it has stopped pulling stats since the 2nd March 2022. I decided t0 make my own from a different source. No API keys required. :clinking_glasses:

      See Github module page:
      MMM-CovidStats
      In order to get the module you need to follow these steps:

      Module includes a country flag for the selected countries to display.
      Module is best positioned in position middle_center

      cd ~/MagicMirror/modules
      git clone https://github.com/mumblebaj/MMM-CovidStats.git
      cd MMM-CovidStats
      npm install
      

      Options:

      • Include multiple countries

      • Include World Stats

      Screenshots
      CovidStats .png

      Check out my modules at: https://github.com/mumblebaj?tab=repositories
      Check my blog-post: https://mumblebaj.xyz/
      Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

      thgmirrorT 1 Reply Last reply Reply Quote 1
      • thgmirrorT Offline
        thgmirror @mumblebaj
        last edited by

        @mumblebaj
        Hey, works like a charm!!!

        Is it possible, to exclude a column? For example “Recovered”…not every country (Peru, Norway) seems to send the data.
        And it would save some space:-)

        But thank you for the nice module.
        Thomas

        mumblebajM 1 Reply Last reply Reply Quote 0
        • mumblebajM Offline
          mumblebaj Module Developer @thgmirror
          last edited by

          @thgmirror Thanks. I will have a look at that. Maybe for the next feature of the module. Just have a busy few days coming up with work and Easter.

          Check out my modules at: https://github.com/mumblebaj?tab=repositories
          Check my blog-post: https://mumblebaj.xyz/
          Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

          1 Reply Last reply Reply Quote 0
          • M Offline
            mayfield
            last edited by

            Great job on this module, I really like it. What options are there to sort by?

            thgmirrorT 1 Reply Last reply Reply Quote 0
            • thgmirrorT Offline
              thgmirror @mayfield
              last edited by

              @mayfield
              Your favorite countries appear in the sequence you add them in the config.js:

              countries: ["DEU","NLD","PER","FRA","DNK","NOR","SWE","FIN"],
              

              Thomas

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                mayfield @thgmirror
                last edited by

                @thgmirror No I ment the sort by option in the config
                alt text

                mumblebajM 2 Replies Last reply Reply Quote 0
                • mumblebajM Offline
                  mumblebaj Module Developer @mayfield
                  last edited by

                  @mayfield The sortby option is not working from the API perspective. Will look at another way to implement the sortby option

                  Check out my modules at: https://github.com/mumblebaj?tab=repositories
                  Check my blog-post: https://mumblebaj.xyz/
                  Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                  1 Reply Last reply Reply Quote 0
                  • mumblebajM Offline
                    mumblebaj Module Developer @mayfield
                    last edited by

                    @mayfield Have updated with the option for sortBy. You can use one of the following options

                    Possible values: cases, todayCases, deaths, todayDeaths, recovered, active

                    Just do a git pull

                    Check out my modules at: https://github.com/mumblebaj?tab=repositories
                    Check my blog-post: https://mumblebaj.xyz/
                    Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                    1 Reply Last reply Reply Quote 0
                    • 0m4r0 Offline
                      0m4r Module Developer
                      last edited by 0m4r

                      [edited]
                      Apologies. I read it quickly and did not get you were adv your own module.

                      https://github.com/0m4r

                      mumblebajM 1 Reply Last reply Reply Quote 1
                      • mumblebajM Offline
                        mumblebaj Module Developer @0m4r
                        last edited by

                        @0m4r Way to go, promoting your own module on my module page…

                        Check out my modules at: https://github.com/mumblebaj?tab=repositories
                        Check my blog-post: https://mumblebaj.xyz/
                        Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                        mumblebajM 1 Reply Last reply Reply Quote 0
                        • mumblebajM Offline
                          mumblebaj Module Developer @mumblebaj
                          last edited by

                          Hi All

                          Updates

                          Updated data sources to new version of API.

                          To Update

                          cd ~/MagicMirror/modules
                          cd MMM-CovidStats
                          git pull && npm install
                          

                          Check out my modules at: https://github.com/mumblebaj?tab=repositories
                          Check my blog-post: https://mumblebaj.xyz/
                          Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                          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