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



  • I have a little question, I have installed different modules and everything is working fine, specially two of my modules : weather forecast(default) installed and MMM-doomsDay - The countdown module, do you know when they are changing day ? example, monday morning sunday is still at the top af the weater forecast, and when I come home from work it has changed to Monday, and the same with doomsday, the countdown day has not changed Monday morning, but after work the number is one down as i should, is there a way to change somthing, so the countdown and the forecast is changing after midnight instead in the mittle of the day ? is that possible ?


  • Module Developer

    @ironman_DK do you have the latest version of doomsday? It will change at midnight if you haven’t altered the time. It didn’t do that in the early versions.



  • @broberg I guess I have the newest version 5 days old,I have not altered the time, can I do that ? and where ?


  • Module Developer

    @ironman_DK then yes, you have the latest.

    Is your doomsday set to with the hours like the example?

    doomsDay: "2018-02-23 24:00:00"
    
    


  • @broberg yes , I have set the dooms day

    {
    module: ‘MMM-doomsDay’,
    position: ‘top_center’, // This can be any of the regions, best results in center regions
    config: {
    doomsDay: “2017-04-7 14:00:00”, // YYYY-MM-DD HH:MM:SS
    toWhat: “Påskeferie”,

        // See 'Configuration options' for more information.
    }
    

    },

    regarding my settings / today is says there is 23 days left, tomorrow morning it is still 23 days left, but when I come home from work there is 22 days left whitch is correct, but does it not change at midnight _



  • @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”,



  • @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`
    				}
    		},
    

  • Module Developer

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



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


  • Module Developer

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


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.