MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.
How to invoke sendNotification from a outside shell script
-
Hi,
I wanted to send a notification to modules from a shell script.
How can I send notifications to magicmirror modules from external application or script?Please help me?
-
u have to write some additional communications process.
in one of my implementations, i write a file in the outside script, and my MM modules looks for the file and then processes it… which then sends notifications to other modules…
you could also use tcp/ip sockets, or websockets, or … there is no single builtin way -
MMM-NotificationTrigger
has HTTP endpoint to receive message. So if your external app can touch the endpoint, It can convert it to MagicMirror notification.Example of using IFTTT.
https://github.com/eouia/MMM-NotificationTrigger#usewebhook