Can I put a M291 answer into a JSON variable?
-
I am building a large farm of printers. To keep track of all that is being printed I have made a simple but effective Farm Monitor. It is basicly a webpage that polls every printer for their JSON info. It filteres and extracts the info it needs and displays it on the webpage.
Here is a screenshot of the first few printers to give you an idea:
Basicly, printers that are happily printing are not interesting so they are greyed out. When the print is nearly finished the background gets brighter until it is white when finished. Different shades and colors for Pause, Errors etc.
Values that are not normal are displayed red.So far so good.
But, I want to add a quality control (QC) option to the printers with a feedback to the Farm Monitor.
Is there a way to ask on the PanelDue for QC input via M291 for instance and feed the outcome to a JSON variable? That way I can read that variable from the duet and mark the part not only as finished but also as QC passed. It then can report to the database that the print is indeed acceptable and a new file will be pushed to the printer.
Sidequestion: Is it possible to change the answers from M291 from OK/Cancel to Yes/No for instance?
-
-
@vinculum this feature is planned for release 3.5.
-
@dc42 Any estimation when it will be released?
-
@vinculum my best guess for a 3.5beta that includes this feature is 4 to 6 weeks from now.
-
@dc42 Looking forward to it! Thank you all for the help.