-
Notifications
You must be signed in to change notification settings - Fork 118
Settings
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 Method
PSUControl can switch on your power supply using either:
-
GPIO
Uses available GPIO pin on the Raspberry Pi. Useful if there are no usable GPIO pins on the printer PCB and does not require firmware changes. -
G-Code Command
Use the existing On/Off commands supported by the printers PCB and firmware. -
System Command
Executes a system command on the OctoPrint server.
Note: Commands on *nix systems will be executed within the sh interpreter.
Enable switching with G-Code commands
Adds On/Off commands via G-Code when using GPIO or System switching.
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
Uses available GPIO pin on the Raspberry Pi. -
System Command
Executes a system command on the OctoPrint server. Command should provide a valid return exit code.
0 = On, 1 = Off
Note: Commands on *nix systems will be executed within the sh interpreter.
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.
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.