Hello dears,
Hope you are doing very well! My special thanks to the developers of this QA. I had some issues especially with 401 errors, where my API token was not authorized. At the end i had to use the https://api.nuki.io/#/ do find the solution. You cannot control the NUKI using the request to the URL. You need to go through the nuki.web API. Also, you need to specify the correct DeviceID of NUKI. This is the HEX you find in your device, plus a prefix 1,2,3,4 (more information can be found in the config file), and then this value converted to decimal (hex to dec). I have also made a few updates to the code, thanks to this QA, another QA, and the assistance of ChatGPT (I am not a code developer). Feel free to use. Once again, thank you to the rest of the guys doing this, i just did some changes to make it work.
1) Add the QA to Fibaro
2) Go to web.nuki create an API token
3) Find your deviceID in HEX
4) Decide the correct prefix (for Nuki 3 or 4 is 4), convert the HEX plus prefix to dec
5) Go to Fibaro -> QA -> Edit -> Go to config file -> Add the values of your IP, port, token, device ID. (actually now that i think of that maybe IP, and port, are not necessary because they are not used, using the new method of logging in using Device ID and API token).
6) Save, run
I will try to update with a newer version, if have time, with changes to remove the IP, port, if they are not required.
Nuki_Jojo_MilewskiFixed.fqa