JanLoebel / MMM-TouchAlarm

Touchable Alarm Clock Module for MagicMirror2
MIT License
0 stars 2 forks source link

Multiple Alarms #2

Open katerasrael opened 4 years ago

katerasrael commented 4 years ago

Would it be possible to add multiple alarms? My wife and me have some different reoccurring times when we have to get up and if there were multiple alarms we just could define them once and switch them on/off.

JanLoebel commented 4 years ago

Hi, sorry currently this is not possible, but you could include the widget twice and configure it once for you and once for your wife or?!

katerasrael commented 4 years ago

I tried that, but it seems to me, that the module can't handle several instances. Each time I tried to change the alarms of the second module (displayed below the first one) the alarm of the first was changed, the second stayed the same.

JanLoebel commented 4 years ago

Mh.. right, I would have to add generated ids for each time to set the alarms correctly for each component. Currently I'm moving to another place, so I will see what and when I can change it. Sorry, any pull request is welcome!