prusa3d / Prusa-Link-Web

Prusa Web interface resources
GNU General Public License v3.0
114 stars 50 forks source link

[ENHANCEMENT] Support for Physical Button to set Ready state #463

Open ian6301 opened 6 months ago

ian6301 commented 6 months ago

i3Mk3S/S+ / Revo / MMU2

It would be awesome if I could use the GPIO pins on the Pi with a hardware button to set the printer state to ready (and other purposes). I am aware of, and am currently using the work-around where you "Print from SD" the job "SETREADY".

I have a reasonable complex enclosure for my printer and filament drying chamber. When I used to use OctoPrint, I was able to use HW buttons connected to GPIO pins to send inputs to the Pi, and to use outputs from the GPIO pins to turn enclosure lights and heating on/off, and even to cut power to the printer, via relays/MOSFETs.