• 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.

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

Scheduled Pinned Locked Moved Troubleshooting
17 Posts 5 Posters 6.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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @ironman_DK
    last edited by Mykle1 Mar 14, 2017, 9:13 PM Mar 14, 2017, 9:11 PM

    @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
    • M Offline
      Mykle1 Project Sponsor Module Developer @ironman_DK
      last edited by Mar 14, 2017, 9:15 PM

      @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
      • B Offline
        broberg Project Sponsor @ironman_DK
        last edited by Mar 15, 2017, 7:37 AM

        @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 Mar 15, 2017, 3:12 PM Reply Quote 0
        • I Offline
          ironman_DK @broberg
          last edited by Mar 15, 2017, 3:12 PM

          @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 ?

          B 1 Reply Last reply Mar 15, 2017, 3:35 PM Reply Quote 0
          • B Offline
            broberg Project Sponsor @ironman_DK
            last edited by Mar 15, 2017, 3:35 PM

            @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 Mar 16, 2017, 6:52 PM Reply Quote 0
            • W Offline
              wolfiedk @broberg
              last edited by Mar 16, 2017, 6:52 PM

              @broberg
              Hi broberg and Ironman_DK

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

              Best regards
              WolfieDK

              B 1 Reply Last reply Mar 16, 2017, 6:57 PM Reply Quote 0
              • B Offline
                broberg Project Sponsor @wolfiedk
                last edited by Mar 16, 2017, 6:57 PM

                @wolfiedk

                Here

                [card:brobergp/MMM-doomsDay]

                W G 2 Replies Last reply Mar 16, 2017, 6:58 PM Reply Quote 0
                • W Offline
                  wolfiedk @broberg
                  last edited by Mar 16, 2017, 6:58 PM

                  @broberg -> Thanks a million :-)

                  1 Reply Last reply Reply Quote 0
                  • W Offline
                    wolfiedk
                    last edited by Mar 16, 2017, 7:21 PM

                    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

                    B 1 Reply Last reply Mar 16, 2017, 11:02 PM Reply Quote 0
                    • B Offline
                      broberg Project Sponsor @wolfiedk
                      last edited by Mar 16, 2017, 11:02 PM

                      @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

                      M 1 Reply Last reply Mar 16, 2017, 11:26 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        10/17
                        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