Shutdown command to the raspberry - #4 by Fuksas showed me how to do a system shutdown from a menu entry. I think you could probably build on that to invoke system shutdown and add a timer to toggle a pin on the SKR to turn off the PWC (if that’s how it works). Basically:
- system shutdown
UPDATE_DELAYED_GCODE ID=turn_off_pwc DURATION=180
With a [delayed_gcode turn_off_pwc]
that sets the pin? Just spitballing…