Hello Chris,
thank you for your reply:
I think we should split my questions into topics
As I understood, if channel config is not in the jar-file it cannot be used even if it exists at the device. And the channels can be seen in Habmin and PaperUI.
Fine:
In PaperUI I can see:
In HABmin I can see:
So I will trust HABmin?
For me this means I can use:
{ channel=“zwave:device:15a7a49f3a6:node2:switch_binary” }
{ channel=“zwave:device:15a7a49f3a6:node2:notification_send” }
I used this config in the past with 2.1 zwave snapshot from february and it was working to play the siren notification sounds too.
Just by doing:
ITEM:
Switch Siren01_Set “Siren01_Set”
Number Siren01_Sound “House Sirene [%d]” { channel=“zwave:device:15a7a49f3a6:node2:notification_send”}
RULE:
sendCommand(Siren01_Sound, 0x06)
In the snapshop 2.1 from april this does not work.
Log:
2017-04-22 18:16:35.688 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occured while calling handler: java.lang.NullPointerException
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask.report(FutureTask.java:122)[:1.8.0_121]
at java.util.concurrent.FutureTask.get(FutureTask.java:206)[:1.8.0_121]
at org.eclipse.smarthome.core.common.SafeMethodCaller.callAsynchronous(SafeMethodCaller.java:188)[98:org.eclipse.smarthome.core:0.9.0.b4]
at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:81)[98:org.eclipse.smarthome.core:0.9.0.b4]
at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:65)[98:org.eclipse.smarthome.core:0.9.0.b4]
at org.eclipse.smarthome.core.thing.internal.ThingManager.receiveCommand(ThingManager.java:369)[105:org.eclipse.smarthome.core.thing:0.9.0.b4]
at org.eclipse.smarthome.core.items.events.AbstractItemEventSubscriber.receive(AbstractItemEventSubscriber.java:46)[98:org.eclipse.smarthome.core:0.9.0.b4]
at org.eclipse.smarthome.core.internal.events.OSGiEventManager$1.call(OSGiEventManager.java:192)[98:org.eclipse.smarthome.core:0.9.0.b4]
at org.eclipse.smarthome.core.internal.events.OSGiEventManager$1.call(OSGiEventManager.java:1)[98:org.eclipse.smarthome.core:0.9.0.b4]
at org.eclipse.smarthome.core.common.SafeMethodCaller$CallableWrapper.call(SafeMethodCaller.java:179)[98:org.eclipse.smarthome.core:0.9.0.b4]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
Caused by: java.lang.NullPointerException
at org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveAlarmCommandClass.getNotificationReportMessage(ZWaveAlarmCommandClass.java:246)[203:org.openhab.binding.zwave:2.1.0.201704171736]
at org.openhab.binding.zwave.internal.converter.ZWaveAlarmConverter.receiveCommand(ZWaveAlarmConverter.java:301)[203:org.openhab.binding.zwave:2.1.0.201704171736]
at org.openhab.binding.zwave.handler.ZWaveThingHandler.handleCommand(ZWaveThingHandler.java:973)[203:org.openhab.binding.zwave:2.1.0.201704171736]
at org.eclipse.smarthome.core.thing.internal.ThingManager$4.call(ThingManager.java:372)[105:org.eclipse.smarthome.core.thing:0.9.0.b4]
at org.eclipse.smarthome.core.thing.internal.ThingManager$4.call(ThingManager.java:1)[105:org.eclipse.smarthome.core.thing:0.9.0.b4]
The only thing I have changed was the exchange of the zwave snapshot because of an other device which was not included in the february snapshot.
Should I go back to the old snapshot and see if this will work again? Or should we do a debug on the running snapshot?
What I discovered is, that the channel linking is not displayed by the item name, it is displayed by the item text string in the item definition:
I will explain you, maybe this is the error:
my full item config:
Switch Siren01 “House Sirene [%d]” { channel=“zwave:device:15a7a49f3a6:node2:switch_binary” }
Switch Siren01_Set “Siren01_Set”
Number Siren01_Sound “House Sirene [%d]” { channel=“zwave:device:15a7a49f3a6:node2:notification_send”}
See text string of both items is “House Sirene”. Itemname is different!
In habmin channel linked items, you see:
Which looks like the same item (name of the text) is linked to different parts of the channel. If I click on the info icon, I see, that the definition is correct, only the display looks wrong.
First channel
Second Channel: