I redneck engineered my Ender 3 to automatically shut off after a print without a raspberry pi. The end Gcode tells the z axis to move up which kills the power. Enjoy :)

http://bit.ly/2WHCvC2 http://bit.ly/2MP0YRg