Multiple outputs controlled by one input? #280

Open
opened 2019-12-20 21:07:55 +00:00 by KriLL3 · 0 comments
KriLL3 commented 2019-12-20 21:07:55 +00:00 (Migrated from github.com)

I've made a shell script output with "sudo shutdown -h now" to shut down the pi safely, but I'd also like to send the g-code: "M117 RPI Shut Down" or similar to have a visual verification on the front of the printer on my LCD controller that the rpi is shut down when I power down the 5v to the printer. Unless I'm mistaken this isn't currently possible?

An option to add more than one item in "Controlled IO" would be nice.

I've made a shell script output with "sudo shutdown -h now" to shut down the pi safely, but I'd also like to send the g-code: "M117 RPI Shut Down" or similar to have a visual verification on the front of the printer on my LCD controller that the rpi is shut down when I power down the 5v to the printer. Unless I'm mistaken this isn't currently possible? An option to add more than one item in "Controlled IO" would be nice.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Gandalf/OctoPrint-Enclosure#280