# Filament runout sensor

**URL:** <https://klipper.discourse.group/t/filament-runout-sensor/14442>\
**Category:** General Discussion\
**Created:** [February 25, 2024, 10:50pm UTC](https://klipper.discourse.group/t/filament-runout-sensor/14442 "2024-02-25T22:50:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![JV3D](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@JV3D](https://klipper.discourse.group/u/JV3D)\
**Post date:** [February 25, 2024, 10:50pm UTC](https://klipper.discourse.group/t/filament-runout-sensor/14442/1 "2024-02-25T22:50:31Z")

</div>

### Basic Information:

Printer Model: Kobra2  
 MCU / Printerboard:Stock  
 `klippy.log`

_Fill out above information and_ **_in all cases attach your_ `klippy.log` _file_** (use zip to compress it, if too big). _Pasting your_ `printer.cfg` _is **not** needed_  
_ **Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there** _

### Describe your issue:

… So a long time ago I changed the input state of my filament sensor to think there was filament there when there was not because at the time I was not using it and it was a pain to have to disable the sensor every time. Well fast forward 8 months and I want to use it now but for the life of me I can’t remember where I adjusted it. I know I changed the state from a 1 to a 0 but that’s all I can remember.

---

<div class="post-metadata">

**Author:** ![LifeOfBrian](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/lifeofbrian/32/2380_2.png) [@LifeOfBrian](https://klipper.discourse.group/u/LifeOfBrian)\
**Post date:** [February 26, 2024, 7:18am UTC](https://klipper.discourse.group/t/filament-runout-sensor/14442/2 "2024-02-26T07:18:37Z")

</div>

How should we know where to change it either without a current klippy.log?  
Or did you change it in the printer menue?

---

<div class="post-metadata">

**Author:** ![JV3D](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@JV3D](https://klipper.discourse.group/u/JV3D)\
**Post date:** [February 26, 2024, 11:24pm UTC](https://klipper.discourse.group/t/filament-runout-sensor/14442/3 "2024-02-26T23:24:21Z")

</div>

It was changed in a config somewhere (I believe). The nippy log does not show anything related to it because it is doing what it is ment to do, just in reverse. It says empty when there is filament and detected when empty. It has something to do with the state of the switch, unfortunately I don’t remember where I updated it over eight months ago lol

---

<div class="post-metadata">

**Author:** ![LifeOfBrian](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/lifeofbrian/32/2380_2.png) [@LifeOfBrian](https://klipper.discourse.group/u/LifeOfBrian)\
**Post date:** [February 27, 2024, 7:23am UTC](https://klipper.discourse.group/t/filament-runout-sensor/14442/4 "2024-02-27T07:23:33Z")

</div>

It is for a reason asking for the klippy.log!  
This log also contains your config where one could check your settings and tell you to invert the sensor pin p42 to get it working.  
But without this log at least I can’t tell you this…

---

<div class="post-metadata">

**Author:** ![JV3D](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@JV3D](https://klipper.discourse.group/u/JV3D)\
**Post date:** [February 27, 2024, 10:47pm UTC](https://klipper.discourse.group/t/filament-runout-sensor/14442/5 "2024-02-27T22:47:53Z")

</div>

I have attached my log. Where would one invert the pin?

[klippy.log](https://klipper.discourse.group/uploads/short-url/y3kptHttXlMU2eTTHp9zl39WKfw.log) (99.8 KB)

---

<div class="post-metadata">

**Author:** ![JV3D](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@JV3D](https://klipper.discourse.group/u/JV3D)\
**Post date:** [February 27, 2024, 10:50pm UTC](https://klipper.discourse.group/t/filament-runout-sensor/14442/6 "2024-02-27T22:50:51Z")

</div>

I got it figured out. I knew i had to do something like that, i just thought it was somewhere else. Thanks for the help

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/64419bf2aac6639e6ef5cef200dcd456b0a01ac3.png) [@system](https://klipper.discourse.group/u/system)\
**Post date:** [April 27, 2024, 10:51pm UTC](https://klipper.discourse.group/t/filament-runout-sensor/14442/7 "2024-04-27T22:51:19Z")

</div>

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