Does Anyone Know if the K1 Max can turn itself off after printing?

I have the K1 Max and everything is working out well. It was an upgrade from my Ender 3 V2 which I used with Octoprint. I had a plugin that would turn off the printer (via smartplug) when the print was done.

Does anyone know if this is possible with the K1 Max?

Thanks is advance for the help.

You can issue a shutdown via web browser but it will not turn off the power.

You can use a wifi power plug such as TPlink. You will have to root your K1 and install moonraker to set a macro to control the tplink plug.

in moonraker.conf add

[power printer]

type: tplink_smartplug

address: 192.168.0.172 'insert the IP address of the tplink plug

restart_klipper_when_powered: True

restart_delay: 3

port: 9999

in gcode_macro_cfg ADD

[gcode_macro POWER_OFF_PRINTER]
gcode:

{action_call_remote_method(“set_device_power”,
device=“printer”,
state=“off”)}

[delayed_gcode delayed_printer_off]
initial_duration: 0.

gcode:
POWER_OFF_PRINTER

Modify END_PRINT macro: Add last line.

[gcode_macro END_PRINT]
gcode:
Qmode_exit
EXCLUDE_OBJECT_RESET
PRINT_PREPARE_CLEAR
M220 S100
SET_VELOCITY_LIMIT ACCEL=5000 ACCEL_TO_DECEL=2500
TURN_OFF_HEATERS
M107 P1
M107 P2
END_PRINT_POINT
WAIT_TEMP_START
M84
UPDATE_DELAYED_GCODE ID=delayed_printer_off DURATION=300

Bill

Thank you so much for the help.

This is really something they should add to the stock firmware. I will do a search for the Moonraker firmware.

This video will tell how to install moonraker and fluidd and other useful macros on K1 K1max and K1c

Bill

Thank you again!

I really appreciate it.