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.

    Send Notifications from Linux/RPi Command Line

    Scheduled Pinned Locked Moved Development
    8 Posts 2 Posters 730 Views 2 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.
    • S Offline
      sdetweil @raspberrypi9
      last edited by sdetweil

      @raspberrypi9 yes, you can listen to socket, you can also read file.

      i think the one i suggested is not arbitrary timed event

      if you use the room prefix, you can use the same port as MagicMirror

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @raspberrypi9 on the other hand, if you make it post to url, then one could use curl to post it, you wouldn’t have to write a client

        post json { “notification”:“value”, “payload”:{ etc }}

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @raspberrypi9 here you go

          https://github.com/sdetweil/MMM-CurlToNotification

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • R Offline
            raspberrypi9
            last edited by

            Sam, I love this! It is exactly what I was looking for and very useful. Thanks so much for making it!

            S 2 Replies Last reply Reply Quote 1
            • S Offline
              sdetweil @raspberrypi9
              last edited by

              @raspberrypi9 i didn’t mean to steal your thunder tho

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @raspberrypi9 and curl can send a whole file of json, not just a short blob

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 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