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

    Duet Ethernet api

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    3
    883
    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.
    • eorl_youngundefined
      eorl_young
      last edited by

      Hi all,

      Going to get started on assembling my Duet Ethernet and have some queries regarding data access from Duet Ethernet. I have a webserver I run at home that I use to control media center, freezer temp module, etc remotely. I am interested in integrating Duet with it so that I may have a dashboard for everything at home.

      Of course I can just Iframe the current web interface and be done with it. But rather than that I want to actually use the widgets/templates I have to control the printer and would like some kind of interface to get the information from Duet board. Basically I want an api to either seek specific information (current temp, status, % done, voltages, etc) and another api to control the printer(start print, heat bed, goto x,y,z, home, etc).

      Does such functionality already exist ?

      If not I will also have an ESP32 within wiring range of Duet. Can I wire something to Duet using I2C, SPI, Serial to get the above described functionality, because I can then use ESP32 to publish/subscribe to my MQTT broker and satisfy the above requirements easily?

      I understand USB establishes a serial connection using which I can do all of this, but is their a pinout which can interface with ESP32?

      1 Reply Last reply Reply Quote 0
      • Jackalundefined
        Jackal
        last edited by

        You can try using HTTP requests just like how the Duet Web Control communicate with the Duet
        https://github.com/chrishamm/DuetWebControl#list-of-http-requests

        1 Reply Last reply Reply Quote 0
        • eorl_youngundefined
          eorl_young
          last edited by

          Thanks, this is what I was looking for.

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