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

    Scheduled Pinned Locked Moved Utilities
    alarm clock
    29 Posts 9 Posters 17.8k Views 10 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.
    • strawberry 3.141S Offline
      strawberry 3.141 Project Sponsor Module Developer @gaudouy
      last edited by

      @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.

      Please create a github issue if you need help, so I can keep track

      1 Reply Last reply Reply Quote 0
      • I Offline
        innovation
        last edited by

        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.

        strawberry 3.141S 1 Reply Last reply Reply Quote 0
        • strawberry 3.141S Offline
          strawberry 3.141 Project Sponsor Module Developer @innovation
          last edited by

          @innovation with the following config it stops after 5 seconds.

          {
            module: "MMM-AlarmClock",
            position: "top_left",
            config: {
              alarms: [
                {
                  time: "16:15",
                  days: [0,1,2,3,4,5,6],
                  title: "Test",
                  message: "some alarm message"
                }
              ],
              timer: 5000
            }
          },
          

          If you add the following to the custom.css file it will hide the module from the screen, but still, show the alert:

          .MMM-AlarmClock {
            display: none;
          }
          

          Please create a github issue if you need help, so I can keep track

          1 Reply Last reply Reply Quote 0
          • I Offline
            innovation
            last edited by

            @strawberry-3-141 Thank you! Works perfectly

            1 Reply Last reply Reply Quote 0
            • strawberry 3.141S Offline
              strawberry 3.141 Project Sponsor Module Developer
              last edited by

              2.0.2

              Fixed

              • Timing of alert click handler registration

              Link to module https://github.com/fewieden/MMM-AlarmClock

              Please create a github issue if you need help, so I can keep track

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 3
              • 1 / 3
              • First post
                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