• 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-doomsDay - The countdown module,

Scheduled Pinned Locked Moved Utilities
74 Posts 17 Posters 71.7k Views 16 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.
  • B Offline
    broberg Project Sponsor @Mykle1
    last edited by Feb 24, 2017, 5:52 PM

    @Mykle1 okey, then my fix didn’t do what I thought. I have restored it to as before, do a new git pull to get the last version again.

    I will have to fix the half-day bug when I get back home :)

    M 1 Reply Last reply Feb 24, 2017, 7:12 PM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @broberg
      last edited by Feb 24, 2017, 7:12 PM

      @broberg said in MMM-doomsDay - The countdown module,:

      do a new git pull to get the last version again.

      ok, will do. Sorry about the troubles

      Create a working config
      How to add modules

      B 1 Reply Last reply Feb 24, 2017, 7:24 PM Reply Quote 0
      • B Offline
        broberg Project Sponsor @Mykle1
        last edited by Feb 24, 2017, 7:24 PM

        @Mykle1 no worries, first versions always have bugs :D

        M 2 Replies Last reply Feb 24, 2017, 11:42 PM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @broberg
          last edited by Feb 24, 2017, 11:42 PM

          @broberg said in MMM-doomsDay - The countdown module,:

          no worries, first versions always have bugs

          I see you have a new designation.
          Congratulations, Mr. Module Developer!

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @broberg
            last edited by Feb 25, 2017, 12:12 PM

            @broberg said in MMM-doomsDay - The countdown module,:

            first versions always have bugs

            Just a follow up. I did the git pull to go back to the original version as you advised. I didn’t disable the module but I did set a new doomsDay for Tuesday. (This was yesterday) The module correctly reported “4 Days Left”. but as of this morning, it still reads "4 Days Left.

            Create a working config
            How to add modules

            B 1 Reply Last reply Feb 26, 2017, 7:06 PM Reply Quote 0
            • B Offline
              broberg Project Sponsor @Mykle1
              last edited by broberg Feb 26, 2017, 7:15 PM Feb 26, 2017, 7:06 PM

              @Mykle1 Finally home, and I believe I have fixed this issue now!
              do a new git pull and it should work in the mornings as well :D

              @illskool You should also do an update on this module! :D

              M 2 Replies Last reply Feb 27, 2017, 12:41 AM Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @broberg
                last edited by Mykle1 Feb 27, 2017, 1:02 AM Feb 27, 2017, 12:41 AM

                @broberg said in MMM-doomsDay - The countdown module,:

                Finally home, and I believe I have fixed this issue now!
                do a new git pull and it should work in the mornings as well

                Thanks bro. Gonna do that right now.
                Ok, I have my test running for tomorrow. The module is correctly displaying “1 Day Left”

                {
                    			module: 'MMM-doomsDay',
                    			position: 'top_right', // This can be any of the regions, best results in center regions
                    			config: {
                        			doomsDay: "2017-02-27 24:00:00", // the end day of the countdown
                        			toWhat: 'Build Bed!', // the title of your countdown event
                				present: 'Get to it!',
                				singular: 'Day Left', // what it should say when it's only one day left, default is `Day Left`
                				plural: 'Days Left', // what it should say when it's more days left, default is `Days Left`
                				}
                		},
                

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 1
                • M Offline
                  Mykle1 Project Sponsor Module Developer @broberg
                  last edited by Mykle1 Feb 28, 2017, 5:27 PM Feb 28, 2017, 5:26 PM

                  @broberg

                  It seems I’m still having some problems with this. It worked on the last test, and displayed the present: string correctly, but now it’s not working again. Below is my config with the doomsDay set for tomorrow and a screenshot of the display still reporting 2 Days Left

                      			module: 'MMM-doomsDay',
                      			position: 'top_right', // This can be any of the regions, best results in center regions
                      			config: {
                          			doomsDay: "2017-03-01 24:00:00", // the end day of the countdown
                          			toWhat: 'Doctor Dave Wed', // the title of your countdown event
                  				present: 'Doctor Dave 11:30',
                  				singular: 'Day Left', // what it should say when it's only one day left, default is `Day Left`
                  				plural: 'Days Left', // what it should say when it's more days left, default is `Days Left`
                  				}
                  		},
                  

                  0_1488302751809_Capture2.JPG

                  Create a working config
                  How to add modules

                  M 1 Reply Last reply Feb 28, 2017, 8:41 PM Reply Quote 0
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @Mykle1
                    last edited by Feb 28, 2017, 8:41 PM

                    @Mykle1

                    Somewhere between now and when I posted my previous comment, the module updated to 1 Day left.

                    Create a working config
                    How to add modules

                    B 1 Reply Last reply Feb 28, 2017, 9:34 PM Reply Quote 0
                    • B Offline
                      broberg Project Sponsor @Mykle1
                      last edited by Feb 28, 2017, 9:34 PM

                      @Mykle1 I think a higher updateInterval may be in order. the 5 Hours set now maybe is a bit to much,

                      in the config you can add

                      updateInterval: 1 * 3600000,

                      To set it to update every hour instead!

                      M 1 Reply Last reply Feb 28, 2017, 10:13 PM Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 2 / 8
                      2 / 8
                      • First post
                        18/74
                        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