[SOLVED] Timer not expiring

I am using the latest milestone release on openhabian.

I followed the Design Pattern: Expire Binding Based Timers tutorial.

my things:

Switch TestTimer { expire="2m,command=OFF" }

my rule:

rule "TestTimer expired"
when
    Item TestTimer received command OFF
then
    logInfo("Status","testtimer expired")
end

I created a button that sends ON to the TestTimer

2019-12-06 10:27:12.970 [ome.event.ItemCommandEvent] - Item 'TestTimer' received command ON
2019-12-06 10:27:12.979 [vent.ItemStateChangedEvent] - TestTimer changed from NULL to ON

But then nothing happens … TestTimer does not seem to receive the OFF command.

What am i doing wrong ? (i did restart openhab)

You have to install the Expire binding. It is a version 1.x binding, so you probably need to enable 1.x compatbility too.

Thanks a lot !! It seems such a basic feature that i never considered it was part of a binding.
I didn’t have to enable 1.x compatibility.