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 90.0k 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.
    • brobergB Offline
      broberg Project Sponsor @strawberry 3.141
      last edited by

      @strawberry-3.141 Yeah I’ve noticed. If this module keeps misbehaving I will look in to the moment.js instead. looka a lot simpler, thanks for the link!

      Mykle1M 1 Reply Last reply Reply Quote 0
      • yawnsY Offline
        yawns Moderator @strawberry 3.141
        last edited by

        @strawberry-3.141
        Absolutely right, moment.js makes life a lot easier when it comes to times and dates.

        1 Reply Last reply Reply Quote 0
        • SnilleS Offline
          Snille Module Developer
          last edited by

          Hi there! I just posted a PR to you on github, adding the “passed” text via the config. And also let the “toWhat” event to still be shown when the event has passed (makes more sense i think if you use the “passed” text.) :)

          If you cant find it, make it and share it!
          Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

          brobergB 1 Reply Last reply Reply Quote 0
          • brobergB Offline
            broberg Project Sponsor @Snille
            last edited by

            @Snille There is already a text being displayed once the day has passed, not configurable, but, there is one :D

            SnilleS 1 Reply Last reply Reply Quote 0
            • SnilleS Offline
              Snille Module Developer @broberg
              last edited by Snille

              @broberg I know, that’s why I only made it configurable. :) Then ppl don’t have to change your code to set their own message. :)

              If you cant find it, make it and share it!
              Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

              1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @broberg
                last edited by

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

                If this module keeps misbehaving

                Hey Bro, I just wanted to report that my last 3 day test worked correctly, without a hitch. When I looked at my mirror this morning, it said, “Did it work?” :thumbsup_tone1:

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 1
                • brobergB Offline
                  broberg Project Sponsor
                  last edited by

                  Finally got around to adding the option to change the text displayed when the doomsDay has passed as @Snille suggested!

                  Mykle1M 1 Reply Last reply Reply Quote 1
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @broberg
                    last edited by

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

                    Finally got around to adding the option to change the text displayed when the doomsDay has passed as @Snille suggested!

                    So I should do a git pull?

                    Create a working config
                    How to add modules

                    brobergB 1 Reply Last reply Reply Quote 0
                    • brobergB Offline
                      broberg Project Sponsor @Mykle1
                      last edited by

                      @Mykle1 Only if you feel like it!
                      But the latest is the coolest, don’t you think? ;)

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @broberg
                        last edited by

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

                        Only if you feel like it!

                        Of course I feel like it.

                        But the latest is the coolest, don’t you think?

                        No doubt! I’m a huge fan of this module. :thumbsup:

                        Create a working config
                        How to add modules

                        Mykle1M 1 Reply Last reply Reply Quote 0
                        • Mykle1M Offline
                          Mykle1 Project Sponsor Module Developer @Mykle1
                          last edited by

                          @broberg
                          Actually, I won’t know for 26 days. I’ll let you know then!

                          Create a working config
                          How to add modules

                          brobergB 1 Reply Last reply Reply Quote 0
                          • brobergB Offline
                            broberg Project Sponsor @Mykle1
                            last edited by

                            @Mykle1 Hahaha, fair enough :thumbsup:

                            1 Reply Last reply Reply Quote 0
                            • pjkoelemanP Offline
                              pjkoeleman
                              last edited by pjkoeleman

                              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.

                              brobergB 1 Reply Last reply Reply Quote 0
                              • brobergB Offline
                                broberg Project Sponsor @pjkoeleman
                                last edited by broberg

                                @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

                                pjkoelemanP 1 Reply Last reply Reply Quote 1
                                • pjkoelemanP Offline
                                  pjkoeleman @broberg
                                  last edited by pjkoeleman

                                  @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
                                  • pjkoelemanP Offline
                                    pjkoeleman
                                    last edited by

                                    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 ?

                                    Mykle1M 1 Reply Last reply Reply Quote 0
                                    • Mykle1M Offline
                                      Mykle1 Project Sponsor Module Developer @pjkoeleman
                                      last edited by

                                      @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

                                      pjkoelemanP 1 Reply Last reply Reply Quote 1
                                      • pjkoelemanP Offline
                                        pjkoeleman @Mykle1
                                        last edited by

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

                                        Mykle1M 1 Reply Last reply Reply Quote 0
                                        • Mykle1M Offline
                                          Mykle1 Project Sponsor Module Developer @pjkoeleman
                                          last edited by

                                          @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

                                          pjkoelemanP 1 Reply Last reply Reply Quote 0
                                          • pjkoelemanP Offline
                                            pjkoeleman @Mykle1
                                            last edited by

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

                                            Mykle1M 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 3 / 4
                                            • 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