The value 'RunoutSensor' is not valid for SENSOR

Basic Information:

Printer Model: Anycubic Kobra 2 Neo
Host / SBC: BIGTREETECH PI V1.2
klippy (3).log (3.1 MB)

Describe your issue:

Hi, when I start printing I get the error “ The value ‘RunoutSensor’ is not valid for SENSOR” and printing stops, what can it be connected with? I don’t understand what is giving this error.

[filament_switch_sensor switch_sensor]
switch_pin = host:gpio228
pause_on_runout = False
runout_gcode = 
	PAUSE
	M117 Filament switch runout
insert_gcode = 
	M117 Filament switch inserted

… gpio228… That doesn’t look like the correct pin to me

The thing is that the printer used to print normally, I found this pin in the official guide. I just set up a macro to pause and resume printing, but after rebooting the system and starting printing, an error occurred

As the word “RunoutSensor” does not appear anywhere in your config, the only possible source probably is your slicer’s settings, e.g. start gcode etc

1 Like

Oh, i remembered that with my old filament sensor, I had start code set up in the slicer. Thank you very much!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.