docs: document 'restart_klipper_when_powered' option

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2021-01-27 06:58:18 -05:00
parent 9e240c3b86
commit 9c385ce067
1 changed files with 11 additions and 4 deletions

View File

@ -151,6 +151,17 @@ off_when_shutdown: False
# If set to True the device will be powered off when Klipper enters # If set to True the device will be powered off when Klipper enters
# the "shutdown" state. This option applies to all device types. # the "shutdown" state. This option applies to all device types.
# The default is False. # The default is False.
locked_while_printing: False
# If True, locks the device so that the power cannot be changed while the
# printer is printing. This is useful to avert an accidental shutdown to
# the printer's power. The default is False.
restart_klipper_when_powered: False
# If set to True, Moonraker will issue a "FIRMWARE_RESTART" to Klipper
# after the device has been powered on. The default is False, thus no
# attempt to made to restart klipper after a restart.
restart_delay: 1.
# If "restart_klipper_when_powered" is set, this option specifies the amount
# of time (in seconds) to delay the restart. Default is 1 second.
pin: gpiochip0/gpio26 pin: gpiochip0/gpio26
# The pin to use for GPIO devices. The chip is optional, if left out # The pin to use for GPIO devices. The chip is optional, if left out
# then the module will default to gpiochip0. If one wishes to invert # then the module will default to gpiochip0. If one wishes to invert
@ -164,10 +175,6 @@ initial_state: off
# The initial state for GPIO type devices. May be on or # The initial state for GPIO type devices. May be on or
# off. When moonraker starts the device will be set to this # off. When moonraker starts the device will be set to this
# state. Default is off. # state. Default is off.
locked_while_printing: False
# If True, locks the device so that the power cannot be changed while the
# printer is printing. This is useful to avert an accidental shutdown to
# the printer's power.
address: address:
port: port:
# The above options are used for "tplink_smartplug" devices. The # The above options are used for "tplink_smartplug" devices. The