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.
    • 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
                • T Offline
                  Tribun
                  last edited by

                  Hi,
                  I updated the module today and since then the Raspi has been running 10 ° C warmer. Electron has a much higher CPU usage.
                  If I deactivate the module, everything will go back to normal.

                  mfg

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    ctatos @Tribun
                    last edited by

                    @Tribun I can confirm this as well.

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

                      Original source format was changed yesterday, so you guys need to reinstall and reconfigure again. (read the README)

                      2.1.0 (2020-03-16)

                      • Whole refactored. (Orignial source format is changed.)
                      • Changed: the territory name rule is changed. (See configuration section)
                      • Changed: reduction of CPU usage (I hope.)
                      • added: drawGraph option to show graph or not.
                      • added: logTerritory option to log territory names.

                      @ctatos @Tribun
                      Refactored to reduce memory and CPU usage. Update and try again. (And I left some tips on README)

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

                        @Sean thx for the update…

                        position top_right
                        I have 5 tables, world, us, france, spain, italy… drawgraph:true…

                        graph isn’t seen… is it off screen?

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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

                          @sdetweil Show me config.

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

                            @Sean

                             {
                              module: "MMM-COVID-19",
                              position: "top_right",
                            config: {
                              debug:false,
                              scanInterval: 1000 * 60 * 60 * 3,
                              rotateInterval: 0, // 0 means no rotate
                              pinned: [ "World","US Total","France","Spain","Italy"],
                              reportTimeFormat: "YYYY.MM.DD hh a",
                              drawGraph: true,
                              }
                            }
                            

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

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

                              @sdetweil
                              Hmmm. For me no problem. There might be CSS collision with other module? (“.graph”)

                              And France means only mainland of France, not Sum of all territories of French.

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

                                @Sean hm… ok. graph to me means line graph (something different from what was displayed before)…
                                I have the table charts…

                                france mainland is what I wanted…

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

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

                                  @sdetweil
                                  To draw line graph needs canvas or other tricks. For me this enough. But if you have a PR, I will accept with welcome. :)

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

                                    @Sean ok, i had misunderstood… default is drawgraph:true, so it was no different than before

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

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

                                      ive reinstalled and now im only getting NZ graph showing and no world or spain or ireland, its solved the rise in cpu usage… hers my config code:

                                      // Covid-19
                                      		
                                      		{
                                      			module: "MMM-COVID-19",
                                      			header: "COVID-19",
                                      			position: "bottom_right",
                                      			config:{
                                      				scanInterval: 1000 * 60 * 60 * 12,
                                      				rotateInterval: 0,
                                      				detailProvince: true,
                                      				pinned: ["Ireland"],
                                      				pinned: ["Spain"],
                                      				pinned: ["New Zealand"],
                                      				myPosition: {latitude:-43.5523955, longitude:172.6328479, metric:"km",}, //or null. // reserved for later.
                                      				logProvinceCountry: false,
                                      				logOnce: true,
                                      		        	sortOrder: null,
                                      				reportTimeFormat: "YYYY.MM.DD hh a",
                                      				drawGraph: true,
                                      				}
                                      		},
                                      

                                      any ideas?

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

                                        @banbutcher pinned needs to be a single array w multiple names. See mine a few posts back. Also some names have changed

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

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

                                          @sdetweil

                                          yup that did it… is it possible to scale the sizes down?

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

                                            @banbutcher
                                            All magic mirror modules have their own css ([module name].css). Look inside of that file then find what you need and override it in your css/custom.css of MagicMirror. Sorry, MM is DIY project so there is no silver bullet out of box.

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