Read the statement by Michael Teeuw here.
CustomText change contents with notification?
-
hey all. noob time.
from their descriptions, using ModuleScheduler i should be able to change the contents of CustomText via a notification, but it’s a little unclear to me how this is supposed to work.
what the docs seem to describe:
{ module: "MMM-CustomText", position: "top_center", config: { initialMessage: "change with notification?", uniqueID: "ct_event", animationspeed: 1000, }, }, { module: "MMM-ModuleScheduler", config: { notification_schedule: [ // sched = cron format { notification: "CUSTOMTEXT_UPDATE", schedule: "33 * * * *", payload: { type: "notification", uniqueID: "ct_event", title: "test 1"}}, { notification: "CUSTOMTEXT_UPDATE", schedule: "34 * * * *", payload: { type: "notification", uniqueID: "ct_event", title: "test 2"}}, ] } },which is clearly not correct because it does nothing, but i’m stuck as to why. any help is appreciated!
-
@snerk4000 and you have the schedule set to fire at 33 or 34 minutes after the hour
Only once every hour for each, right?
If you install MMM-Notifications you should able to see it.
The payload looks ok. Doesn’t need the type: only the values the receiving module would accept/need
You could try my MMM-CurlToNotification module to test the notification without schedule
https://github.com/sdetweil/MMM-CurlToNotification -
@sdetweil right now the 33/34 mins were just for testing, it’s aiming to be more like an MOTD / “don’t forget to put the trash out tonight” sort of thing
-
@snerk4000 understood. I only mention that cause once an hour is hard to test
Trying to give you other ways to test and verify
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