kantlivelong / OctoPrint-PSUControl

Smart control of your power supply via GPIO, GCODE Command, System Command, or variety of sub-plugins.
GNU Affero General Public License v3.0
203 stars 113 forks source link

[Request] : is there a shutdown PSU on shutdown of pi option #261

Open bertybassett opened 1 year ago

bertybassett commented 1 year ago

is there a shutdown PSU on shutdown of pi option. if not could this be added?

kantlivelong commented 1 year ago

A system shutdown signal will stop OctoPrint and prevent any plugin from performing an action.

bolsoncerrado commented 1 year ago

So the idea would be "send warning of printer's raspi being shutdown to FHEM, FHEM adds a delay, then launches a switch off to the smartswitch powering raspi/printer that reported the shutdown".

https://plugins.octoprint.org/plugins/psucontrol_fhem/

So the idea would be "send warnign of printer's raspi being shutdown to FHEM, FHEM adds a delay, then launches a switch off to the raspi that reported the shutdown".

Makes any sense?