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

Open
opened 2023-09-12 21:32:17 +01:00 by Pietrogramma · 0 comments
Pietrogramma commented 2023-09-12 21:32:17 +01:00 (Migrated from github.com)

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

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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Gandalf/OctoPrint-Enclosure#499