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

warn: nuki-extended.0 (81304) Failed retrieving /list from Nuki Bridge with name nuki-bridge (forcePlainToken: false)! #248

Closed Grothesk242 closed 2 years ago

Grothesk242 commented 2 years ago

v2.6.0 gives this Warning:

2022-06-05 21:26:47.960  - warn: nuki-extended.0 (81304) Failed retrieving /list from Nuki Bridge with name nuki-bridge (forcePlainToken: false)!

Changed PlainToken setting, but the Warning persists:

2022-06-05 21:28:21.773  - info: nuki-extended.0 (81338) starting. Version 2.6.0 in /opt/iobroker/node_modules/iobroker.nuki-extended, node: v18.3.0, js-controller: 4.0.23
2022-06-05 21:28:21.897  - info: nuki-extended.0 (81338) Polling Nuki Web API with a frequency of 20s.
2022-06-05 21:28:22.165  - warn: nuki-extended.0 (81338) Failed retrieving /list from Nuki Bridge with name nuki-bridge (forcePlainToken: true)!
Ilovegym66 commented 2 years ago

Here the same, with Node 14 and NPM 6. Adapter starts, but don't react with the bridge any more. No command will be proceed to the devices. ( one bridge, 4 Locks ). First Adapter is green, after a while it change to yellow without an error. Same issue was some versions before.. Version 2.5.0 works perfect.

w0nk1 commented 2 years ago

Same here!

Grothesk242 commented 2 years ago

States for the devices (Lock and Opener) are not updated and not recreated when once deleted. Only the bridge comes up.

Azathoth88 commented 2 years ago

Same problems with 2.6.0. No actions are possible. after the downgrade to 2.5.0 it works again.

Apollon77 commented 2 years ago

Debug log please ...

Apollon77 commented 2 years ago

@theimo1221 thank you for checking

theimo1221 commented 2 years ago

Morning @w0nk1, @Grothesk242, @Azathoth88 and @Ilovegym66,

Please change the adapter logging to debug, and paste the message after the Failed retrieving... warning here, to help us identifying the issue.

Thanks and best regards

Thiemo

Azathoth88 commented 2 years ago

Habe den Adapter jetzt auf nochmal auf die neue Version gezogen. Debug-Mode ist an. Was erstmal auffiel: Der Status: Verbunden mit Gerät oder Dienst war nach dem Update gelb. Nachdem ich diesen nochmals neu gestartet habe, grün. Ich habe Probeweise die ACTION zum Tür öffnen verwendet - keine Reaktion und kein Eintrag im Log.

Korrektur und Nachtrag: Log gibt doch mehr her.

nuki-extended.0 | 2022-06-09 08:49:01.428 | info | Listening for Nuki events on port 51989. -- | -- | -- | -- nuki-extended.0 | 2022-06-09 08:49:01.421 | debug | Callback (with URL http://192.168.1.21:51989/nuki-api-bridge) already attached to Nuki Bridge with name ZuhauseBridgeWhite. nuki-extended.0 | 2022-06-09 08:49:01.420 | debug | Retrieved current callbacks from Nuki Bridge with name ZuhauseBridgeWhite. nuki-extended.0 | 2022-06-09 08:49:01.131 | info | State value to set for "nuki-extended.0.bridges.zuhausebridgewhite.scanResults.1.rssi" has to be type "string" but received type "number" nuki-extended.0 | 2022-06-09 08:49:01.130 | info | State value to set for "nuki-extended.0.bridges.zuhausebridgewhite.scanResults.0.rssi" has to be type "string" but received type "number" nuki-extended.0 | 2022-06-09 08:49:01.090 | info | State value to set for "nuki-extended.0.bridges.zuhausebridgewhite.uptime" has to be type "string" but received type "number" nuki-extended.0 | 2022-06-09 08:49:00.689 | debug | _getTokenParams(): {"ts":"2022-06-09T06:49:00Z","rnr":12576,"hash":"-HIER STEHT EIN HASH-"} nuki-extended.0 | 2022-06-09 08:49:00.688 | debug | getBridgeApi(): Cannot read property 'updateLock' of undefined nuki-extended.0 | 2022-06-09 08:49:00.688 | warn | Failed retrieving /list from Nuki Bridge with name ZuhauseBridgeWhite (forcePlainToken: true)!
Apollon77 commented 2 years ago

Please Try GitHub version. Versiuon number wil not change so please manually restart after update.

Note: With npm 6 GitHub installs can take 10+mins, just wait)

Apollon77 commented 2 years ago

Ok I iterate with @arteck rigjt now ... so better wait :-)

Apollon77 commented 2 years ago

2.6.1 geht auf npm