This forum was moved to another machine and updated to a recent version. If you are unable to login please delete your browser cookies and cache and restart your browser.A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Solved 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