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

Scheduled Pinned Locked Moved Health
71 Posts 16 Posters 20.4k 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.
  • X Offline
    x5nder
    last edited by Mar 12, 2020, 2:29 PM

    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 Mar 12, 2020, 3:04 PM Reply Quote 0
    • ? Offline
      A Former User @x5nder
      last edited by Mar 12, 2020, 3:04 PM

      @x5nder
      I’ll see.

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @x5nder
        last edited by Mar 12, 2020, 3:22 PM

        @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 Mar 13, 2020, 4:40 PM

          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 Mar 13, 2020, 4:44 PM Reply Quote 0
          • ? Offline
            A Former User @najtram
            last edited by A Former User Mar 13, 2020, 4:45 PM Mar 13, 2020, 4:44 PM

            @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 Mar 15, 2020, 7:05 AM

              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 Mar 15, 2020, 7:08 AM Reply Quote 0
              • ? Offline
                A Former User @banbutcher
                last edited by Mar 15, 2020, 7:08 AM

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

                B 1 Reply Last reply Mar 15, 2020, 7:15 AM Reply Quote 0
                • ? Offline
                  A Former User @banbutcher
                  last edited by Mar 15, 2020, 7:15 AM

                  @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 Mar 15, 2020, 7:15 AM

                    @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 Mar 15, 2020, 7:15 AM Reply Quote 0
                    • ? Offline
                      A Former User @banbutcher
                      last edited by Mar 15, 2020, 7:15 AM

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

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