Hi all,
This is my first post here, so if it's in the wrong location please forgive me and point me to where it would be more appropriate.
I'm new to 3D printing and have been tasked with remote commanding and querying of system parameters. We have a Duet 3 Mini 5 + Ethernet (Mini5plus) board and are running RepRapFirmware version 3.4.4 and Duet Web Control version 3.4.4.
I've been going through the documentation and can do some basics like asking the system to return gcode files in a directory:
"curl MACHINE_IP_ADDRESS/rr_fileslist?dir=0:/gcodes/". This correctly returns the files in the directory (I verify this with the DWC interface).
The system has 4 fans in it. I can tell it to turn on fan #2 by using
"curl MACHINE_IP_ADDRESS/rr_gcode?/gcode=M106P2S0.87". This turns on fan #2 to 87% (again, verified with the DWC interface).
Is there a way (or gcode syntax) that will allow me to ask for (query) the parameters of fan #2 ONLY? Or any other individual piece of hardware (if there's more than one in the system)?
So far, the best I can do is use
"curl MACHINE_IP_ADDRESS/rr_model?key=fans". This returns ALL parameters for ALL fans in the system.
I've been attempting this for about 2 days now and decided it's time to ask for help.
Thanks,
Mike