Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Have Duet do a HTTP POST or curl (to control something else)?

    Scheduled Pinned Locked Moved
    General Discussion
    2
    4
    141
    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.
    • apristelundefined
      apristel
      last edited by

      Hi Duet'ers!

      Is it possible, maybe through a macro or whatever to have the duet board do a http post to control some lights of mine? I can think of a million other applications as well!

      ex:
      Duet finishes printing or hits a certain temp, duet does this:

      curl --data "" http://1.2.3.4/power?value=1

      Possible?

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

        currently only with Duet3 + Raspberry Pi or other SBC
        (or indirectly by enabling telnet, and having an external process listen to the telnet socket for a message from M117 or M118)

        apristelundefined 1 Reply Last reply Reply Quote 1
        • apristelundefined
          apristel @A Former User
          last edited by

          @bearer OK thanks for the response. I'll setup an ESP8266 or similar as a listener and have it do the lifting.

          Cheers.

          -Adam

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

            in that case this may be of interest, I hooked the ESP up to the paneldue port instead of telnet, it has 5v power and 3.3v serial and listened for the beep messages.
            https://forum.duet3d.com/post/93891

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA