Timer module?
-
Cool, thanks. I will check it out. It looks awesome just what I’m looking for
-
Hi
it s very good, is it work with when i say “Jarvis…timer tens”?
Thanks
-
I was trying your timer and I was trying to get it to work in a recipe
do you have a sample on what it’s supposed to look like I’m obviously doing something wrong
they keep saying it doesn’t understand -
@ricotte your command will only work if you set up your recipe accordingly.
@Ray it is not my module but this is a not-very-smart recipe that I wrote that works for me.
/** MMM-StopwatchTimer **/ /** vocal control **/ /** 08/09/2021 **/ var recipe = { transcriptionHooks: { "START_ALARM": { pattern: "start alarm", command: "START_ALARM" }, "STOP_ALARM": { pattern: "stop alarm", command: "STOP_ALARM" }, "PAUSE": { pattern: "pause", command: "PAUSE" }, "UNPAUSE": { pattern: "restart timer", command: "PAUSE" }, "START_STOPWATCH": { pattern: "start stopwatch", command: "START_STOPWATCH" }, "UNPAUSE_STOPWATCH": { pattern: "restart stopwatch", command: "UNPAUSE_STOPWATCH" }, "STOP": { pattern: "stop timer", command: "STOP" }, "1m": { pattern: "set timer for 1 minute", command: "1m" }, "2m": { pattern: "set timer for 2 minutes", command: "2m" }, "3m": { pattern: "set timer for 3 minutes", command: "3m" }, "4m": { pattern: "set timer for 4 minutes", command: "4m" }, "5m": { pattern: "set timer for 5 minutes", command: "5m" }, "6m": { pattern: "set timer for 6 minutes", command: "6m" }, "7m": { pattern: "set timer for 7 minutes", command: "7m" }, "8m": { pattern: "set timer for 8 minutes", command: "8m" }, "9m": { pattern: "set timer for 9 minutes", command: "9m" }, "10m": { pattern: "set timer for 10 minutes", command: "10m" }, "15m": { pattern: "set timer for 15 minutes", command: "15m" }, "20m": { pattern: "set timer for 20 minutes", command: "20m" }, "25m": { pattern: "set timer for 25 minutes", command: "25m" }, "30m": { pattern: "set timer for 30 minutes", command: "30m" }, "35m": { pattern: "set timer for 35 minutes", command: "35m" }, "40m": { pattern: "set timer for 40 minutes", command: "40m" }, "45m": { pattern: "set timer for 45 minutes", command: "45m" }, "50m": { pattern: "set timer for 50 minutes", command: "50m" }, "55m": { pattern: "set timer for 55 minutes", command: "55m" }, "60m": { pattern: "set timer for an hour", command: "60m" }, }, commands: { "START_ALARM": { moduleExec: { module: (param) => { this.sendNotification("START_ALARM"); } }, }, "STOP_ALARM": { moduleExec: { module: (param) => { this.sendNotification("STOP_ALARM"); } }, }, "PAUSE": { moduleExec: { module: (param) => { this.sendNotification("PAUSE_STOPWATCHTIMER"); } }, }, "UNPAUSE": { moduleExec: { module: (param) => { this.sendNotification("UNPAUSE_TIMER"); } }, }, "START_STOPWATCH": { moduleExec: { module: (param) => { this.sendNotification("START_STOPWATCH"); } }, }, "UNPAUSE_STOPWATCH": { moduleExec: { module: (param) => { this.sendNotification("UNPAUSE_STOPWATCH"); } }, }, "STOP": { moduleExec: { module: (param) => { this.sendNotification("INTERRUPT_STOPWATCHTIMER"); } }, }, "1m": { notificationExec: { notification: "START_TIMER", payload: 1 *60, }, }, "2m": { notificationExec: { notification: "START_TIMER", payload: 2 *60, }, }, "3m": { notificationExec: { notification: "START_TIMER", payload: 3 *60, }, }, "4m": { notificationExec: { notification: "START_TIMER", payload: 4 *60, }, }, "5m": { notificationExec: { notification: "START_TIMER", payload: 5 *60, }, }, "6m": { notificationExec: { notification: "START_TIMER", payload: 6 *60, }, }, "7m": { notificationExec: { notification: "START_TIMER", payload: 7 *60, }, }, "8m": { notificationExec: { notification: "START_TIMER", payload: 8 *60, }, }, "9m": { notificationExec: { notification: "START_TIMER", payload: 9 *60, }, }, "10m": { notificationExec: { notification: "START_TIMER", payload: 10 *60, }, }, "15m": { notificationExec: { notification: "START_TIMER", payload: 15 *60, }, }, "20m": { notificationExec: { notification: "START_TIMER", payload: 20 *60, }, }, "25m": { notificationExec: { notification: "START_TIMER", payload: 25 *60, }, }, "30m": { notificationExec: { notification: "START_TIMER", payload: 30 *60, }, }, "35m": { notificationExec: { notification: "START_TIMER", payload: 35 *60, }, }, "40m": { notificationExec: { notification: "START_TIMER", payload: 40 *60, }, }, "45m": { notificationExec: { notification: "START_TIMER", payload: 45 *60, }, }, "50m": { notificationExec: { notification: "START_TIMER", payload: 50 *60, }, }, "55m": { notificationExec: { notification: "START_TIMER", payload: 55 *60, }, }, "60m": { notificationExec: { notification: "START_TIMER", payload: 60 *60, }, }, }, } exports.recipe = recipe
-
Well thank you very much. I appreciate the help. I see in the commands. I was obviously doing it 100% wrong. Now I know what I’m doing. Thanks for the recipe. It is very helpful
-
Hello
Thanks for your reply, I am testing this.
Too good this forum and thank you all.
Enjoy -
@sheepiely so I just added to my mirror and it’s working perfectly. Thanks for the help
-
@sheepiely hey I got the timer to work pretty good
I had to make some significant changes in order to customize the color
did you run into the same problem -
@Ray I have a black background and my mirror is landscape. I only did some minor changes to the .black_overlay in my custom.css. {width: 0px; height: 0px;}
-
@sheepiely Oh okay I see
the only reason I was asking is because I was running into a conflict
the StopwatchTimer is pointed to notificationFx.css, which is what the alert module uses. It was causing a conflict. So I fixed it by changing it in the popup.cssIt seems to work really well now
I tried notifying the owner and he has yet to message me backThank you for letting me know about this module. It meets my needs. That’s why I was determined to fix this error
-
@ray correction. The error was fixed in StopwatchTimer.js not popup.css
-
Bonsoir,
Fonctionnel et au top par contre avez vous du son à la fun du minuteur?
Merci
-
@ricotte there is no sound for this module that I know of.
I have contacted the owner and asked him that question and I haven’t got a reply back from him.
If anybody can figure that out. That would be awesome -
Salut,
je voulais savoir si chez vous il s’affiche comme dans la presentation du GIF ou s’il reste en haut à gauche? dans mon cas il y a juste un minuteur en haut à gauche.
Merci de votre retour
@+
-
I have my timer showing up in the middle of my mirror
-
Hummmm
Je dois faire quelque chose de mal.
Je vais regarder en détail
Thanks -
@ricotte You need to rename popup.css
I rename mine to MMM-StopwatchTimer.cssthen you need to modify the MMM-StopwatchTimer.js
to reflect that nameNow the program will always look for MMM-StopwatchTimer.css
and you won’t have a conflict -
Ok merci
Est ce je modifie dans le module ou dans le recipes car il y a 2 MMM-StopwatchTimer.js?
Peux tu me dire ce que je dois modifier ou ajouter ?
désolé merci à toi pour ton aide -
@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