# Different Timers used by pushbutton

**URL:** <https://community.openhab.org/t/different-timers-used-by-pushbutton/99886>\
**Category:** Beginners\
**Created:** [May 31, 2020, 7:51pm UTC](https://community.openhab.org/t/different-timers-used-by-pushbutton/99886 "2020-05-31T19:51:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rossko57](https://community.openhab.org/user_avatar/community.openhab.org/rossko57/32/70263_2.png) [@rossko57](https://community.openhab.org/u/rossko57)\
**Post date:** [May 31, 2020, 8:59pm UTC](https://community.openhab.org/t/different-timers-used-by-pushbutton/99886/2 "2020-05-31T20:59:57Z")

</div>

Might find this adaptable

> [@Design Pattern : Expire Binding based Countdown timer](https://community.openhab.org/t/design-pattern-expire-binding-based-countdown-timer/49225):
>
> Problem Statement Sometimes you need to run a timer, but want to able to inspect the remaining time. This is not directly possible with either createTimer() or the Expire binding. Example - I have lighting-on timers that run for different duration depending on the trigger source or time of day. It is useful to have the timer behave “intelligently” - do not apply a new 5-minute request where there is still seven minutes of a previous trigger to run. But do apply it if there is only two minu…

---

_[View the full topic](https://community.openhab.org/t/different-timers-used-by-pushbutton/99886)._
