Read the statement by Michael Teeuw here.
MMM-CountUP (COVID19 example)
-
@bhepler The read me for this module shows the date format as YYYY-MM-DD so I entered 2020-03-16 because I wanted it to run from 16th March 2020 which up until today is 33 days, but it only shows 2 days on the Mirror?
-
@Bromley47 try 2020-02-16
I bet he didn’t adjust the month. Date/moment code uses 0 as january
I opened issue on the module github site
https://github.com/bibaldo/MMM-CountUP/issues/3 -
@sdetweil Hi Sam - thanks for your continued interest in this - I tried the 2020-02-16 date but still showing 2 day??
-
@Bromley47 ok, so the problem is in default (showFullDate = false) he truncates the year/month/week count,
but does NOT adjust number of days… my original guess was wrong, so the date is the one u want to count from.I have submitted a pull request to fix this…
||
|| bibaldo’s repo has integrated the fix i provided, I am closing my repo
|| May 8, 2020
||when he merges my fix, you can git pull in the .original folder
rename them back and delete mine -
@sdetweil Fantastic Sam - many thanks - managed to edit with the help of my son who’s well into JavaScript (says it pays the mortgage!) and now shows the correct number of days etc. The remaining problem I have is that to restart the MM when I have done any mods. (such as this one) I have to power off the Raspberry O, which is a bit of a faff. I have tried to use the instructions on git hub by MichMich (Auto starting Magic Mirror) but when I run pm2 restart mm it says Process or Namespace mm not found.
I can only think the Magic Mirror is called by another name but how do I find that out?pi@raspberrypi:~ $ pm2 restart mm
Use --update-env to update environment variables
[PM2][ERROR] Process or Namespace mm not found -
@Bromley47 pm2 status will show the names… if u used my installation script it is call MagicMirror
you can also use the number pm2 restart 0 -
@Bromley47 so you didn’t use my repo with the fix?
-
@sdetweil id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 0 │ mmstart │ fork │ 0 │ online │ 0% │ 2.4mb │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴─── -
@sdetweil yes used yours and reverted back to 3 for the month and now showing correct number of days
-
@Bromley47 so pm2 restart mmstart
-
@sdetweil that worked thanks again for your valued assistance I will get the hang of this one day (I’ve got plenty of time!)
-
@sdetweil I’m using your fixed repo on two installs of MagicMirror, both completely up to date. One shows the correct number of days, hours, minutes and seconds, and the second does not. I copied my config from the working one to the not working one to ensure they are the same, and even deleted and reinstalled your repo on the not working one just now. I’m really confused by this.

Not working on left; working on right. Date I’m basing this on is 2020-03-17. Any ideas what could be wrong?
-
@sonicgoose I think on the left is the original repo, not my updated version
Please do git remote -v from the module folder to see the source repo
-
@sdetweil You’re right, it is the original. But how? I removed the entire folder and did a git pull again from your repo!
-
@sdetweil Well I don’t get it but I just did an rm -R on modules/MMM-CountUp again and once again did a git clone from your repo and now it works fine. Thanks for your help.
-
||
|| bibaldo’s repo has integrated the fix i provided, I am closing my repo
|| May 8, 2020
|| -
Anyone know how to make the header font bigger.
I have the rest of it figured out and working just can not find the Header part.
This is what I have tried.color: orange; font-size: 60px; }AND
color: orange; font-size: 60px; } -
@plainbroke module header?
-
@sdetweil
Sorry, brain fart.
Yes module header.
Did you find something?
I looked for an hour and then tried these.
But no go…
It is still really little and gray..countUP tr td.header { color: orange; font-size: 60px; } .countUP .header { color: orange; font-size: 60px; } -
@plainbroke after all this time???
again the dev window elements tab would have shown you this in secondselements tab, click the arrow, navigate over the web page to the header you want to change, click
the html tree is there and you can see the classes etc assigned
you can test the styles in the upper right window, it will prompt you thru itfont-size:.modulename .module-header { styles }
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