• 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 74.1k 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
    last edited by pjkoeleman Mar 26, 2017, 6:04 PM Mar 26, 2017, 5:49 PM

    My MagicMirror is updating around 23:00 hour, and can’t find what I did wrong. Has nothing to do with the time zone (I think).

    This is what I have in my config.js

    {
      module: 'MMM-doomsday',
      position: 'top_center',
      config: {
        doomsDay: '2017-03-31 24:00:00',
        toWhat: 'End of month'
      }
    },
    

    I even made a test file in my browser, and then it’s is working as aspected.
    Does any one now where the problem is.

    B 1 Reply Last reply Mar 26, 2017, 5:57 PM Reply Quote 0
    • B Offline
      broberg Project Sponsor @pjkoeleman
      last edited by broberg Mar 26, 2017, 5:58 PM Mar 26, 2017, 5:57 PM

      @pjkoeleman nope, probably a timezone issue on the Pi itself, does the clock work correctly? daylight saving time?

      Try changing the time from 24:00:00 to 23:59:00

      P 1 Reply Last reply Mar 26, 2017, 6:03 PM Reply Quote 1
      • P Offline
        pjkoeleman @broberg
        last edited by pjkoeleman Mar 26, 2017, 6:05 PM Mar 26, 2017, 6:03 PM

        @broberg The Pi itself is working correctly, the clock module is giving me the right time and date. And is updating around midnight.

        I Will try 23:59 and see what come’s out off it.

        1 Reply Last reply Reply Quote 0
        • P Offline
          pjkoeleman
          last edited by Mar 26, 2017, 10:53 PM

          With time set to 23:59 the module is changing at 0:44. The question is were is the offset off 45 minutes comming from ?

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

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

            With time set to 23:59 the module is changing at 0:44. The question is were is the offset off 45 minutes comming from ?

            I’m not trying to answer for broberg. It’s his module, but I use this module and I’ve had great success with it. It’s possible that the module is changing at 0:44 if you have the default updateInterval: 60 * 60 * 1000, . If you started the mirror at 44 minutes past any hour, then it wouldn’t update until the next 44 minute mark. If this is your case, then your module updated at 23:44 and not again until 0:44. The logical solution would be to set the updateInterval: to a smaller value or launch the module exactly on the hour, if that’s even possible. I don’t know if the module is set to always update at 24:00. If it’s not, then I would humbly request that it be added to the module.

            Create a working config
            How to add modules

            P 1 Reply Last reply Mar 27, 2017, 9:18 PM Reply Quote 1
            • P Offline
              pjkoeleman @Mykle1
              last edited by Mar 27, 2017, 9:18 PM

              @Mykle1 You are right, changed it to 10 minutes. now have to wait what happens.

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

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

                You are right, changed it to 10 minutes. now have to wait what happens

                Ok, let me know how it goes. I’m never awake at midnight so I only see the module in the mornings, and it’s been correct all along for me.

                Create a working config
                How to add modules

                P 1 Reply Last reply Mar 27, 2017, 10:09 PM Reply Quote 0
                • 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
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 6 / 8
                      6 / 8
                      • First post
                        51/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