# OH3 expire timer not seen in the frontail log

**URL:** <https://community.openhab.org/t/oh3-expire-timer-not-seen-in-the-frontail-log/135332>\
**Category:** Migration\
**Tags:** expire\
**Created:** [April 20, 2022, 8:58pm UTC](https://community.openhab.org/t/oh3-expire-timer-not-seen-in-the-frontail-log/135332 "2022-04-20T20:58:00Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Grzegorz\_Golec](https://community.openhab.org/user_avatar/community.openhab.org/grzegorz_golec/32/43592_2.png) [@Grzegorz\_Golec](https://community.openhab.org/u/Grzegorz_Golec)\
**Post date:** [April 21, 2022, 12:37pm UTC](https://community.openhab.org/t/oh3-expire-timer-not-seen-in-the-frontail-log/135332/3 "2022-04-21T12:37:09Z")

</div>

I tried to simplify my question and I caused more confusions. once again. In OH2 I used your guideline:

> [@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…

whenever count decremented I was able to see it in event.log.  
I build new env in OH3, I created switch Item for turning light with Expiration Time set for 30m in Metadata.

I have also PIR which sends ON on movement. I would like to reset Expiration Time on the switch to 30m whenever detects move.

I’m checking your script again and I think that either it is not possible in oh3 or I define timer in wrong way.  
I have now item called SonoffWall2CHLazienkaDol\_E2 and configured with:

```auto
0h30m0s,command=OFF

```

I do not want to create separate timer with rules etc. I was thinking about 1 simple rule:

```auto
When PIR changed status from OFF to ON 
then
execute script: SonoffWall2CHLazienkaDol_E2.postUpdate(30)
end

```

1. I do not see in event log info that SonoffWall2CHLazienkaDol\_E2 decrement timer every minute
2. tried to test by enforcing 1m tot the timer after siwtching on light by sending SonoffWall2CHLazienkaDol\_E2.postUpdate(1) but it also does not work.
3. I’m wondering if I do not need to use `command=-1` ?

In meanwhile I read more posts regarding expire timer and I think it can’t be modified on the fly.

---

_[View the full topic](https://community.openhab.org/t/oh3-expire-timer-not-seen-in-the-frontail-log/135332)._
