"Critical Battery state" in "Keyturner states (0x000C)" returns 0x7c (124)

Hi,

According to the datasheet “Critical battery state” should return 0x00 or 0x01 but it returns 0x7c?

decrypted keyturner state data:

59 5d 34 00 0c 00 02 03 02 e6 07 03 18 0a 1b 14 00 00 7c 0d 00 01 02 00 02 00 01 c8 4a

Hey Jeroen,

For the keyturner the critical battery state is encoded as per the latest documentation:
https://developer.nuki.io/page/nuki-smart-lock-api-2/2/#heading--keyturner-states

Bit 0 Smart Lock Battery State Critical
Bit 1 Charging Flag
Bit 2-7 Smart Lock Battery in %

Best Regards,
Peter

makes sense…

Perfect thx!!

@Eisvogel I downloaded the pdf from:
https://developer.nuki.io/page/nuki-smart-lock-api-2/2/#heading--keyturner-states

It does not show the update as listed online:

I think this is still an old version?

Hey Jeroen,

Yes, it seems the PDF version is not up to date, as this change was already introduced back in 2018 (as per the changelog found in the online documentation.

Best Regards,
Peter

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.