Giter Site home page Giter Site logo

Comments (6)

smaragdschlange avatar smaragdschlange commented on August 11, 2024

Hi,
thanks for the analysis. I'll try to fix it, but I don't own an opener, so it could take some turns.

from iobroker.nuki.

smaragdschlange avatar smaragdschlange commented on August 11, 2024

Hi there,
could you please install version 1.1.3 here from GitHub and test? As I wrote before I don't own an Opener...

Thanks!

Regards, Sven

from iobroker.nuki.

stefanerdmann avatar stefanerdmann commented on August 11, 2024

I installed version 1.1.3 and i get the following errors in the log. The adapter tries to connect repeatedly without success

host.raspberrypi 2020-02-24 13:24:53.315 error Caught by controller[0]: at Object.onceWrapper (events.js:286:20)
host.raspberrypi 2020-02-24 13:24:53.314 error Caught by controller[0]: at IncomingMessage. (/opt/iobroker/node_modules/request/request.js:1083:12)
host.raspberrypi 2020-02-24 13:24:53.314 error Caught by controller[0]: at Request.emit (events.js:198:13)
host.raspberrypi 2020-02-24 13:24:53.314 error Caught by controller[0]: at Request. (/opt/iobroker/node_modules/request/request.js:1161:10)
host.raspberrypi 2020-02-24 13:24:53.314 error Caught by controller[0]: at Request.emit (events.js:198:13)
host.raspberrypi 2020-02-24 13:24:53.313 error Caught by controller[0]: at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
host.raspberrypi 2020-02-24 13:24:53.313 error Caught by controller[0]: at Request._callback (/opt/iobroker/node_modules/iobroker.nuki/main.js:1026:21)
host.raspberrypi 2020-02-24 13:24:53.313 error Caught by controller[0]: at updateAllLockStates (/opt/iobroker/node_modules/iobroker.nuki/main.js:776:13)
host.raspberrypi 2020-02-24 13:24:53.313 error Caught by controller[0]: at initNukiDeviceStates (/opt/iobroker/node_modules/iobroker.nuki/main.js:323:13)
host.raspberrypi 2020-02-24 13:24:53.312 error Caught by controller[0]: at initNukiOpenerStates (/opt/iobroker/node_modules/iobroker.nuki/main.js:648:29)
host.raspberrypi 2020-02-24 13:24:53.311 error Caught by controller[0]: ReferenceError: _obj is not defined
nuki.0 2020-02-24 13:25:33.266 error (2371) ReferenceError: _obj is not defined at initNukiOpenerStates (/opt/iobroker/node_modules/iobroker.nuki/main.js:648:29) at initNukiDeviceStates (/opt/iobroker/node_modules/iobroker.nuki/m
nuki.0 2020-02-24 13:25:33.265 error (2371) uncaught exception: _obj is not defined

from iobroker.nuki.

smaragdschlange avatar smaragdschlange commented on August 11, 2024

Oh, sorry, it's been late last night and I wasn't able to test properly. I fixed the _obj issue. Please install again from GitHub.

Thanks.
Sven

from iobroker.nuki.

stefanerdmann avatar stefanerdmann commented on August 11, 2024

now it connects successfully, but I still get an error when clicking the open button:

nuki.0 | 2020-02-24 16:00:46.850 | error | (6202) null

The name of the opener and the deviceType is now set correctly (at least the values in the object tree)

the deviceType variable in the setLockAction method is still undefined

from iobroker.nuki.

smaragdschlange avatar smaragdschlange commented on August 11, 2024

Ok, I've found the issue and fixed it - finally. There were actually two problems: the error null message was caused by the bridge beeing called two times in a very short period of time. And the deviceType undefined issue was caused by the asynchronous nature of state calls in the adapter.
Please reinstall the current GutHub version of the adapter and check.

Thank you.
Sven

from iobroker.nuki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.