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-COVID-19 (Deprecated)

    Scheduled Pinned Locked Moved Health
    71 Posts 16 Posters 33.6k Views 16 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.
    • ? Offline
      A Former User
      last edited by

      New Updates

      2.0.0 (2020-03-04)

      • Whole new build. (npm install is needed to update)
      • Removed: depedency of external API. Data is derived from original source directly.
      • Removed: some overspec config options.
      • Added: past 7-days bar graph.
      • Added: new confirmed, new deaths, new recovered of 1 day before (… of update date)
      • Added : info section, last reported time, distance from me.
      • Changed : multi pinned. pin key format changed.
      • Chagned : more controllable by CSS.

      Screenshot

      lavolp3L 1 Reply Last reply Reply Quote 2
      • lavolp3L Offline
        lavolp3 Module Developer @Guest
        last edited by

        @Sean Looks veeeery good! Nice work! I can scrap my fork now :-)

        How to troubleshoot modules
        MMM-soccer v2, MMM-AVStock

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

          @lavolp3
          You can hide deaths for your wife.

          .covid .deaths {
            display:none;
          }
          

          lavolp3L 1 Reply Last reply Reply Quote 0
          • lavolp3L Offline
            lavolp3 Module Developer @Guest
            last edited by

            @Sean :face_with_tears_of_joy:
            No, that’s not enough.
            I keep this on my development dashboard

            How to troubleshoot modules
            MMM-soccer v2, MMM-AVStock

            1 Reply Last reply Reply Quote 0
            • X Offline
              x5nder
              last edited by

              The World Total doesn’t show numbers anymore, but instead it just comes back with ‘NaN’. How can we fix this?

              ? 2 Replies Last reply Reply Quote 0
              • ? Offline
                A Former User @x5nder
                last edited by

                @x5nder
                I’ll see.

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

                  @x5nder
                  There was some invalid data schemes in original source. I fixed urgently now. (But I’ll inspect deeper tomorrow)

                  1 Reply Last reply Reply Quote 1
                  • N Offline
                    najtram
                    last edited by

                    Would it be possible to see only one country? I see tree results when just one country is configured. Would it be possible to remove World total, and the country slideshow below.

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

                      @najtram
                      First, set pinned only one region.
                      To remove THIRD whole region rotation, set rotateInterval:0
                      To remove World Total, Hmmmm… There is a trick. add this into your css/custom.css

                      .covid .item.total {
                        display:none;
                      }
                      
                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        banbutcher
                        last edited by

                        is it possible to set the third slot to a specific country?
                        and if possible to add more countries? slot 4?

                        ? 2 Replies Last reply Reply Quote 0
                        • ? Offline
                          A Former User @banbutcher
                          last edited by

                          @banbutcher
                          “pinned” is array, so you can add as many as possible in screen.

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

                            @banbutcher

                            pinned: [“Diamond Princess cruise ship, Others”, “Mainland China”, “South Korea”],

                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              banbutcher @Guest
                              last edited by

                              @Sean

                              i tried addind a second country with this code:

                              		{
                              			module: "MMM-COVID-19",
                              			header: "COVID-19",
                              			position: "bottom_left",
                              			config:{
                              				scanInterval: 1000 * 60 * 60 * 12,
                              				rotateInterval: 0,
                              				detailProvince: true,
                              				pinned: ["Ireland"],
                              				pinned: ["New Zealand"],
                              				logProvinceCountry: false,
                              				logOnce: true,
                              		        	sortOrder: null,				}
                              		},
                              
                              

                              no joy tho with second country!

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

                                @banbutcher
                                pinned: [“Diamond Princess cruise ship, Others”, “Mainland China”, “South Korea”],

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

                                  its showing iew zealand and not ireland

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

                                    does it throttle alyone elses cpu? running top shows electron using it all? is this normal?

                                    1 Reply Last reply Reply Quote 0
                                    • S Do not disturb
                                      sdetweil
                                      last edited by sdetweil

                                      can u describe the data labels?
                                      never mind read the code and its NEW confirmed/dead/recovered) as compared to last reported data

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      ? iMAGiCI 2 Replies Last reply Reply Quote 0
                                      • ? Offline
                                        A Former User @sdetweil
                                        last edited by

                                        @sdetweil
                                        Sorry for no convenience. C/D/R are Confirmed, Deaths, Recovered. NC/ND/NR are new ...
                                        You can change labels on CSS.

                                        1 Reply Last reply Reply Quote 0
                                        • iMAGiCI Offline
                                          iMAGiC @sdetweil
                                          last edited by

                                          @sdetweil

                                          Like this?
                                          Pictures

                                          Choice * Judgment * Values

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil @iMAGiC
                                            last edited by

                                            @iMAGiC i just didn’t know what the N? labels meant… sometimes cant see the forest because of all the trees!!

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            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
                                            • 3 / 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