For one printer I put a button in octoprint to toggle USB port power on the raspberry pi and powered the ramps/Arduino from the pi instead of the 12v printer PSU. Then I could turn off most of the printer right from the web interface.
Tagpro