Fetching Duet state from Raspberry
-
Hi there,
I was wondering if there is a way to fetch the current state of the duet from the raspberry (the exact line of GCode that is currently executed would be perfect) -
You should be able to use the line property like in
echo line
orM118 S{"Current line: " ^ line}
. It should work both in SBC and standalone mode. -
That's actually the property i was looking for, problem is i dont know how to access the duet console from the raspberry (im using SBC mode), do you have a clue ?
I am trying to access it in the raspberry, not in the web view console
-
Found it :
i used the Pn parameter to redirect it to USB (P1), from there i just have to read the TTY output on the raspberry and do whatever i want with it