Loading

Report as inappropriate

Do not know where to add the location

sudo nano ~/.octoprint/config.yaml

system:
actions:

  • action: pon
    command: printer_on.sh
    name: PrinterOn
  • action: poff
    command: printer_off.sh
    confirm: Are you sure you want to turn off the printer?
    name: PrinterOff
  • action: lon
    command: light_on.sh
    name: LightOn
  • action: loff
    command: light_off.sh
    name: LightOff