Hi everyone.
I apologise for my english, because It’s not my first language.
Here is my “problem”:
We are doing an integration with nuki smatlocks using both API and Bluetooth.
We have found an strange case, and we think there may be a problem with the response of the API in the endpoint smartlock/{id}/action/{action}
Here is the scenario:
We send a request to the API to operate.
Almost at the same time we send the same an operation using bluetooth.
The API responds with 204 and everything seems ok. The smartlock does the operation OK.
If we check the log for the smartlock in web.nuki.io there are some entries with the error “Dispositivo ocupado”: that’s “Device busy” in spanish.
Should the API have responded with an error code instead of 204 if the device was indeed busy as it seems by looking at the log at web.nuki.io?
Thanks in advance