Mono-stable switch in UI

Hi,
I successfully installed a Fibaro FGS-222 switch and configured it as a mono-stable switch to open my garage.
The sitemap configuration is also working fine, but on the UI I still have a bi-stable switch which didn’t jump back after a certain time.
Is there a way to configure also the UIs to show mono-stable switches?

Please apologize if this question is a dump one, I’m new to this amazing OpenHab project.

For that you can use the expire-binding https://docs.openhab.org/addons/bindings/expire1/readme.html

maybe autoupdate=false will fix it?

Hey @homeJoe,
I have done something similar. With a combination of mappings and autoupdate=false you can have a mono switch, that can always be triggered.

Sitemap:

Switch item=garagedoor mappings=[ON="Open"]

Item:

Switch garagedoor  "Garage door" <garagedoor> { exec=">[ON:open door script]" , autoupdate="false"}

You need to replace exec=">[ON:open door script]" with your command to open the garage door.

1 Like

Hi hr3,
it works with the expire-binding if I don’t configure the switch as mono-stable.
With a normal switch it works now as wanted. Thanks.