Http requests duet wifi
-
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?
-
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.
-
but can I have the rr_connect and rr_status on the same link? or can I remove the password from duet?