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.8k 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 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 Offline
        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
            • R Offline
              retroflex Project Sponsor Module Developer @banbutcher
              last edited by

              @banbutcher Another tip to easier find the css class for a certain text… use the Chrome developer tools where you can see all elements and their css attributes graphically.

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

                @banbutcher I turned off the little graph at the bottom, drawgraph:false to save space

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • W Offline
                  war6000
                  last edited by sdetweil

                  @Sean I just wanted to thank you for your work; also it would be helpful to note in GitHub that by setting

                  rotateInterval:0
                  

                  it also disables the third slot (if users only need 2 slots). Again Thank you very much for your work.

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

                    @war6000
                    :) Thanks for your mention. Frankly, it is described in README already

                     rotateInterval: 1000 * 5, // 0 means no rotate
                    

                    But I agree it is somewhat not obvious.

                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      wi_brewer
                      last edited by wi_brewer

                      Anybody know why I’m getting this error when I try to start MM?

                      PHOTO

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

                        @wi_brewer What is your node version? (node -v)

                        W 1 Reply Last reply Reply Quote 0
                        • W Offline
                          wi_brewer @Guest
                          last edited by

                          @Sean v7.10.1

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

                            @wi_brewer
                            Too low to run this module. Sorry.

                            W 1 Reply Last reply Reply Quote 0
                            • W Offline
                              wi_brewer @Guest
                              last edited by

                              @Sean Thanks for the quick replies. What’s the minimum version required?

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

                                @wi_brewer
                                I think to use async arrow function, At least node 8 be needed.
                                Current Most Recent version is 13.11 and Most recommended version is 12.16 at this moment.
                                And MagicMirror install guide usually assumes 10.x

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  siggmur
                                  last edited by

                                  Possible to add some sort of scaling?

                                  ? 1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    mrdenmark
                                    last edited by

                                    at the moments i have 2 slots,the first is world total and the second rotates through all the affected countries-can i change the second to rotate though a defined range of countries instead? i don’t have enough scrren space to give each country its own slot.

                                    ? 1 Reply Last reply Reply Quote 0
                                    • L Offline
                                      luxiouronimo
                                      last edited by

                                      heya, thanks for the module; here’s what myne is looking like with some custom css:

                                      https://imgur.com/a/1y61O7L

                                      can we get a thousands separator? personally i’d like a comma, but i gather folks in other regions might prefer a period, so the option for either would be useful…

                                      also the US Total numbers don’t seem right; there’s a blue bar a few days ago, but no R or NR, but then again, perhaps the data is outta whack or the api is changing as i now see negative numbers in various places…

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

                                        @siggmur

                                        Possible to add some sort of scaling?

                                        What kind of scaling are you meaning? Sorry, I’m not good at English, So more detailed explanation or example be needed.

                                        S 1 Reply Last reply Reply Quote 1
                                        • ? Offline
                                          A Former User @mrdenmark
                                          last edited by

                                          @mrdenmark
                                          Hmmmm… will consider, but for that, You have to describe all regions to be displayed. I’m not sure it’s really useful or convenience or not. (At this moment, total regions might be over 300s. and not regulated in origianl source)

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

                                            @luxiouronimo
                                            thousands separator is added. comma or period or any characters you can use.
                                            At this moment, I’m fixing US total bug. Unfortunately, Original Data of Johns Hopkins Univ might have some invalid format data, (It might be fixed sometimes by who discover it), so I will change to handle data more gracefully or safely.

                                            S 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