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)