Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Http requests duet wifi

    Duet Web Control
    2
    3
    102
    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.
    • Joao Costa
      Joao Costa last edited by

      Hello everyone I'm doing a project on the raspberry pi with openhab, to read the status of several 3D printers with duet 2 wifi. I need to read information about percentage, temperature, etc. in one command. for example: I tried using http://192.168.1.200/rr_status, but I get the authentication error. if you do it first: http://192.168.1.200/rr_connect?password=1234 and then the status already works. can I do this all in one link only?

      1 Reply Last reply Reply Quote 0
      • dc42
        dc42 administrators last edited by

        No, you need the rr_conect command to establish a session.

        BTW, RepRapFirmware 3 provides a new HTTP query rr_model that you can use to retrieve data from the object model.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • Joao Costa
          Joao Costa last edited by

          but can I have the rr_connect and rr_status on the same link? or can I remove the password from duet?

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