Comments (6)
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.
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.
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.
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.
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.
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)
- Wie steuere ich das Nuki Smart Lock in blockly HOT 11
- Update stable version in repo from 1.4.3 to 1.5.0
- Wrong Type
- action xy not successfully set! HOT 5
- Adapter adaptation to the current API HOT 4
- Nuki 3.0 HOT 4
- Usage of Nuki 3.0 pro with your adapter HOT 4
- feature for activating and deactivating auto unlock HOT 1
- Update stable version in repo from 1.5.0 to 1.6.0 HOT 1
- hasOwnProperty fatal error HOT 7
- Think about to fix the issues found by adapter checker HOT 1
- Compatibility check to js-controller 4.0
- Adapter Nuki Smart Lock 1.6.0 installed, API fetched from nuki.io BUT an error is thrown in IOBroker's log HOT 14
- Software Bridge fail HOT 2
- Exception-Code: EADDRINUSE: listen EADDRINUSE: address already in use 192.168.X.XX:9092 HOT 5
- Error: read ECONNRESET HOT 3
- warn .info.keypadBatteryCritical HOT 2
- Protokoll HOT 1
- warnung im log HOT 2
- Warnung, obwohl erfolgreich HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iobroker.nuki.