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 3.0k 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

      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

          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

                  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

                    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

                        mumblebajM 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