Switching MMM-pages with MMM-ModuleScheduler



  • Hi,

    I’m trying to switch the pages with ModuleScheduler. But it doesn’t change the page, it just “leaves” the pages (no page highlighted in page indicator, no page shown). Any hints whats wrong with my config.js?

            {
            module: 'MMM-ModuleScheduler',
    		config: {
                		notification_schedule: [
                   	{notification: 'PAGE_CHANGED', schedule: '0 7 * * 1-5', payload: {type: "notification", message: 0}},
                    	{notification: 'PAGE_CHANGED', schedule: '30 5 * * 1-5', payload: {type: "notification", messsage: 1}}
               	 				]
            		}	
    	},
    

    Regards
    Jan



  • The solution is that the payload has to be just the number of the page, so

    {notification: 'PAGE_CHANGED', schedule: '0 7 * * 1-5', payload: 1},
    

    does the trick. Thanks @edward-shen