Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Duet Webserver documentation

    Duet Web Control
    4
    8
    571
    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.
    • SIam
      SIam last edited by

      Hi,

      maybee it can be that i'm blind! is there somewhere a Documentation for the build in Webserver with all rr_ commands ?

      regards

      Andy

      Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
      Duet WiFi 1.02 or later + DueX5
      RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
      Duet WiFi Server: 1.26
      Duet Web Control 3.4.0beta4 (2021-09-27)

      1 Reply Last reply Reply Quote 0
      • resam
        resam last edited by

        https://github.com/chrishamm/DuetWebControl#list-of-http-requests

        (and related: https://github.com/chrishamm/DuetWebControl/issues/61)

        Kriechi created this issue in chrishamm/DuetWebControl

        closed Move API calls to Duet Wiki #61

        1 Reply Last reply Reply Quote 0
        • SIam
          SIam last edited by

          this links i know! but there are not the complete documentation.

          Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
          Duet WiFi 1.02 or later + DueX5
          RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
          Duet WiFi Server: 1.26
          Duet Web Control 3.4.0beta4 (2021-09-27)

          T3P3Tony 1 Reply Last reply Reply Quote 0
          • resam
            resam last edited by

            There is also the source code - with a nice documentation block at the top:
            https://github.com/dc42/RepRapFirmware/blob/36488de6fc6635f470b311c91fe282efe7a3e559/src/Duet/Webserver.cpp#L28-L83

            (but AFAIK it is also not complete)

            1 Reply Last reply Reply Quote 0
            • T3P3Tony
              T3P3Tony administrators @SIam last edited by

              @siam what specifically are you missing?

              www.duet3d.com

              1 Reply Last reply Reply Quote 0
              • SIam
                SIam last edited by

                ok in the c Code i have not looked i think it will help me a bit, what i havent found for now is how i get the information when z.b M300: Play beep sound or when M291 is executed with rr_reply i will nothing receive when i execute this two comands

                Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
                Duet WiFi 1.02 or later + DueX5
                RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
                Duet WiFi Server: 1.26
                Duet Web Control 3.4.0beta4 (2021-09-27)

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

                  In file RepRap.cpp you will find this in the code that generates the reply to rr_status:

                  		if (sendBeep || sendMessage || mbox.active)
                  		{
                  			response->cat(",\"output\":{");
                  
                  			// Report beep values
                  			if (sendBeep)
                  			{
                  				response->catf("\"beepDuration\":%u,\"beepFrequency\":%u", beepDuration, beepFrequency);
                  				if (sendMessage || mbox.active)
                  				{
                  					response->cat(',');
                  				}
                  				beepFrequency = beepDuration = 0;
                  			}
                  

                  So you need to look for fields output/beepFrequency and output/beepDuration in the JSON status response.

                  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

                  1 Reply Last reply Reply Quote 0
                  • SIam
                    SIam last edited by

                    ok Thank you i will try it

                    Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
                    Duet WiFi 1.02 or later + DueX5
                    RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
                    Duet WiFi Server: 1.26
                    Duet Web Control 3.4.0beta4 (2021-09-27)

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