The value 'runout' is not valid for SENSOR

Unclear message / error: 09:38:00 The value ‘runout’ is not valid for SENSOR
What is the problem? Due to the error, no printing can be started.
What was done? Runout sensor was exchanged against BIGTREETECH Smart Filament Sensor

[printer.cfg]
#[filament_switch_sensor runout]
#pause_on_runout: True
#switch_pin: PA5

[filament_motion_sensor BIGTREETECH_Smart_Filament_Sensor]
detection_length: 10.0
#The minimum length of filament pulled through the sensor to trigger
#a state change on the switch_pin
#Default is 7 mm.
extruder: extruder
#The name of the extruder section this sensor is associated with.
#This parameter must be provided.
switch_pin: ^PA5
pause_on_runout: True
runout_gcode: FILAMENT_RUNOUT
event_delay: 5
pause_delay: 1
#See the “filament_switch_sensor” section for a description of the
#above parameters.

[macros.cfg]
[gcode_macro FILAMENT_RUNOUT]
description: FILAMENT_RUNOUT
gcode:
M300 S1 P10
M600
M300 S1 P10

[Versions]:
klipper: v0.10.0-546-ga709ba43
KlipperScreen: v0.2.5-27-g036ba20
moonraker: v0.7.1-625-g413e3b2
mainsail: v2.2.1
System: OS-Packages

As already requested, post your klippy.log file

1 Like

Uploading klippy.log, klippy.zip not working always “Sorry, an error has occurred”.

upload: Download files - Filemail

Strange. If I add this snippet to my config

[gcode_macro FILAMENT_RUNOUT]
description = FILAMENT_RUNOUT
gcode = 
	M300 S1 P10
	M600
	M300 S1 P10

[filament_motion_sensor BIGTREETECH_Smart_Filament_Sensor]
detection_length = 10.0
extruder = extruder
switch_pin = P1.27
pause_on_runout = True
runout_gcode = FILAMENT_RUNOUT
event_delay = 5
pause_delay = 1

it works.

Try to find out which line is actually causing the trouble, e.g. comment out runout_gcode = FILAMENT_RUNOUT, then see if it works. If not continue commenting out.

Tried all combinations always “The value ‘runout’ is not valid for SENSOR”

Try to install Klipper new?

Anyone else have any ideas on how I can get the BIGTREETECH Smart Filament Sensor with klipper to work?

So far I have tried

  • tried all combinations with/without #
  • Reinstalled and set up Mainsail OS with Raspberry Pi Imager
  • tried another BIGTREETECH Smart Filamentsensor

Unfortunately still “The value ‘runout’ is not valid for SENSOR”.

https://www.filemail.com/d/ldrzoknxnbzfdpr