Auto power off

Hello, I have a problem with auto power off. It used to work a long time ago, but now it has stopped after the update. printer.cfg [gcode_macro Power_off] # power off only printer gcode: {action_call_remote_method("set_device_power",device="Printer",state="on")} [gcode_macro M81] gcode: TEMPERATURE_WAIT SENSOR=extruder MINIMUM=0 MAXIMUM=45 Power_off moonraker.conf [power Printer] type: gpio pin: !gpiochip0/gpio21 # uses pin 26 on gpiochip0 off_when_shutdown: False initial_state: on locked_while_printing: True Timer:8 [power Reset Power] type: gpio pin: gpiochip0/gpio20 locked_while_printing: True initial_state:off Timer:2 End G-code END_PRINT M81 What did I write wrong? After typing M81 in the console, the printer turns off. Unfortunately, after printing, not anymore.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server