Read the statement by Michael Teeuw here.
MMM-Wallpaper notification and MMM-ModuleScheduler
-
Hi,
I am trying to use MMM-ModuleScheduler to send notification to MMM-Wallpaper for changing the source in config. However, it does not seem to change. Is there something wrong with the Scheduler as set up below:
{
module: ‘MMM-ModuleScheduler’,
config: {
schedules: [
{
schedule: “0 17 * * *”,
notification: “UPDATE_WALLPAPER_CONFIG”,
payload: {
module: “MMM-Wallpaper”,
config: {
source: “chromecast”,
}
}
},
]
}
},
No errors in running and the wallpaper module works fine but the source does not change as per the scheduler? Any help will be appreciated. Thanks. -
Thanks Sam.
I had it as schedules but it has to be notification_schedule. This works now. -
@sankum the payload should just be the string of the source name
Dont need module name etc
EVERY Notification goes to all modules
-
Thanks. I changed the payload to as follows:
payload: “chromecast”Still the source in Wallpaper does not change?
Anything else I should I look for? -
@sankum I do not know
Have you tried the Chromecast source directly to ensure it works?
You could use
My MMM-CurlToNotification
https://github.com/sdetweil/MMM-CurlToNotification
as a test tool to make sure the notification works
You can also install MMM-ViewNotifications
to see if the notification is being sent -
Thanks Sam.
I had it as schedules but it has to be notification_schedule. This works now. -
S sdetweil has marked this topic as solved on
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