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

Http requests duet wifi

Scheduled Pinned Locked Moved
Duet Web Control
2
3
224
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.
  • undefined
    Joao Costa
    last edited by 1 Nov 2020, 19:53

    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
    • undefined
      dc42 administrators
      last edited by 1 Nov 2020, 21:24

      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
      • undefined
        Joao Costa
        last edited by 1 Nov 2020, 21:52

        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
        3 out of 3
        • First post
          3/3
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA