From 4d81d2a9c12acc32cf31ab3b62e838a7cb77effc Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Tue, 30 Nov 2021 12:42:22 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9ENUKI=20DEVELOPER=20|=20Nuki=20Bridge?= =?UTF-8?q?=20HTTP=20API=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NUKI-DEVELOPER-%7C-Nuki-Bridge-HTTP-API.md | 96 ++++++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/NUKI-DEVELOPER-%7C-Nuki-Bridge-HTTP-API.md b/NUKI-DEVELOPER-%7C-Nuki-Bridge-HTTP-API.md index 7c7e8e2..81739f7 100644 --- a/NUKI-DEVELOPER-%7C-Nuki-Bridge-HTTP-API.md +++ b/NUKI-DEVELOPER-%7C-Nuki-Bridge-HTTP-API.md @@ -234,4 +234,100 @@ http://192.168.1.50:8080/configAuth?enable=0&ts=2019-03-05T01:06:53Z&rnr=4711&ha Example-Response {"success": true} + + +### /list + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
URLhttp://192.168.1.50:8080/list
UsageReturns a list of all paired Nuki devices
URL-ParametersTokenThe api token configured via the Nuki app when enabling the API
ResponseJSON array. One item of the following per Nuki device
nukiidID of the Nuki device
deviceTypeNuki device type
+
    +
  • 0 => smartlock (Nuki Smart Lock 1.0/2.0)
  • +
  • 2 => opener (Nuki Opener)
  • +
  • 3 => smartdoor (Nuki Smart Door)
  • +
  • 4 => smartlock 3 (Nuki Smart Lock 3.0 (Pro))
  • +
nameName of the Nuki device
lastKnownStateJSON list containing the last known lock state of the Nuki device
modeID of the lock mode (see Modes)
stateID of the lock state (see Lock States)
stateNameName of the lock state (see Lock States)
batteryCriticalFlag indicating if the batteries of the Nuki device are at critical level
batteryChargingFlag indicating if the batteries of the Nuki device are charging at the moment
batteryChargeStateValue representing the current charge status in %
keypadBatteryCriticalFlag indicating if the batteries of the paired Nuki Keypad are at critical level
doorsensorStateID of the door sensor state
doorsensorStateNameName of the door sensor state
ringactionTimestampTimestamp of the last ring-action
ringactionStateFlag indicating if a ring-action is currently occuring or not (reset after 30 seconds)
timestampTimestamp of the retrieval of this lock state
ErrorsHTTP 401Returned if the given token is invalid or a hashed token parameter is missing.
\ No newline at end of file