OH3 expire timer not seen in the frontail log

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

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:

0h30m0s,command=OFF

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

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.