fewieden / MMM-AlarmClock

Alarm Clock Module for MagicMirror²
MIT License
47 stars 18 forks source link

Alarm does not stop when using a unique event #6

Closed TitouBilou closed 7 years ago

TitouBilou commented 7 years ago

Hi There, The module works fine when alarm is set for a daily, weekly, etc... repeat. However, when I set it for a single event it's firing at the right time but does not stop (I do not have a touch screen device, touch parameter set to false).

Here are my settings in the MMM-AlarmClock.js file: defaults: { sound: 'alarm.mp3', touch: false, volume: 1.0, format: 'D MMM, HH:mm', timer: 15 * 1000 // 15 seconds },

... and in the config.js file: { module: 'MMM-AlarmClock', position: 'top_center', config: { alarms: [ {time: "18:30", days: ["8 Apr"], title: "Soccer", message: "Get ready for soccer training!"}, ], } }

I have the same problem when I set "format" to 'DD:MM, HH:mm' and "time" and "days" to time: "18:30", days: [08:04],...

I hope this helps, Best regards, Eric.

fewieden commented 7 years ago

Hi Eric there is no single event support implemented

TitouBilou commented 7 years ago

Hi,

That explains it then! Anything planned regarding this topic? Thanks for your answer. regards, Eric.

fewieden commented 7 years ago

No, but feel free to add it yourself and create a pull request for it :)

TitouBilou commented 7 years ago

Unfortunately, I'm not good enough to do so...

Thanks anyway, Regards, Eric.

2017-04-09 13:35 GMT+02:00 fewieden notifications@github.com:

No, but feel free to add it yourself and create a pull request for it :)

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/fewieden/MMM-AlarmClock/issues/6#issuecomment-292780408, or mute the thread https://github.com/notifications/unsubscribe-auth/AWUkjbnLUDE_r1dsrWFmhE5QpTFTmMH2ks5ruMKNgaJpZM4M31C_ .