• 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 24.7k 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 @sdetweil
    last edited by Mar 16, 2020, 2:58 PM

    @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 Mar 16, 2020, 3:00 PM Reply Quote 0
    • S Offline
      sdetweil @Guest
      last edited by Mar 16, 2020, 3:00 PM

      @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 Mar 17, 2020, 1:52 AM Mar 17, 2020, 1:51 AM

        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 Mar 17, 2020, 3:32 AM Reply Quote 0
        • S Offline
          sdetweil @banbutcher
          last edited by Mar 17, 2020, 3:32 AM

          @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 Mar 17, 2020, 3:48 AM Reply Quote 0
          • B Offline
            banbutcher @sdetweil
            last edited by Mar 17, 2020, 3:48 AM

            @sdetweil

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

            ? R S 3 Replies Last reply Mar 17, 2020, 7:59 AM Reply Quote 0
            • ? Offline
              A Former User @banbutcher
              last edited by Mar 17, 2020, 7:59 AM

              @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 Mar 17, 2020, 9:10 AM

                @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 Mar 17, 2020, 1:25 PM

                  @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 Mar 20, 2020, 1:11 AM Mar 20, 2020, 12:31 AM

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

                      @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
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 5 / 8
                      5 / 8
                      • First post
                        46/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