Read the statement by Michael Teeuw here.
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-NotificationTriggerhas 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
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