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

Is it possible to RESET the Duet over the network ?

Scheduled Pinned Locked Moved Solved
General Discussion
2
9
181
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.
  • undefined
    machinemark
    last edited by 28 Jan 2025, 12:11

    I am remotely logged into a laptop that has a Duet 6XD hanging off it.

    I wrote a macro that is in a never ending loop that brings up a message using M291. I hit ok but then the message displays again and there is not enough time to hit the Estop between messages.

    Is there a way to send a command to reboot the board from my browser in a remote location?

    Thanks Mark

    undefined 1 Reply Last reply 28 Jan 2025, 12:14 Reply Quote 0
    • undefined
      droftarts administrators @machinemark
      last edited by 28 Jan 2025, 12:14

      @machinemark Try M999 https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m999-restart

      Ian

      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

      1 Reply Last reply Reply Quote 0
      • undefined
        machinemark
        last edited by 28 Jan 2025, 12:16

        There is no one to do a hard reset. Or is there a key board short cut to acknowledge the OK on the M291 message and or a keyboard short cut for ESTOP.? Maybe if I can quickly apply the two to get out of the loop.

        Thanks again.

        1 Reply Last reply Reply Quote 0
        • undefined
          machinemark
          last edited by 28 Jan 2025, 12:23

          Hello droftarts,

          I cannot run anything from the console unless there is a way to append M999 in the browsers address bar. I am remotely logged in and the Duet has a static IP address 192.168.1.14 in the address bar. Is there some sort of HTML method to POST ??

          1 Reply Last reply Reply Quote 0
          • undefined
            machinemark
            last edited by 28 Jan 2025, 12:38

            I tried the common keys (ENTER, ESC, DEL, SPACE, BACKSPACE etc ) to acknowledge the M291 message but no luck. I was hoping to hover the cursor over the ESTOP, use a shortcut to acknowledge the M291 message and then press the ESTOP before (very little time) the message comes up again. Regret not putting a pause 😞 in the macro.

            undefined 1 Reply Last reply 28 Jan 2025, 14:31 Reply Quote 0
            • undefined
              droftarts administrators @machinemark
              last edited by 28 Jan 2025, 14:31

              @machinemark Ah, right, you can't click to get to the console. Yes, you can send Gcodes via html. See https://github.com/Duet3D/RepRapFirmware/wiki/HTTP-requests#get-rr_gcode
              Probably have a read of the whole page.

              Ian

              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

              1 Reply Last reply Reply Quote 0
              • undefined
                machinemark
                last edited by 28 Jan 2025, 16:39

                Hello droftarts,

                I RTFM of both links and had a guess and used;

                http://192.168.1.14/rr_gcode?gcode=M999

                WOW! That worked.

                Back to playing with the Duet.

                Thanks again for your help.

                undefined 1 Reply Last reply 28 Jan 2025, 17:13 Reply Quote 1
                • undefined T3P3Tony marked this topic as a question 28 Jan 2025, 17:12
                • undefined T3P3Tony has marked this topic as solved 28 Jan 2025, 17:12
                • undefined
                  droftarts administrators @machinemark
                  last edited by 28 Jan 2025, 17:13

                  @machinemark Great! I haven't used it myself, so didn't want to give you a command to follow, as it might have been wrong! You didn't have to send http://192.168.1.14/rr_connect?password= first?

                  Ian

                  Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    machinemark
                    last edited by 30 Jan 2025, 22:50

                    No I did not, just worked

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