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.

    Communication between webserver and MM

    Scheduled Pinned Locked Moved Troubleshooting
    8 Posts 3 Posters 4.0k 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.
    • brobergB Offline
      broberg Project Sponsor
      last edited by broberg

      I’m no where near a coder so disregard this If I don’t get it, but after some fast reading of your blog post, it sounds like you should be able to use the code from [card:paviro/MMM-syslog]

      to take commands from HTTP, the syslog module takes information from a string like this : http://MIRROR_IP:MIRROR_PORT/syslog?type=INFO&message=YOUR_MESSAGE

      1 Reply Last reply Reply Quote 1
      • B Offline
        bartalluyn
        last edited by

        @broberg

        thank you very much for pointing this out to me. Looking at the code that might indeed be a viable alternative.
        I’m going to check it out, and post an article to my blog with my findings.

        1 Reply Last reply Reply Quote 0
        • B Offline
          bartalluyn
          last edited by

          Hi there,
          I’ve been playing around, and changed the solution to the MMM-syslog alternative.
          Check it out in my blogpost:
          [https://smartmirrorprojectblog.wordpress.com/2017/01/22/an-alternative-custom-module/](link url)

          Thanks again for the pointer!

          strawberry 3.141S 1 Reply Last reply Reply Quote 1
          • strawberry 3.141S Offline
            strawberry 3.141 Project Sponsor Module Developer @bartalluyn
            last edited by

            @bartalluyn thats what i meant in first place

            Please create a github issue if you need help, so I can keep track

            B 1 Reply Last reply Reply Quote 0
            • B Offline
              bartalluyn @strawberry 3.141
              last edited by

              @strawberry-3.141
              Indeed, that’s what I realized after browsing through the syslog code. Kudo’s!

              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