diff --git a/NUKI-DEVELOPER-%7C-Nuki-Bridge-HTTP-API.md b/NUKI-DEVELOPER-%7C-Nuki-Bridge-HTTP-API.md index d59c871..828e1cc 100644 --- a/NUKI-DEVELOPER-%7C-Nuki-Bridge-HTTP-API.md +++ b/NUKI-DEVELOPER-%7C-Nuki-Bridge-HTTP-API.md @@ -126,3 +126,39 @@ Possible lock actions (used in Endpoints below): | 4 | lock ā€˜n’ go | activate continuous mode | | 5 | lock ā€˜n’ go with unlatch | deactivate continuous mode | +### 4.5 Simple Lock Actions +Possible outcome of a simple lock action (mapping handled in the firmware of the device): +| action | smartlock / knob | smartlock / handle | opener | +| ------- | ---------------- | ------------------ | --------------------- | +| /lock | lock | lock | deactivate rto and cm | +| /unlock | unlatch | unlock | open | + +To use this features your Nuki devices need the following firmware version: +| Nuki device | Firmware version | +| -------------- | ------------------------ | +| Bridge | 1.14.0/2.5.0 (or higher) | +| Smart Lock 1.0 | 1.8.0 (or higher) | +| Smart Lock 2.0 | 2.4.3 (or higher) | +| Opener | 1.3.0 (or higher) | + +### 4.6 Doorsensor States +Possible doorsensor states (used in Endpoints below). +| ID | name | +| -- | ------------------ | +| 1 | deactivated | +| 2 | door closed | +| 3 | door opened | +| 4 | door state unknown | +| 5 | calibrating | + + +## 5. Endpoints +### /auth +| | | +| ---------------- | ------------------ | +| URL | name | +| Usage | deactivated | +| Response | door closed | +| Errors | door opened | +| Example-Call | door state unknown | +| Example-Response | calibrating | \ No newline at end of file