MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    How to invoke sendNotification from a outside shell script

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 3 Posters 1.1k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      agileselenium
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil
        last edited by

        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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User
          last edited by A Former User

          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

          1 Reply Last reply Reply Quote 2
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy