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

Scheduled Pinned Locked Moved Health
11 Posts 4 Posters 2.6k 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.
  • M Online
    mumblebaj Module Developer
    last edited by mumblebaj Apr 13, 2022, 8:20 AM Apr 13, 2022, 8:19 AM

    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

    T 1 Reply Last reply Apr 13, 2022, 9:54 AM Reply Quote 1
    • T Offline
      thgmirror @mumblebaj
      last edited by Apr 13, 2022, 9:54 AM

      @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

      M 1 Reply Last reply Apr 13, 2022, 2:38 PM Reply Quote 0
      • M Online
        mumblebaj Module Developer @thgmirror
        last edited by Apr 13, 2022, 2:38 PM

        @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 Apr 17, 2022, 7:33 AM

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

          T 1 Reply Last reply Apr 17, 2022, 9:51 AM Reply Quote 0
          • T Offline
            thgmirror @mayfield
            last edited by Apr 17, 2022, 9:51 AM

            @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 Apr 17, 2022, 10:29 AM Reply Quote 0
            • M Offline
              mayfield @thgmirror
              last edited by Apr 17, 2022, 10:29 AM

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

              M 2 Replies Last reply Apr 17, 2022, 11:38 AM Reply Quote 0
              • M Online
                mumblebaj Module Developer @mayfield
                last edited by Apr 17, 2022, 11:38 AM

                @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
                • M Online
                  mumblebaj Module Developer @mayfield
                  last edited by Apr 17, 2022, 3:50 PM

                  @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
                  • 0 Offline
                    0m4r Module Developer
                    last edited by 0m4r Apr 17, 2022, 7:36 PM Apr 17, 2022, 7:11 PM

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

                    https://github.com/0m4r

                    M 1 Reply Last reply Apr 17, 2022, 7:26 PM Reply Quote 1
                    • M Online
                      mumblebaj Module Developer @0m4r
                      last edited by Apr 17, 2022, 7:26 PM

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

                      Check out my modules at: https://github.com/mumblebaj?tab=repositories

                      M 1 Reply Last reply Jul 3, 2022, 7:41 AM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        4/11
                        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