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

    Duet 3 Modify web control interface

    Scheduled Pinned Locked Moved
    Duet Web Control
    3
    7
    244
    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.
    • temisAPundefined
      temisAP
      last edited by

      Hi there,

      We are running a Duet 3 printer through a Raspberry Pi 4. As is well known, shutting down the Raspberry without command a "shutdown" can corrupt the SD and that's what happened to us 😞

      Because of that, instead of access to the Pi via SSH, command a "shutdown" and then turn off the power source, we'd like to add a button into the web control interface to run the command easily. Is there any way to modify the web control interface?

      Thanks

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @temisAP
        last edited by

        @temisap use btncmd https://plugins.duet3d.com/plugins/BtnCmd.html and the execonmcode plugin https://plugins.duet3d.com/plugins/DSF_ExecOnMcode_Plugin.html

        I thought there was an mcode for it but there isn't

        M540 Set MAC address
        M550 Set Name
        M552 Set IP address, enable/disable network interface
        M553 Set Netmask
        M554 Set Gateway
        M586 Configure network protocols
        M587 Add WiFi host network to remembered list, or list remembered networks
        M588 Forget WiFi host network
        M589 Configure access point parameters
        M999 B-1 Reboot SBC
        

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        Rushmere3Dundefined 1 Reply Last reply Reply Quote 0
        • Rushmere3Dundefined
          Rushmere3D @jay_s_uk
          last edited by

          @jay_s_uk

          I use Execonmode but installed it the original way and they guide I followed, sets up M7722 as a shutdown code.

          Follow my adventures in 3D Printing, laser cutting and electronics. https://linktr.ee/Rushmere3D

          jay_s_ukundefined 1 Reply Last reply Reply Quote 1
          • jay_s_ukundefined
            jay_s_uk @Rushmere3D
            last edited by

            @rushmere3d i would consider upgrading to the new plugin as the old one is no longer being maintained

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            Rushmere3Dundefined 1 Reply Last reply Reply Quote 0
            • Rushmere3Dundefined
              Rushmere3D @jay_s_uk
              last edited by

              @jay_s_uk I only use it for shutting down the Pi and if you saying it's not setup to do it why would I upgrade?

              Follow my adventures in 3D Printing, laser cutting and electronics. https://linktr.ee/Rushmere3D

              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @Rushmere3D
                last edited by

                @rushmere3d all i'm saying that going forwards if something changes in DSF that stops the original execonmcode from working, you'll have to upgrade anyway.

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                Rushmere3Dundefined 1 Reply Last reply Reply Quote 0
                • Rushmere3Dundefined
                  Rushmere3D @jay_s_uk
                  last edited by

                  @jay_s_uk Well it seems to break when I update anyway, so next time I do, I'll try it out.

                  Follow my adventures in 3D Printing, laser cutting and electronics. https://linktr.ee/Rushmere3D

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