I’ve just configured an Aeon ZW100-A multisensor in OpenHAB. I’ve built the z wave binding from the latest source code and most of the values are correctly displayed in OpenHAB, except luminance and ultraviolet values. I’ve enabled the debug log and found the following lines:
2015-11-17 12:13:00.182 [DEBUG] [b.z.i.protocol.ZWaveController:190 ]- Message: class = ApplicationCommandHandler (0x04), type = Request (0x00), payload = 00 02 06 31 05 03 0A 00 00
2015-11-17 12:13:00.185 [DEBUG] [ApplicationCommandMessageClass:38 ]- NODE 2: Application Command Request (ALIVE:DONE)
2015-11-17 12:13:00.189 [DEBUG] [ApplicationCommandMessageClass:56 ]- NODE 2: Incoming command class SENSOR_MULTILEVEL
2015-11-17 12:13:00.195 [DEBUG] [veMultiLevelSensorCommandClass:97 ]- NODE 2: Received Sensor Multi Level Request
2015-11-17 12:13:00.198 [DEBUG] [veMultiLevelSensorCommandClass:131 ]- NODE 2: Sensor Multi Level REPORT received
2015-11-17 12:13:00.202 [DEBUG] [veMultiLevelSensorCommandClass:141 ]- NODE 2: Sensor Type = Luminance(3), Scale = 1
2015-11-17 12:13:00.206 [DEBUG] [veMultiLevelSensorCommandClass:150 ]- NODE 2: Sensor Value = 0E+1
2015-11-17 12:13:00.209 [DEBUG] [b.z.i.protocol.ZWaveController:595 ]- Notifying event listeners: ZWaveMultiLevelSensorValueEvent
2015-11-17 12:13:00.213 [DEBUG] [.z.internal.ZWaveActiveBinding:433 ]- ZwaveIncomingEvent
2015-11-17 12:13:00.217 [DEBUG] [.z.internal.ZWaveActiveBinding:450 ]- NODE 2: Got a value event from Z-Wave network, endpoint = 0, command class = SENSOR_MULTILEVEL, value = 0E+1
2015-11-17 12:13:00.229 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:63 ]- Sent message Message: class = SendData (0x13), type = Request (0x00), payload = 02 03 31 04 03
2015-11-17 12:13:00.235 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:64 ]- Recv message Message: class = ApplicationCommandHandler (0x04), type = Request (0x00), payload = 00 02 06 31 05 03 0A 00 00
2015-11-17 12:13:00.239 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:65 ]- Checking transaction complete: class=ApplicationCommandHandler, expected=ApplicationCommandHandler, cancelled=false
2015-11-17 12:13:00.242 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:68 ]- transaction complete!
2015-11-17 12:13:00.245 [DEBUG] [b.z.i.protocol.ZWaveController:595 ]- Notifying event listeners: ZWaveTransactionCompletedEvent
2015-11-17 12:13:04.198 [DEBUG] [b.z.i.protocol.ZWaveController:190 ]- Message: class = ApplicationCommandHandler (0x04), type = Request (0x00), payload = 00 02 05 31 05 1B 01 00
2015-11-17 12:13:04.202 [DEBUG] [ApplicationCommandMessageClass:38 ]- NODE 2: Application Command Request (ALIVE:DONE)
2015-11-17 12:13:04.206 [DEBUG] [ApplicationCommandMessageClass:56 ]- NODE 2: Incoming command class SENSOR_MULTILEVEL
2015-11-17 12:13:04.209 [DEBUG] [veMultiLevelSensorCommandClass:97 ]- NODE 2: Received Sensor Multi Level Request
2015-11-17 12:13:04.213 [DEBUG] [veMultiLevelSensorCommandClass:131 ]- NODE 2: Sensor Multi Level REPORT received
2015-11-17 12:13:04.216 [DEBUG] [veMultiLevelSensorCommandClass:141 ]- NODE 2: Sensor Type = Ultraviolet(27), Scale = 0
2015-11-17 12:13:04.220 [DEBUG] [veMultiLevelSensorCommandClass:150 ]- NODE 2: Sensor Value = 0E+1
2015-11-17 12:13:04.224 [DEBUG] [b.z.i.protocol.ZWaveController:595 ]- Notifying event listeners: ZWaveMultiLevelSensorValueEvent
2015-11-17 12:13:04.227 [DEBUG] [.z.internal.ZWaveActiveBinding:433 ]- ZwaveIncomingEvent
2015-11-17 12:13:04.231 [DEBUG] [.z.internal.ZWaveActiveBinding:450 ]- NODE 2: Got a value event from Z-Wave network, endpoint = 0, command class = SENSOR_MULTILEVEL, value = 0E+1
2015-11-17 12:13:04.251 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:63 ]- Sent message Message: class = SendData (0x13), type = Request (0x00), payload = 02 03 31 04 1B
2015-11-17 12:13:04.259 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:64 ]- Recv message Message: class = ApplicationCommandHandler (0x04), type = Request (0x00), payload = 00 02 05 31 05 1B 01 00
2015-11-17 12:13:04.263 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:65 ]- Checking transaction complete: class=ApplicationCommandHandler, expected=ApplicationCommandHandler, cancelled=false
2015-11-17 12:13:04.266 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:68 ]- transaction complete!
2015-11-17 12:13:04.270 [DEBUG] [b.z.i.protocol.ZWaveController:595 ]- Notifying event listeners: ZWaveTransactionCompletedEvent
And this is the binding configuration:
Number NUM_ZWAVE_Luminance "Helligkeit [%.1f Lux]" (G_Cellar) {zwave="2:command=sensor_multilevel,sensor_type=3" }
Number NUM_ZWAVE_Ultraviolet "UV [%s %%]" (G_Cellar) { zwave="2:command=sensor_multilevel,sensor_type=27" }
I also found the following error when I try to reset to default factory settings using Habmin:
2015-11-17 13:37:30.654 [ERROR] [.o.m.c.i.folder.FolderObserver] - An unexpected exception has occured
java.lang.NullPointerException: null
at org.openhab.core.persistence.internal.PersistenceManager.initialize(PersistenceManager.java:383) ~[na:na]
at org.openhab.core.persistence.internal.PersistenceManager.itemAdded(PersistenceManager.java:355) ~[na:na]
at org.openhab.core.persistence.internal.PersistenceManager.allItemsChanged(PersistenceManager.java:350) ~[na:na]
at org.openhab.core.internal.items.ItemRegistryImpl.allItemsChanged(ItemRegistryImpl.java:201) ~[na:na]
at org.openhab.model.item.internal.GenericItemProvider.modelChanged(GenericItemProvider.java:393) ~[na:na]
at org.openhab.model.core.internal.ModelRepositoryImpl.notifyListeners(ModelRepositoryImpl.java:159) ~[na:na]
at org.openhab.model.core.internal.ModelRepositoryImpl.addOrRefreshModel(ModelRepositoryImpl.java:100) ~[na:na]
at org.openhab.model.core.internal.folder.FolderObserver.checkFolder(FolderObserver.java:142) ~[na:na]
at org.openhab.model.core.internal.folder.FolderObserver.run(FolderObserver.java:99) ~[na:na]
I’ve uploaded the node.xml to pastebin: http://pastebin.com/YWQMPFmV
How can I solve these problems?