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.
    • machinemarkundefined
      machinemark
      last edited by

      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

      droftartsundefined 1 Reply Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators @machinemark
        last edited by

        @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
        • machinemarkundefined
          machinemark
          last edited by

          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
          • machinemarkundefined
            machinemark
            last edited by

            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
            • machinemarkundefined
              machinemark
              last edited by

              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.

              droftartsundefined 1 Reply Last reply Reply Quote 0
              • droftartsundefined
                droftarts administrators @machinemark
                last edited by

                @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
                • machinemarkundefined
                  machinemark
                  last edited by

                  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.

                  droftartsundefined 1 Reply Last reply Reply Quote 1
                  • T3P3Tonyundefined T3P3Tony marked this topic as a question
                  • T3P3Tonyundefined T3P3Tony has marked this topic as solved
                  • droftartsundefined
                    droftarts administrators @machinemark
                    last edited by

                    @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
                    • machinemarkundefined
                      machinemark
                      last edited by

                      No I did not, just worked

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