Duet 3 Modify web control interface
-
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
-
@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
-
I use Execonmode but installed it the original way and they guide I followed, sets up M7722 as a shutdown code.
-
@rushmere3d i would consider upgrading to the new plugin as the old one is no longer being maintained
-
@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?
-
@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.
-
@jay_s_uk Well it seems to break when I update anyway, so next time I do, I'll try it out.