Read the statement by Michael Teeuw here.
MMM-AlarmClock
-
@strawberry-3.141 I understand, that’s actually really useful thank you! Can I pass parameters with a socketnotification?
-
@axellejamous yes additional data gets passed in the payload, see documentation https://github.com/MichMich/MagicMirror/blob/master/modules/README.md#thissendnotificationnotification-payload
-
I refactored the module and switched to nunjuck templates.
I’m looking for people who are willing to test it:
- combinations of config options
- new config option
popup
how to test:
- if not already done, clone the repository to your modules
cd ~/MagicMirror/modules/ && git clone https://github.com/fewieden/MMM-AlarmClock.git
- go to the module
cd ~/MagicMirror/modules/MMM-AlarmClock
- run
git checkout develop
- test various config options
[card:fewieden/MMM-AlarmClock]
-
@fewieden
If I would like to add repeat time again like as
1st alarm alert at 8:00 am
2nd alarm alert at 12:00 pm
3rd alarm alart at 5:00 pmHow can i config
Thanks -
{ module: 'MMM-AlarmClock', position: 'top_right', config: { alarms: [ {time: "08:30", days: [0,1,2,3,4,5,6], title: "1st Alarm", message: "This is your first alarm", sound: "alarm.mp3"}, {time: "00:00", days: [0,1,2,3,4,5,6], title: "2nd Alarm", message: "This is your second alarm", sound: "alarm.mp3"}, {time: "17:00", days: [0,1,2,3,4,5,6], title: "3rd Alarm", message: "This is your third alarm", sound: "alarm.mp3"} ] } }
Currently these 3 alarms are active for all seven days of the week, where Sunday is 0 !
-
to anyone
how to develop Alarmclock can adjust time and message in MMM-Remote-Control like as
replace set in config.js
Thanks -
Just released version 2.0.1
- Fixed sound fading for alerts
- Added Korean translations
https://github.com/fewieden/MMM-AlarmClock
[card:fewieden/MMM-AlarmClock]
-
Hello strawberry 3.141,
Thanks for the update 🙂
Do you think you will add a functionality for add/delete/update alarm from the Magic Mirror(with touch screen) ?
Thanks for advance
Gaudouy -
@gaudouy this would be a huge change. It would be easier to have a module like remote control sending a notification with an alert, as there the whole UI component exists already. then in this module, you would merge the alert with the config alerts. See comments above.
-
Hello! I have configured the module and it is working very well. However the alarm doesn’t stop. I want it to ring and display for only 5 seconds. How do I do that?
And is there a way to hide the “Work: Wed, 12:41pm” on the left top?
Would really appreciate the help.