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

Simple daily countdown timer

Scheduled Pinned Locked Moved Unsolved Requests
20 Posts 4 Posters 7.9k Views 4 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @andreasm80
    last edited by Mykle1 Oct 23, 2018, 12:08 AM Oct 23, 2018, 12:05 AM

    @andreasm80

    This does MOST of what you’ve described. I can look into having it reset when and if I get the time. In the meantime, a quick visit (by you) to your config entry for the module. Simply change the date. All texts will remain the same.

    https://github.com/mykle1/MMM-EventHorizon

    0_1540253100374_Screenshot from 2018-10-22 19-59-17.png 0_1540253115101_Screenshot from 2018-10-22 20-00-19.png

    {
          disabled: f,
          module: 'MMM-EventHorizon',
          position: 'top_center',
          config: {
              size: "large", // small, medium or large
              countUp: "no", // yes or no (count up after timer is done)
              date: "2018-10-22", // (YYYY-MM-DD)  Date timer will end
              time: "20:00:00", // (HH:MM:SS)    Exact time you want timer to end
              text1: "Almost time!", // 2 lines of text during timer
              text2: "Mom's quiet time.", // 2 lines of text during timer
              endText1: "Bedtime!", // 2 lines of text when timer ends
              endText2: "Brush your teeth!", // 2 lines of text when timer ends
          }
      },
    

    If the time is off (I think it’s set to US Eastern) you can tell me your city and I’ll give you the fix with instructions

    Create a working config
    How to add modules

    ? R 2 Replies Last reply Oct 23, 2018, 7:03 AM Reply Quote 1
    • ? Offline
      A Former User @Mykle1
      last edited by Oct 23, 2018, 7:03 AM

      @mykle1
      date could be omittable?

      1 Reply Last reply Reply Quote 1
      • ? Offline
        A Former User
        last edited by A Former User Oct 23, 2018, 12:48 PM Oct 23, 2018, 12:47 PM

        @mykle1 introduced a good module, but I also made one.

        https://github.com/eouia/MMM-DailyAlarm
        Screenshot

        • Showing time remained & passed for daily recurrent events
        • Exception rule by day
        • beforeText / afterText
        • Showing & hiding by defined time
        • Alarm sound playable
        • Notification enable
        • Custom CSS for each event.
        • At 00AM of each day, events will be refreshed.

        But not yet fully tested enough.

        1 Reply Last reply Reply Quote 3
        • M Offline
          Mykle1 Project Sponsor Module Developer @andreasm80
          last edited by Oct 24, 2018, 12:55 AM

          @andreasm80

          I’d go with sean’s. :-) :thumbsup:

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 1
          • A Offline
            andreasm80
            last edited by Oct 24, 2018, 5:22 PM

            @Mykle1 and @Sean
            Thank you very much for your replies!
            Much appreciated, I will jump straight to it and test it out.

            Sorry for my late reply, been much work this week.

            1 Reply Last reply Reply Quote 0
            • A Offline
              andreasm80
              last edited by Oct 24, 2018, 6:44 PM

              Hi again!

              I managed to get the module installed and configured before their bedtime today, today they were in their beds even a couple of minutes before bedtime ;-) ;-)
              So I can confirm the module is working, haha.

              Thanks for your time and help with this @Sean, the extra features you added was spot on!

              Thanks to both of you for your contributions. I am aslo using two of your modules @Mykle1 (Earth and Lunartic).

              M 1 Reply Last reply Oct 24, 2018, 7:40 PM Reply Quote 1
              • M Offline
                Mykle1 Project Sponsor Module Developer @andreasm80
                last edited by Oct 24, 2018, 7:40 PM

                @andreasm80 said in Simple daily countdown timer:

                I am aslo using two of your modules @Mykle1 (Earth and Lunartic).

                Ahh, in that case, I thank you twice! :thumbsup:

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • R Offline
                  Richard238 @Mykle1
                  last edited by Nov 24, 2018, 2:26 PM

                  @mykle1 I just added this module as it looks good for something I would like to do.
                  However, nothing happens. MM starts up OK, but the module doesn’t show.

                  		{
                          disabled: false,
                          module: 'MMM-EventHorizon',
                          position: 'bottom_right',
                  	config: {
                              size: "large", // small, medium or large
                  	    countUp: "yes", // Yes or no (when timer ends)
                              date: "2018-12-03", // (YYYY-MM-DD)  Date timer will end
                              time: "00:00:01", // (HH:MM:SS)    Exact time you want timer to end
                  	    text1: "Open the damn pool", // 1st line of text during timer. About 18 characters total.
                              text2: "Winter sucked ass", // 2nd line of text during timer. About 18 characters total.
                              endText1: "It's gonna be fun", // 1st line of text when timer ends. About 18 characters total.
                              endText2: "Where's my bikini", // 2nd line of text when timer ends. About 18 characters total.
                      }
                  },             
                     
                  

                  GitHub shows - disabled: f,
                  Here it shows - disabled: false,

                  Is that an issue?

                  Thanks.

                  ? M 2 Replies Last reply Nov 24, 2018, 3:11 PM Reply Quote 0
                  • ? Offline
                    A Former User @Richard238
                    last edited by Nov 24, 2018, 3:11 PM

                    @richard238
                    true/false is a predefined javascript type. ‘false’ (without quotation marks) is right.

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @Richard238
                      last edited by Mykle1 Nov 24, 2018, 9:58 PM Nov 24, 2018, 9:57 PM

                      @richard238 said in Simple daily countdown timer:

                      GitHub shows - disabled: f,

                      I just checked the repo. I inserted vars for true and false in my config so I don’t have to type the entire word. A little trick my guru taught me. However, I don’t find that in the config example there.

                      {
                              disabled: false,
                              module: 'MMM-EventHorizon',
                              position: 'bottom_center',
                      	    config: {
                                  size: "large",                       // small, medium or large
                      	    countUp: "yes",                      // Yes or no (when timer ends)
                                  date: "2018-07-04",                  // (YYYY-MM-DD)  Date timer will end
                                  time: "00:00:01",                    // (HH:MM:SS)    Exact time you want timer to end
                      	    text1: "Open the damn pool",         // 1st line of text during timer. About 18 characters total.
                                  text2: "Winter sucked ass",          // 2nd line of text during timer. About 18 characters total.
                                  endText1: "It's gonna be fun",          // 1st line of text when timer ends. About 18 characters total.
                                  endText2: "Where's my bikini",          // 2nd line of text when timer ends. About 18 characters total.
                          }
                      },
                      

                      Create a working config
                      How to add modules

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