Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

    UNSOLVED MMM-AlarmClock - Sound doesn't stop

    Troubleshooting
    3
    3
    245
    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
      doron92 last edited by

      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!

      Sean Mykle1 2 Replies Last reply Reply Quote 0
      • Sean
        Sean Module Developer @doron92 last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • Mykle1
          Mykle1 Project Sponsor Module Developer @doron92 last edited by

          @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"},
                  ],
              }
          },
          
          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy