What is the problem?
I want to disable buttons/ controls while printing
What did you already try to solve it?
I have searched the internet and the documentation regarding config.yaml
Have you tried running in safe mode?
No
Did running in safe mode solve the problem?
I doubt it
Systeminfo Bundle
octoprint-systeminfo-20220302162036.zip (105.3 KB)
WRITE HERE
Additional information about your setup
This is a general problem I would think
I have made it like below in config.yaml, the controls works brilliant but I want them to be disabled when I print as it would create problems if I all of a sudden press one of those buttons in the middle of a print. Clumpsy fingers I guess... the "enable:" is where I have tried with false or true, will only disable or enable the control in general and does not affect the behaviour when the print starts (from what I can see).. Thx for helping out as I am a bit lost here... maybe @foosel can help out here?
controls:
- children:
- commands:
- G28
- G90
- M104 S200
- M109 S200
- G1 X300.0 Z50.0 F3000
enabled:
name: Load filament position
- commands:
- G92 E0
- G1 E60 F200
- G92 E0
- M84
enabled:
name: Load Filament
- commands:
- G92 E0
- G1 E50 F100
- G4 P2000
- G1 E-200 F200
- G92 E0
- M84
enabled:
name: Unload Filament
layout: horizontal
name: Filament Loading
- commands: