@lavolp3 @sdetweil thank you for the time you have spent so far. I would be happy if someone else has an idea how to implement it. Thanks
Read the statement by Michael Teeuw here.
Latest posts made by corius
-
RE: MMM-NotificationTrigger transform payload
-
RE: MMM-NotificationTrigger transform payload
@lavolp3 what do you mean by “more specific”?
-
RE: MMM-NotificationTrigger transform payload
@lavolp3 Thank you for the fast answer. I tried this code. the result is that I get a notification but so far it only contains the title (test) but not the massage (title of the calendar event)
-
RE: MMM-NotificationTrigger transform payload
@lavolp3 yes that is exacly wat i want. can you please post the code? Thank you
-
RE: MMM-NotificationTrigger transform payload
by the title i mean the title of the individual calendar events. but ok then it doesn’t work that way. So again asked differently: is there a way to display upcoming calendar events via the alert module?
-
MMM-NotificationTrigger transform payload
Hi there…
first of all sorry for my english
Can someone explain how I can transfer the payload “title” of the standard calendar module to the payload “massage” of the alert module? This is the configuration I’ve tested:{ module: "MMM-NotificationTrigger", config: { triggers:[ { trigger: "CALENDAR_EVENTS", fires: [ { fire:"SHOW_ALERT", payload: (payload) => { return { type: "notification", title: "test", message: payload.title } }, }, ], }, ] } },
The result of this configuration is that I only see the title in the alert.
Thanks.