I Have the problem that the unlock command work but the Lock comand not
curl -X POST --header “Content-Type: application/json” --header “Accept: application/json” --header “Authorization: Bearer xxx” -d “{}” “https://api.nuki.io/smartlock/xxx/action/unlock” -v
will work and give back 204
will not work and give back 415:
curl -X POST --header “Content-Type: application/json” --header “Accept: application/json” --header “Authorization: Bearer xxx” -d “{}” “https://api.nuki.io/smartlock/xxx/action/lock” -v
this is shown up due a Bug in the device software i am use.
the lock command will only work when remove the -d option with the empty body.
Unlock doesn’t care about it.