iobroker-community-adapters / ioBroker.nuki-extended

Nuki Smart Lock - Keyless electronic door lock for smart access with your ioBroker
MIT License
29 stars 15 forks source link

Wrong implementation has an impact on other Nuki-connected gateways #21

Closed hblaschka closed 5 years ago

hblaschka commented 5 years ago

Hi there,

seems your implementation is buggy and thereby influences the behaviour of the Nuki Bridge when being connected to another device (here: homee Smart Home Gateway).

Seems the bridge sends a HTTP Request to ioBroker, which will not be answered correctly (no status 200 response). These leads to the effect that the bridge keeps on waiting for an answer, which never arrives. And this results in the behaviour described on the homee community starting here:

https://community.hom.ee/t/nuki-sperr-zustand-wird-oft-falsch-angezeigt/23353/11?u=hblaschka

Technical details can be discussed via PM with Tankred (@tankred) or Pascal (@pascal), two of the homee Devs on the homee Community or on the above mentioned thread.

Cross posted on https://github.com/smaragdschlange/ioBroker.nuki/ - same behaviour there.

Zefau commented 5 years ago

Thanks for the valuable information. I added a HTTP status response. Could you please test the current version from Github (version number is still v1.0.3). Thanks.

hblaschka commented 5 years ago

I am currently not using ioBroker on a productive system, but I will ask in the community.

@bergjet: Can you test?

bergjet commented 5 years ago

It's all right now, thank you.