ON - Rules - OFF help

Hi everyone.

Im a bit stuck, Hope someone can help me.

I have an item “Bedroom_TV_Up”, when I send command ON, then there should activate an rule, and after 4 second it should go back to OFF.

Can someone help me?


Use expire with “4s, command=OFF”

Hi, thanks for the input. I tried the expire binding, but it comes with this error:

==> /var/log/openhab2/openhab.log <==
2021-05-11 21:49:46.652 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-expire1': Error:
	Error downloading mvn:org.openhab.addons.bundles/org.openhab.io.homekit/[2.5.0,2.6)

btw, im running OH2,5

Ah, the remote repository to download individual add-ons for OH2 no longer works.


Thanks for your help… Its crazy a simple text, and a big help, then my worst nightmare just disappeared.

Thanks ALOT