• 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.
  • P Offline
    pjkoeleman @Mykle1
    last edited by Mar 27, 2017, 10:09 PM

    @Mykle1 Now it was changing at 00:06 hour so this module works ok with the right config settings.

    M 1 Reply Last reply Mar 27, 2017, 10:13 PM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @pjkoeleman
      last edited by Mar 27, 2017, 10:13 PM

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

      this module works ok with the right config settings.

      Good! I like this module. I’ve been using for a month now for all sorts of reminders. It’s a pretty nifty little module!

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • B Offline
        bberg115
        last edited by bberg115 Mar 28, 2017, 10:09 AM Mar 28, 2017, 10:08 AM

        @broberg, thanks for the hard work :) I needed a “days up” counter for the lady friend. I modified the MMM-doomsDay.js so that it shows the number of days that we’ve been dating. I plan on changing the days to “X years, X days” sometime this week but wanted to say thanks!

        edit: nice tag/username

        B 1 Reply Last reply Mar 28, 2017, 4:02 PM Reply Quote 1
        • B Offline
          broberg Project Sponsor @bberg115
          last edited by Mar 28, 2017, 4:02 PM

          @bberg115 Nice :D (easy to remember the anniversary then haha ;) )

          My username is my lastname, so it’s easy to remember hahaha

          1 Reply Last reply Reply Quote 0
          • B Offline
            bminer1
            last edited by Mar 28, 2017, 7:18 PM

            Having an issue with the “toWhat” sticking.
            I can not get it to change from “Leaving for Paris!”. See my code below:

            {
            module: ‘MMM-doomsDay’,
            position: ‘bottom_right’, // This can be any of the regions, best results in center regions
            config: {
            doomsDay: “2017-05-07 24:00:00”, // YYYY-MM-DD HH:MM:SS, Do not alter the time, just the date
            ToWhat: ‘Joeys Wedding in TN!’,
            updateInterval: 1 * 3600000,
            singular: ‘more day!’, // what it should say when it’s only one day left, default is Day Left
            plural: ‘more days’, // what it should say when it’s more days left, default is Days Left
            // See ‘Configuration options’ for more information.
            }
            },

            0_1490728574011_upload-95d70689-8dbe-4ab1-b9f6-447b6720a84c

            B 1 Reply Last reply Mar 28, 2017, 7:20 PM Reply Quote 0
            • B Offline
              broberg Project Sponsor @bminer1
              last edited by Mar 28, 2017, 7:20 PM

              @bminer1

              It’s case sensitive

              toWhat not ToWhat

              1 Reply Last reply Reply Quote 0
              • B Offline
                bminer1
                last edited by Mar 28, 2017, 7:22 PM

                Thanks! It worked but that was copied and pasted from GitHub. May want to make the change.

                0_1490728928244_upload-91d7f2b1-ed96-4c2d-b3e8-04cca60299c2

                1 Reply Last reply Reply Quote 0
                • B Offline
                  bminer1
                  last edited by Mar 28, 2017, 7:24 PM

                  Also, is there a way to add multiple count downs to the one module or do you duplicate the module with every countdown?

                  B 1 Reply Last reply Mar 28, 2017, 7:29 PM Reply Quote 0
                  • B Offline
                    broberg Project Sponsor @bminer1
                    last edited by broberg Mar 28, 2017, 7:29 PM Mar 28, 2017, 7:29 PM

                    @bminer1 nice catch, the example was wrong, somehow I missed that!
                    (it’s correct in the Configuration list however)

                    Multiple instances in the config is the way to go at the moment,

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mydiva
                      last edited by mydiva Jul 9, 2017, 3:09 PM Jul 9, 2017, 3:07 PM

                      It is possible to make instead of just days, weeks and days left? Thanks guys

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 6 / 8
                      • 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