# Condition for checking the state of the I/O pin(dual filament run out sensor)

**URL:** <https://klipper.discourse.group/t/condition-for-checking-the-state-of-the-i-o-pin-dual-filament-run-out-sensor/798>\
**Category:** Features\
**Created:** [August 31, 2021, 3:37pm UTC](https://klipper.discourse.group/t/condition-for-checking-the-state-of-the-i-o-pin-dual-filament-run-out-sensor/798 "2021-08-31T15:37:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [September 1, 2021, 6:12am UTC](https://klipper.discourse.group/t/condition-for-checking-the-state-of-the-i-o-pin-dual-filament-run-out-sensor/798/2 "2021-09-01T06:12:41Z")

</div>

See [Macro Creation Tutorial - #8 by mental](https://klipper.discourse.group/t/macro-creation-tutorial/30/8)  
and  
[Example: Search Printer Objects](https://klipper.discourse.group/t/example-search-printer-objects/164)

If your intention cannot be handled by a macro, then a change to the code base is necessary, which would require a willing developer to implement

---

_[View the full topic](https://klipper.discourse.group/t/condition-for-checking-the-state-of-the-i-o-pin-dual-filament-run-out-sensor/798)._
