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.

    The deafult weather and MMM-DOOMsday is not changing day in the morning......

    Scheduled Pinned Locked Moved Troubleshooting
    17 Posts 5 Posters 7.9k Views 5 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @ironman_DK
      last edited by Mykle1

      @ironman_DK

      recommend that you don't alter the hour, keep it at 24:00:00 comes right from the readMe file. And your day of the 7th should be 07

      So, try this:

      doomsDay: “2017-04-07 24:00:00”,

      Create a working config
      How to add modules

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

        @ironman_DK

        Here’s my config entry. It works perfectly for me.

        {
        module: 'MMM-doomsDay',
            			position: 'top_right', // This can be any of the regions, best results in center regions
            			config: {
                			doomsDay: "2017-04-11 24:00:00", // recommend that you don't alter the hour, keep it at 24:00:00
                			toWhat: 'Mark B-Day!', // the title of your countdown event
        				present: 'Call Him!',
        				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`
        				}
        		},
        

        Create a working config
        How to add modules

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

          @ironman_DK yeah, you have to keep the hour set at 24 if you want it to change day at midnight. Otherwise it will change day at 14:00.

          I made it so the module doesn’t really compare dates, it gets the unix time from the current date and time and subtracts it from the set date and time.

          So just change the time on the doomsday and it will change day at midnight 😎

          I 1 Reply Last reply Reply Quote 0
          • I Offline
            ironman_DK @broberg
            last edited by

            @broberg oohhhh off course, now it will work / I can see at my magic mirror, that there is a update, how do I update without reinstall the modul ?

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

              @ironman_DK navigate to the module folder and do a git pull . It’s no important change, I just updated the read me file!

              W 1 Reply Last reply Reply Quote 0
              • W Offline
                wolfiedk @broberg
                last edited by

                @broberg
                Hi broberg and Ironman_DK

                Where can I download the mmm-doomsday module ? :-)

                Best regards
                WolfieDK

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

                  @wolfiedk

                  Here

                  [card:brobergp/MMM-doomsDay]

                  W garblefluxG 2 Replies Last reply Reply Quote 0
                  • W Offline
                    wolfiedk @broberg
                    last edited by

                    @broberg -> Thanks a million :-)

                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      wolfiedk
                      last edited by

                      Very nice module Broberg. :-) But I have a request, is it possible to change the module, so it will countdown with timer also ?

                      Best regards
                      WolfieDK

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

                        @wolfiedk it has been up before, but it’s nothing I’m going to do any time soon, (mostly because I don’t really know how yet, since I haven’t gotten around to look at the moment.js files yet)

                        But maybe there are others who will take it upon themselfs to make it more detailed with a timer as well! :D

                        Mykle1M 1 Reply Last reply Reply Quote 0
                        • 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