QuailAutomation / openhab2-addons

The next-generation open Home Automation Bus (openHAB)
Eclipse Public License 2.0
8 stars 7 forks source link

Align Omnilink motion item type with other OH devices #152

Closed swamiller closed 3 years ago

swamiller commented 4 years ago

Currently the Omnilink binding uses a Contact item type for motions which output an "OPEN" or "CLOSED" state.
Other common OH devices (like zwave) use a Switch item type with an "ON" or "OFF" output for motion detectors.

The difference in item types forces the need to convert one or the other for usage in occupancy rule logic.

boc-tothefuture commented 3 years ago

Hi @swamiller Not sure what we should do for this one.. because a motion sensor really is a contact and certainly that is how Omnilink views it in the protocol.

swamiller commented 3 years ago

No worries, looks like zwave might be the odd setup. I'll close the issue.