Closed swamiller closed 5 years ago
Looked at the API. This looks like it is possible.
@swamiller - do you still want this?
Yes, please. I would still prefer controlling/status my locks through my alarm panel (as master) versus OH. I have some creative flag use now to make it work in OH.
@swamiller - I have added lock support, but I have no way to verify it works. Can you install this test version and provide feedsback?
I will submit a PR once we know it functions.
@boc-tothefuture So far, so good! I installed the test version and created new door lock items. They seem to function ok for the first install. I'll do more testing and update.
Ok - that is good considering I could do very very limited testing. :-)
I removed all my work around flags from my Omni, created OH items for each lock, and all seems to function as desired.
One question, there is a logEvent for "LogEvent changed from DOOR LOCKED to DOOR UNLOCKED" which is helpful. Is there a way to append the item name to know which door? Not a deal breaker, more of a question.
Thank you!!
@swamiller - If I am understanding you correctly, you are talking about the logEvent text which comes from polling the omni. The Omni is the one responsible for that text, the binding doesn't modify it.
LGTM, thank you @boc-tothefuture!
Add the ability to control door locks (Access Control in HAI/PC Access terms).