Not trying to hijack this thread or anything, but I cannot seem to get this device to “securely” bind to my controller. I’ve added it like 10 times now, and it still will not add in “secure” mode.
2018-05-14 16:47:24.147 [ERROR] [curityCommandClassWithInitialization] - NODE 13: SECURITY_ERROR Invalid state! Secure inclusion has not completed and we are not in inclusion mode. Aborting
2018-05-14 20:14:02.184 [ERROR] [col.security.ZWaveSecureNonceTracker] - NODE 14: SECURITY_ERROR Device message contained nonce that is unknown to us, id=-99.
2018-05-14 20:29:39.759 [WARN ] [col.security.ZWaveSecureNonceTracker] - NODE 15: SECURITY_ERROR Nonce was received, but we have no requestNonceTimer.
2018-05-14 20:39:43.107 [ERROR] [col.security.ZWaveSecureNonceTracker] - NODE 16: SECURITY_ERROR Device message contained nonce that is unknown to us, id=44.
2018-05-14 20:48:04.747 [ERROR] [curityCommandClassWithInitialization] - NODE 16: SECURITY_ERROR Invalid state! Secure inclusion has not completed and we are not in inclusion mode. Aborting
2018-05-14 20:51:54.608 [ERROR] [col.security.ZWaveSecureNonceTracker] - NODE 17: SECURITY_ERROR Device message contained nonce that is unknown to us, id=-37.
And here’s the most recent group:
2018-05-14 20:51:43.784 [INFO ] [mmandclass.ZWaveSecurityCommandClass] - NODE 17: setupNetworkKey useSchemeZero=false
2018-05-14 20:51:54.413 [INFO ] [mmandclass.ZWaveSecurityCommandClass] - NODE 17: setupNetworkKey useSchemeZero=true
2018-05-14 20:51:54.418 [INFO ] [mmandclass.ZWaveSecurityCommandClass] - NODE 17: Using Scheme0 Network Key for Key Exchange since we are in inclusion mode.
2018-05-14 20:51:54.536 [INFO ] [curityCommandClassWithInitialization] - NODE 17: Setting Network Key to real key after SECURITY_NETWORK_KEY_SET
2018-05-14 20:51:54.541 [INFO ] [mmandclass.ZWaveSecurityCommandClass] - NODE 17: setupNetworkKey useSchemeZero=false
2018-05-14 20:51:54.608 [ERROR] [col.security.ZWaveSecureNonceTracker] - NODE 17: SECURITY_ERROR Device message contained nonce that is unknown to us, id=-37.
2018-05-14 20:51:54.678 [WARN ] [mmandclass.ZWaveSecurityCommandClass] - NODE 17: payloadQueue was empty, returning!
And in it’s current binding state, here’s the error I get when I try to send either a 0 or a 255 to the barrier state item.
2018-05-14 20:55:16.886 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.handleCommand()' on 'org.openhab.binding.zwave.handler.ZWaveThingHandler@129f0bc': null
java.lang.NullPointerException: null
at org.openhab.binding.zwave.internal.converter.ZWaveBarrierOperatorConverter.receiveCommand(ZWaveBarrierOperatorConverter.java:105) [248:org.openhab.binding.zwave:2.3.0.201805091233]
at org.openhab.binding.zwave.handler.ZWaveThingHandler.handleCommand(ZWaveThingHandler.java:878) [248:org.openhab.binding.zwave:2.3.0.201805091233]
at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [101:org.eclipse.smarthome.core:0.10.0.201805051943]
at org.eclipse.smarthome.core.internal.common.InvocationHandlerSync.invoke(InvocationHandlerSync.java:59) [101:org.eclipse.smarthome.core:0.10.0.201805051943]
at com.sun.proxy.$Proxy190.handleCommand(Unknown Source) [248:org.openhab.binding.zwave:2.3.0.201805091233]
at org.eclipse.smarthome.core.thing.internal.profiles.ProfileCallbackImpl.handleCommand(ProfileCallbackImpl.java:75) [108:org.eclipse.smarthome.core.thing:0.10.0.201805051943]
at org.eclipse.smarthome.core.thing.internal.profiles.SystemDefaultProfile.onCommandFromItem(SystemDefaultProfile.java:49) [108:org.eclipse.smarthome.core.thing:0.10.0.201805051943]
at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [101:org.eclipse.smarthome.core:0.10.0.201805051943]
at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [101:org.eclipse.smarthome.core:0.10.0.201805051943]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-05-15 11:34:15.573 [INFO ] [mmandclass.ZWaveSecurityCommandClass] - NODE 19: Using Scheme0 Network Key for Key Exchange since we are in inclusion mode.
2018-05-15 11:34:16.217 [INFO ] [alization.ZWaveNodeInitStageAdvancer] - NODE 19: SECURITY_INC State=COMPLETE
2018-05-15 11:34:21.072 [INFO ] [ommandclass.ZWaveVersionCommandClass] - NODE 19: Command Class COMMAND_CLASS_BASIC has version 0!
Security is showing a green check mark now.
But when I try sending a 0 or a 255 to the Barrier State, here’s what I’m getting:
2018-05-15 11:45:26.272 [WARN ] [pse.smarthome.core.items.GenericItem] - failed notifying listener 'org.eclipse.smarthome.model.rule.runtime.internal.engine.RuleEngineImpl@1e66405' about state update of item GarageDoor1_Switch: null
java.lang.NullPointerException: null
at org.eclipse.smarthome.model.rule.runtime.internal.engine.RuleTriggerManager.internalGetChangeRules(RuleTriggerManager.java:336) [136:org.eclipse.smarthome.model.rule.runtime:0.10.0.201805141751]
at org.eclipse.smarthome.model.rule.runtime.internal.engine.RuleTriggerManager.internalGetRules(RuleTriggerManager.java:427) [136:org.eclipse.smarthome.model.rule.runtime:0.10.0.201805141751]
at org.eclipse.smarthome.model.rule.runtime.internal.engine.RuleTriggerManager.getRules(RuleTriggerManager.java:198) [136:org.eclipse.smarthome.model.rule.runtime:0.10.0.201805141751]
at org.eclipse.smarthome.model.rule.runtime.internal.engine.RuleEngineImpl.stateChanged(RuleEngineImpl.java:202) [136:org.eclipse.smarthome.model.rule.runtime:0.10.0.201805141751]
at org.eclipse.smarthome.core.items.GenericItem$1.run(GenericItem.java:251) [101:org.eclipse.smarthome.core:0.10.0.201805141751]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Any ideas? The switch is obviously not opening and closing either.
Wondering if it’s an issue with the current OpenHab2 Snapshot I’m running (updated to it yesterday). I created a simple rule to log an info line to the log file when flipping a switch, and I get that same error I posted above… Not even related to any item…
Just updated to the latest openhab2, and will try again…
Yep, latest snapshot is yielding different results.
Everything is working now… Found two more issues after updating OpenHab, and now the door works as expected (freaked the wife out since she was at home, and I was at work, lol).
Hello,
I’m very new to openHAB, and am coming from a Vera. I have 2 of the NGD00Z-4 Garage Door Controllers that I’m trying to setup. I’ve read through a number of posts, which seem to contain piecemeal information on this. Is there a how-to for getting this setup from start to finish somewhere? It seems like it should be much easier than what it appears to be. Thanks
It is also used to control the garage door, by sending 255 (open) and 0 (close). You should setup a Switch Item that you can set to ON or OFF through a rule, based on the barrier_state, and to control the door. I have two NGD00Zs, and this is an example of how I used them in the Rules DSL…
I haven’t looked at this for a while, as I now use JSR223-Jython, but I could provide my current working example, if it could be of use.
I had also added the alarm_raw channel, but as of yet, I have not seen it report anything. The Z-Wave spec says that it would be used for safety report, like if the door closed on a car or something.
As I understand, the last 2 lines in my 2CarDoor.items file have the switch and the position indicator, am I wrong?
Switch 2car_Grg_Dr "2-Car Garage Door [MAP(garagedoor.map):%s]" <garagedoor> (gGarageDoor,gSleep_Security)
Number 2car_Grg_Dr_Psn "2-Car Garage Door Position [MAP(garagedoor.map):%s]" <garagedoor> (gGarageDoor,gSleep_Security) {channel="zwave:device:01FFFFFF-FFFF-FFFF-FFFF-160118150928:node6:barrier_state"}
Do I not have the barrier state linked properly? I’m only seeing a NaN in the paperui.
Your Channel looks odd. Confirm it in Paper UI> Configuration> Things> your opener, and verify the Chanel you have configured matches. If it does, you’ll need to enabled debug logging for the zwave binding and see why the door is not reporting.
Wait a second… your Items start with a number… I’m pretty sure you can’t do that!
Nope…
You should be seeing errors in VS Code, on OH startup, or after saving the file.