kvj / hass_nuki_ng

Better support for Nuki devices in the Home Assistant
MIT License
176 stars 33 forks source link

Feature Request: Who last opened the door? #59

Closed danieljgmaclean closed 2 years ago

danieljgmaclean commented 2 years ago

I know that Nuki supports providing access to others to open the lock, but i'm curious if there is a way to know who last opened the door or who or what device actually opened the door.

noxhirsch commented 2 years ago

This data can be polled from the cloud (https://api.nuki.io/smartlock/log?limit=1). It maybe could be implemented so that the integration retrieves the log from the cloud e.g. 5 seconds after the last change of the lock (to give the cloud server some time to get updated). I would really love to have this data as a sensor.

kvj commented 2 years ago

Added in 0.3.8

jesjimher commented 1 year ago

Just upgraded to 0.3.11 from (I think) 0.3.4, but I can't see this new "last user" entity. Integration shows in HACS as correctly upgraded to 0.3.11, and I've restarted HA several times. Am I missing something, or it may have been some regression since 0.3.8?

Thanks!