• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-AlarmClock - Sound doesn't stop

Scheduled Pinned Locked Moved Unsolved Troubleshooting
3 Posts 3 Posters 866 Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    doron92
    last edited by Mar 19, 2020, 6:30 PM

    Hey all!

    I’m having some trouble using MMM-AlarmClock.
    The sound just doesn’t stop… plays in repeat till I close MM. (even after I turn off the alarm with touch, or the time passes…)
    Have anyone had this issue?

    I would like it to play only once, is that possible?

    {
    			module: 'MMM-AlarmClock',
    			//pages: {sec: "top_right"},
    			config: {
    				alarms: [
    					{time: "13:42", days: [0,1,2,3,4], title: "10Bis", message: "What you gonna eat today?", sound: ( "food/" + n + ".mp3"), },
    					{time: "17:50", days: [4], title: "Happy Hour!!", message: "Weekend Has Arrived,\nGo drink something ", sound: ( "drink/" + n + ".mp3")},
    					
    						],
    				popup: true,
    				touch: true,				
    				fade: true,
    				fadeTimer: 1000 * 10,
    				timer: 10000,
    				
    				
    			}
    		},
    

    Thanks!

    ? M 2 Replies Last reply Mar 19, 2020, 7:27 PM Reply Quote 0
    • ? Offline
      A Former User @doron92
      last edited by Mar 19, 2020, 7:27 PM

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @doron92
        last edited by Mar 20, 2020, 12:33 AM

        @doron92

        I don’t know that this is much help but I just installed and used the most basic config entry (below) and the alarm turns off as expected, based on the timer setting in the config. I changed the timer value a few times and it follows that value. Try a basic config entry (such as this one) and see if it works. At least it’s a place for you to start troubleshooting.

        {
            module: 'MMM-AlarmClock',
            position: 'top_right',
            config: {
              timer: 15 * 1000,
                alarms: [
                    {time: "20:29", days: [0,1,2,3,4,5,6], title: "Soccer", message: "Get ready for soccer training!", sound: "alarm.mp3"},
                ],
            }
        },
        

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • D dhaen referenced this topic on Sep 6, 2023, 6:12 PM
        • 1 / 1
        1 / 1
        • First post
          3/3
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy