homebridge-openhab2-complete icon indicating copy to clipboard operation
homebridge-openhab2-complete copied to clipboard

Support for Switch with autoupdate="false"

Open gdolfen opened this issue 6 years ago • 1 comments

Hello, I have configuered a Switch in OpenHAB with autoupdate="false" for my garage door, because it doesn't support ON/OFF. So my item never has a state and the value always remains null. Here is my item definition: Switch Garage_Door "Garage" (Garage) { autoupdate="false", channel="rfxcom:lighting2:usb0:garage:command" }

Pehrhaps this is a use case for a Stateless Programmable Switch. Can you please add support for it?

Thanks & greets Guido

gdolfen avatar Oct 06 '19 09:10 gdolfen

I won't come around implementing this soon, but I will keep this issue open, when I find the time.

In the meantime you could workaround this through openHAB, define a proxy item for your garage door as a switch and store the state depending on the last command send to the item.

steilerDev avatar Dec 05 '19 16:12 steilerDev