I’m using the nukiPyBridge which is working but I’m not satisfied with the speed.
The first steps take about 6 seconds until the command will be processed:
Starting BLE adapter…
Init Nuki BLE connection…
Nuki BLE connection established
after about 6 - 7 seconds the command is processed:
Nuki CHALLENGE Request sent: Nuki_REQ
I also use the FHEM-API, here the speed is okay - about 3 seconds. But with FHEM and the callback-function enabled, I can send one command which will be executed immediately - but sending the next command soon after the first will end in error
“NUKIBridge (Nuki_Bridge) - invalid json detected: HTTP 503 Unavailable”
and the command isn’t executed.
Whitout callback-function the next command will be executed in FHEM correct. But I want let the callback-function enabled, so that I can get the correct status of the nuki.
What can I do to improve the performance?