Hi everyone,
I’m noticing a time discrepancy when I send the following payload to the Nuki API. Specifically, allowedFromTime and allowedUntilTime are not showing the expected times in the Nuki app.
Payload example:
{
"id": "68a...be",
"smartlockId": 181....652,
"accountUserId": 195.....5,
"authId": 70...7,
"type": 0,
"name": "Test",
"enabled": true,
"lockCount": 0,
"allowedFromDate": "2025-09-01T05:00:00.000Z",
"allowedUntilDate": "2025-09-06T21:00:00.000Z",
"allowedWeekDays": 127,
"allowedFromTime": 420, // 7:00
"allowedUntilTime": 1380, // 23:00
"creationDate": "2025-08-25T17:00:44.000Z"
}
- allowedFromTime: 420 → expected 7:00 AM
- allowedUntilTime: 1380 → expected 11:00 PM
But in the app, it shows something like 07:53 instead of 07:00 and 23:53 instead of 23:00.
I suspect this might be related to time zones or how the app interprets the minutes from midnight , but I’m not sure.
Has anyone experienced this before? Any advice on sending the correct time so the Nuki app reflects the intended hours?
Thanks!