imhotep/hass-unifi-access

Feature Request: Extra Events/States

Closed this issue · 2 comments

Is it possible to grab other door events such as unauthorized openings (door locked but dps reports open) and lockdown / Evacuation status (could be just a Binary Sensor with true or false) or a Sensor with states ("Lockdown", "Evacuation")? I would also say a input selector for the emergency mode None, Lockdown, Evacuation. I understand this may not be possible and development is continuing just thought I would pitch some ideas out.

Possibly, yes. The main problem currently is that none of those events are currenly documented in the API and I have to sniff for them. I may get to adding these eventually.

Latest release (v1.1.3) supports unauthorized access for entry and exit. You need to subscribe to unifi_access_entry or unifi_access_exit and check whether the actor is N/A. If so, that means the access (entry or exit) is not authorized. Hope this helps!