switch.psu.enable true # turn atx on/off switch.psu.input_on_command M80 # switch.psu.input_off_command M81 # switch.psu.output_pin 2.4 # small mosfet switch.psu.output_type digital # on/off only # turn the PSU off when the hotend temp cools below 50, only do this after M1100 S1 has been executed temperatureswitch.psu_off.enable true # temperatureswitch.psu_off.designator T # first character of the temperature control designator to use as the temperature sensor to monitor temperatureswitch.psu_off.switch psu # select which switch to use, matches the name of the defined switch temperatureswitch.psu_off.threshold_temp 50.0 # temperature to trigger at when falling temperatureswitch.psu_off.heatup_poll 30 # poll heatup every 30 seconds temperatureswitch.psu_off.cooldown_poll 30 # poll cooldown every 30 seconds temperatureswitch.psu_off.arm_mcode 1100 # M1100 S1 will arm it temperatureswitch.psu_off.trigger falling # only trigger when the temp falls below after being above temperatureswitch.psu_off.inverted false # turn the switch off when we trigger (by default switches on when rising and off when falling)