Json table information

Ich nutze NUKI in Verbindung mit dem ioBroker Adapter.

Dieser Adapter gibt auch eine json Tabelle als Datenpunkt aus, den man in ioBroker weiter verarbeiten kann. Nach Rücksprache mit dem Adapter Entwickler, hat er diese json Tabelle nicht erzeugt, sondern er erhält diese Tabelle so vom NUKI.

Nun sind in dieser Tabelle viele Informationen verklausoliert drin. Z.B. Nutzername als ID, ausgeführte Aktion als Status ID, Trigger, lastAction usw. Könnte man diese Info`s nicht gleich als Klartexte in json Tabelle ausgeben - also echter Nutzername statt ID und echte Status Informationen anstelle der ID usw.

Auch die Timestamps hätte ich gerne in deutscher Schreibweise - und was bedeutet eigentlich .000Z hinter der Uhrzeit?

Was für ein Status steckt eigentlich hinter der Nummer 240, 241, 242? Ich habe in Euren API Dokumenten nichts dazu gefunden.


I use NUKI in conjunction with the ioBroker adapter.

This adapter also outputs a json table as data point which can be processed in ioBroker. After consultation with the adapter developer, he did not create this json table, but receives this table from NUKI.

Now there is a lot of information hidden in this table. E.g. user name as ID, executed action as status ID, trigger, lastAction etc. Couldn’t you just output this information as plain text in the json table - i.e. real user name instead of ID and real status information instead of ID etc.

I would also like to have the timestamps in german notation - and what does .000Z behind the time actually mean?

What kind of status is actually behind the number 240, 241, 242? I did not find anything in your API documents.

User names can change an have not to be unique, so for an API one always goes with the ID.

These are listed in
https://developer.nuki.io/page/nuki-web-api-1-3-0/3#heading--smart-lock-states

and even more detailed in
https://developer.nuki.io/page/nuki-smart-lock-api-200/2/#heading--keyturner-states

You can also check our Swagger instace for the Open API at
https://api.nuki.io/#!/Smartlock/get (and switch to “Model” view for the details)

If there are any status codes you can’t find there please tell me for where exactly you saw it for me to check the meaning if missing in the documentation.

Milliseconds and Timezone=UTC.
see also