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

    Can I put a M291 answer into a JSON variable?

    Scheduled Pinned Locked Moved
    Duet Web Control
    3
    6
    278
    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.
    • Vinculumundefined
      Vinculum
      last edited by

      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:
      PHOTO-2022-05-19-14-53-39.jpg
      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?

      fcwiltundefined 1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt @Vinculum
        last edited by

        @vinculum

        Have you checked this out:

        Custom UI controls for DWC

        Frederick

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators
          last edited by

          @vinculum this feature is planned for release 3.5.

          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

          Vinculumundefined 1 Reply Last reply Reply Quote 1
          • Vinculumundefined
            Vinculum @dc42
            last edited by

            @dc42 Any estimation when it will be released? 😇

            dc42undefined 1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators @Vinculum
              last edited by

              @vinculum my best guess for a 3.5beta that includes this feature is 4 to 6 weeks from now.

              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

              Vinculumundefined 1 Reply Last reply Reply Quote 0
              • Vinculumundefined
                Vinculum @dc42
                last edited by

                @dc42 Looking forward to it! Thank you all for the help.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA