Read the statement by Michael Teeuw here.
MMM-COVID-19 (Deprecated)
-
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) -
@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?
-
@sdetweil Show me config.
-
@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, } }
-
@sdetweil
Hmmm. For me no problem. There might be CSS collision with other module? (“.graph”)
And
France
means only mainland ofFrance
, not Sum of all territories of French. -
@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…
-
@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. :) -
@Sean ok, i had misunderstood… default is drawgraph:true, so it was no different than before
-
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?
-
@banbutcher pinned needs to be a single array w multiple names. See mine a few posts back. Also some names have changed