Skip to content

Settings

Shawn Bruce edited this page Sep 18, 2017 · 14 revisions

This is a work in progress.

General

GPIO Mode
GPIO pins can be specified by either BOARD or BCM. See What is the difference between BOARD and BCM for GPIO pin numbering?

Switching

Switching Method
PSUControl can switch on your power supply using either:

  • GPIO
    Use GPIO on the Raspberry Pi. Useful if there are no usable GPIO pins on the printer PCB and does not require firmware changes.

  • G-Code
    Use the existing On/Off commands supported by the printers PCB and firmware.

  • System
    Executes a system command on the OctoPrint server.

Enable switching with G-Code commands
Adds On/Off commands via G-Code when using GPIO or System switching.

Sensing

Provides PSUControl with the current state of the power supply.

Sensing Method

  • Intenal
    Keeps track of the PSU on/off state internally based on the last action.

  • GPIO
    Use GPIO on the Raspberry Pi. Useful if there are no usable GPIO pins on the printer PCB and does not require firmware changes.

  • System Command
    Executes a system command on the OctoPrint server. Command should provide a valid return code.
    0 = On, 1 = Off

Power On Options

Automatically turn PSU ON
Turn the power supply on whenever a printer command within the Trigger Commands list is executed.

Post On Delay
Wait x seconds after turning the power supply on before executing the next printer command.

Power Off Options

Automatically turn PSU OFF when idle
Turns the power supply off after {Idle Timeout} minutes and all hotends are below {Wait For Temperature}°C. Ignore Commands are not counted towards the idle timer.

Disconnect on power off.
Disconnect from the printer after switching the PSU off.

Clone this wiki locally