BTT Smart Sensor issues

Hello, When attempting to print with a BTT Smart sensor with this config I get this Error. I am at a loss with this and am looking for some guidance. Board: BTT Oct V1.1
Firmware v0.11.0-6-g336cc92a Error: "The value 'my_sensor' is not valid for SENSOR klipper" When running Set_Filament_Sensor I receive this error: "Error on 'SET_FILAMENT_SENSOR': missing SENSOR" Config: bigtreetech smart filament sensor [filament_motion_sensor btt_sfs] extruder: extruder switch_pin: !PG15 execute PAUSE immediately after a runout is detected pause_on_runout: true A list of G-Code commands to execute after a filament runout is detected. If pause_on_runout is set to True this G-Code will run after the PAUSE is complete. The default is not to run any G-Code commands. runout_gcode: RESPOND TYPE=error MSG="filament runout!" M117 filament runout! Any Help with this would be greatly appreciated!
9 Replies
blacksmithforlife
please upload your entire printer.cfg
noble-gold
noble-goldOP3y ago
Here is my current Printer.cfg file!
blacksmithforlife
And what is the current error you are getting?
noble-gold
noble-goldOP3y ago
"The value 'my_sensor' is not valid for SENSOR klipper"
blacksmithforlife
It looks ok to me. You could try what this user recommended https://klipper.discourse.group/t/the-value-runout-is-not-valid-for-sensor/3851/4
Klipper
The value 'runout' is not valid for SENSOR
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_de...
Alex91
Alex913y ago
Try this one from my config: ### Filament Sensor ### [filament_motion_sensor encoder_sensor] detection_length: 7 extruder: extruder switch_pin: PG11 runout_gcode: PAUSE pause_on_runout: True event_delay: 3.0 pause_delay: 0.5
miklschmidt
miklschmidt3y ago
You slicer is set to enable "my_sensor", but you've called your filament sensor: "btt_sfs". Simply replace the name in your slicers custom gcode.
blacksmithforlife
In his latest printer.cfg it is correctly named my_sensor
miklschmidt
miklschmidt3y ago
Did he restart klipper too? Because it doesn't look that way
Want results from more Discord servers?
Add your server