vitormhenrique / OctoPrint-Enclosure

OctoPrint Enclosure Plugin
GNU General Public License v3.0
399 stars 203 forks source link

Turn On a LED at the end of the print session #499

Open Pietrogramma opened 1 year ago

Pietrogramma commented 1 year ago

Hi everybody, I use enclosure plugin for control two relè, one that turn OFF or ON the printer and the other for turn OFF or ON a LEDstrip.

I configured both GPIOs with auto startup and auto shutdown, so when I send a file to print the printer and the LED strip turn on and when the printing finishes it turns everything off. Is there a possibility to make the LEDs turn on when the printing reaches 99% and turn them off after 5 seconds after it has finished printing? I have installed the Telegram Plugin and I would like to send me a photo at the end of the printed piece and the LEDs must be turned on (otherwise the photo will be dark), but I would like to avoid the LEDs being turned on for several hours until the printing is finished. I hope I explained myself. Hello and thanks