Timer module?
-
@ricotte Go into the directory of MMM-StopwatchTimer
you should have 2 files
one is MMM-StopwatchTimer.js
the other one will be popup.cssthen
rename the popup.css to MMM-StopwatchTimer.css
if you haven’t already done soModified the MMM-StopwatchTimer.js
so it looks like thisModule.register("MMM-StopwatchTimer", { defaults: { animation: true }, /* I change the following to prevent a conflict between StopwatchTimer and notificationFX.css <----this is my added text if you use the settings notificationFX.css then changed the name. */ /* Original is: return ["notificationFX.css", "font-awesome.css"] */ getStyles: function() { return ["MMM-StopwatchTimer.css", "font-awesome.css"]; <----change it so it looks like this },
Then you can do whatever you want in MMM-StopwatchTimer.css
without it affecting anything else
When you run the program. It will always look for that file -
Hello
tu es au top merci , thank you so much!!
Il manque plus que le sonMerci encore
-
I’m glad I was able to help
the owner of the module did not include sound. Unfortunately -
Hey I just got a message back from the owner of MMM-StopwatchTimer
It now has sound but haven’t tested it yet so I don’t know how well it works. He’s waiting for my input on
And Is Going to Fix the Conflict -
@ray by reading source code … some part of sound is coded but very badly
It will not works natively (it send a notification to all modules)
It need another module for working (don’t know really what module needed)Really, I Don’t understand why i will not do it natively
- One new line in main core for open audio on demand (create an embed sound module)
- and Other line for read sound when needed (execute sound reading)
-
Do you want that i create de PR with needed modifications ?
-
@bugsounet I’m sorry there’s a misunderstanding
there are 2 gentlemen on here they’re using the same module. I am using it is a MMM-StopwatchTimer which is owned by a completely different person that has nothing to do with GA I was just relaying the message from the owner to these other 2 gentlemenIf I overstep my authority on this forum. I apologize
-
this issue
-
There is a minor bug problem in MMM-StopwatchTimer and it causes a conflict with notification on magic mirror
I found the problem and reported it back to the owner . He said he was going to fix itthat’s all this is about
again, if I overstep my authority on this form. I apologize -
I have done writing native sound play
again, if I overstep my authority on this form. I apologize
no problem
-
You guys have helped me out quite a bit. I don’t want to get you guys upset
I just like to give back what people have given me -
don’t worry @Ray … keep cool
-
-
@Ray… if I make my hand in this module… i will remake all
That why i prefer make some
little change
-
@bugsounet I know the feeling. My friend, I can’t tell you how many times I’ve done that everything works perfectly. But then I have to change it make it better. I’m writing some scripts right now. Get them all done and it works fine and then I find a better way to do it
-
I will make @bugsounet’s school coding
-
Yeah I suppose that’s the 1st thing they teach you. I enjoy writing scripts. It’s a lot of fun
-
@bugsounet Oh by the way, thanks for having my back with the owner. Of that module
-
Good evening,
I have just read your exchanges but I do not think I have understood everything for the sound adjustment.
I updated the module and updated config.js but I can’t seem to get sound at the end of the Timer.
If you have the solution … maybe this is not the right discussion board?
Thank you. -
@ricotte I haven’t been able to get mine to work either . I haven’t played too much with it. I will try and get to it early next week
If I figure something out. I’ll let you know.
He at least got the .css right. Now you can change the colors and the fonts to your desire . I got the black background eliminated, which was driving me crazy