erikwihlborg76 / unofficial-danalock-web-api

9 stars 2 forks source link

Lokc\Unlock #1

Closed s235711 closed 3 years ago

s235711 commented 3 years ago

Hi, I managed to retrieve the state. thank you very much. Now i'm trying to use the lock operation in /bridge/v1/execute. My json look like this { "device": "xx:xx:xx:xx", "operation": "afi.lock.get-state", "argument": ["lock"] } But all i get in return is the Jobid without any operation

erikwihlborg76 commented 3 years ago

Hi! When locking the lock, the operation should be "afi.lock.operate" - the OpenAPI doc danabridge API was wrong but has been fixed now.

Can you get it working now?

s235711 commented 3 years ago

Yes, Thank you!