Nozzle LED von 3DO Kameras bei aktiven tool an machen
[gcode_shell_command T0_OFF] #RUN_SHELL_COMMAND CMD=T0_OFF
command: v4l2-ctl -d /dev/RatOS/rr-t0-camera -c backlight_compensation=0
timeout: 2.
verbose: True
[gcode_shell_command T1_OFF] #RUN_SHELL_COMMAND CMD=T1_OFF
command: v4l2-ctl -d /dev/RatOS/rr-t1-camera -c backlight_compensation=0
timeout: 2.
verbose: True
[gcode_shell_command T0_ON] #RUN_SHELL_COMMAND CMD=T0_ON
command: v4l2-ctl -d /dev/RatOS/rr-t0-camera -c backlight_compensation=1
timeout: 2.
verbose: True
[gcode_shell_command T1_ON] #RUN_SHELL_COMMAND CMD=T1_ON
command: v4l2-ctl -d /dev/RatOS/rr-t1-camera -c backlight_compensation=1
timeout: 2.
verbose: True
[delayed_gcode NOZZLE]
initial_duration: 5.
gcode:
{% if printer.toolhead.extruder == "extruder" %}
RUN_SHELL_COMMAND CMD=T1_OFF
RUN_SHELL_COMMAND CMD=T0_ON
{% else %}
RUN_SHELL_COMMAND CMD=T1_ON
RUN_SHELL_COMMAND CMD=T0_OFF
{% endif %}
UPDATE_DELAYED_GCODE ID=NOZZLE DURATION=5
ist nicht ganz schön da bei mir die konsole alle 5 sekunden meldungen raushaut wo muss ich das einbauem das die led angehen bei aktiviertem tool
0 Replies