Read the statement by Michael Teeuw here.
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
-
@rabbit83ka Thank you for your post, I was struggling to figure this out. Still relevant after five years!
-
@davidboisducafe Thanks. And also still running on my mirror.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login