Well, that’s quite weird one…
I’m using OpenHab 1.8.3, with latest HABmin, on Windows8.1, AEON ZWAVE stick GEN5 and ZXT120.
Trying to configure parameter 27 with value of 399. But then in the HABmin GUI I see 143 instead.
If we write these numbers in hexa, it starts to make sense.
399=0x18f, 143=0x8f
It looks like the MSB byte got lost somewhere.
But where?..
Here’s the log snippet of configuration Writing and Reading
10:22:24.288 [DEBUG] [.z.i.config.ZWaveConfiguration:1091 ] - doSet domain 'nodes/node3/parameters/configuration27' to '399'
10:22:24.364 [DEBUG] [.z.i.config.ZWaveConfiguration:1177 ] - Set parameter index '27' to '399'
10:22:24.364 [DEBUG] [ZWaveConfigurationCommandClass:188 ] - NODE 3: Creating new message for application command CONFIGURATIONCMD_SET
10:22:24.380 [DEBUG] [o.b.z.i.protocol.SerialMessage:109 ] - NODE 3: Creating empty message of class = SendData (0x13), type = Request (0x00)
10:22:24.380 [DEBUG] [b.z.i.protocol.ZWaveController:938 ] - Callback ID = 105
10:22:24.380 [DEBUG] [b.z.i.protocol.ZWaveController:620 ] - Enqueueing message. Queue length = 1
10:22:24.380 [DEBUG] [WaveController$ZWaveSendThread:1211 ] - Took message from queue for sending. Queue length = 0
10:22:24.380 [DEBUG] [ZWaveConfigurationCommandClass:160 ] - NODE 3: Creating new message for application command CONFIGURATIONCMD_GET
10:22:24.380 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ] - Assembled message buffer = 01 0C 00 13 03 05 70 04 1B 01 8F 25 69 4B
10:22:24.380 [DEBUG] [o.b.z.i.protocol.SerialMessage:109 ] - NODE 3: Creating empty message of class = SendData (0x13), type = Request (0x00)
10:22:24.380 [DEBUG] [WaveController$ZWaveSendThread:1268 ] - NODE 3: Sending REQUEST Message = 01 0C 00 13 03 05 70 04 1B 01 8F 25 69 4B
10:22:24.380 [DEBUG] [b.z.i.protocol.ZWaveController:938 ] - Callback ID = 106
10:22:24.380 [DEBUG] [b.z.i.protocol.ZWaveController:620 ] - Enqueueing message. Queue length = 1
10:22:24.380 [DEBUG] [eController$ZWaveReceiveThread:1481 ] - Receive Message = 01 04 01 13 01 E8
10:22:24.380 [DEBUG] [eController$ZWaveReceiveThread:1405 ] - Receive queue ADD: Length=1
10:22:24.380 [DEBUG] [b.z.i.protocol.ZWaveController:1163 ] - Receive queue TAKE: Length=0
10:22:24.380 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ] - Assembled message buffer = 01 04 01 13 01 E8
10:22:24.380 [DEBUG] [b.z.i.protocol.ZWaveController:1164 ] - Process Message = 01 04 01 13 01 E8
10:22:24.380 [DEBUG] [b.z.i.protocol.ZWaveController:192 ] - Message: class = SendData (0x13), type = Response (0x01), payload = 01
10:22:24.380 [DEBUG] [b.z.i.p.s.SendDataMessageClass:38 ] - NODE 3: Sent Data successfully placed on stack.
10:22:25.637 [DEBUG] [eController$ZWaveReceiveThread:1481 ] - Receive Message = 01 07 00 13 69 00 00 7E FC
10:22:25.637 [DEBUG] [eController$ZWaveReceiveThread:1405 ] - Receive queue ADD: Length=1
10:22:25.637 [DEBUG] [b.z.i.protocol.ZWaveController:1163 ] - Receive queue TAKE: Length=0
10:22:25.637 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ] - Assembled message buffer = 01 09 00 13 69 00 00 7E 00 00 F2
10:22:25.637 [DEBUG] [b.z.i.protocol.ZWaveController:1164 ] - Process Message = 01 09 00 13 69 00 00 7E 00 00 F2
10:22:25.637 [DEBUG] [b.z.i.protocol.ZWaveController:192 ] - Message: class = SendData (0x13), type = Request (0x00), payload = 69 00 00 7E
10:22:25.637 [DEBUG] [b.z.i.p.s.SendDataMessageClass:74 ] - NODE 3: SendData Request. CallBack ID = 105, Status = Transmission complete and ACK received(0)
10:22:25.637 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:63 ] - Sent message Message: class = SendData (0x13), type = Request (0x00), payload = 03 05 70 04 1B 01 8F
10:22:25.637 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:64 ] - Recv message Message: class = SendData (0x13), type = Request (0x00), payload = 69 00 00 7E
10:22:25.653 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:65 ] - Checking transaction complete: class=SendData, expected=SendData, cancelled=false
10:22:25.653 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:68 ] - transaction complete!
10:22:25.653 [DEBUG] [b.z.i.protocol.ZWaveController:635 ] - Notifying event listeners: ZWaveTransactionCompletedEvent
10:22:25.653 [DEBUG] [.z.internal.ZWaveActiveBinding:433 ] - ZwaveIncomingEvent
10:22:25.653 [DEBUG] [WaveController$ZWaveSendThread:1327 ] - NODE 3: Response processed after 1273ms/3704ms.
10:22:25.653 [DEBUG] [WaveController$ZWaveSendThread:1211 ] - Took message from queue for sending. Queue length = 0
10:22:25.653 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ] - Assembled message buffer = 01 0A 00 13 03 03 70 05 1B 25 6A C7
10:22:25.653 [DEBUG] [WaveController$ZWaveSendThread:1268 ] - NODE 3: Sending REQUEST Message = 01 0A 00 13 03 03 70 05 1B 25 6A C7
10:22:25.668 [DEBUG] [eController$ZWaveReceiveThread:1481 ] - Receive Message = 01 04 01 13 01 E8
10:22:25.668 [DEBUG] [eController$ZWaveReceiveThread:1405 ] - Receive queue ADD: Length=1
10:22:25.668 [DEBUG] [b.z.i.protocol.ZWaveController:1163 ] - Receive queue TAKE: Length=0
10:22:25.668 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ] - Assembled message buffer = 01 04 01 13 01 E8
10:22:25.668 [DEBUG] [b.z.i.protocol.ZWaveController:1164 ] - Process Message = 01 04 01 13 01 E8
10:22:25.668 [DEBUG] [b.z.i.protocol.ZWaveController:192 ] - Message: class = SendData (0x13), type = Response (0x01), payload = 01
10:22:25.668 [DEBUG] [b.z.i.p.s.SendDataMessageClass:38 ] - NODE 3: Sent Data successfully placed on stack.
10:22:25.684 [DEBUG] [eController$ZWaveReceiveThread:1481 ] - Receive Message = 01 07 00 13 6A 00 00 02 83
10:22:25.692 [DEBUG] [eController$ZWaveReceiveThread:1405 ] - Receive queue ADD: Length=1
10:22:25.692 [DEBUG] [b.z.i.protocol.ZWaveController:1163 ] - Receive queue TAKE: Length=0
10:22:25.696 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ] - Assembled message buffer = 01 09 00 13 6A 00 00 02 00 00 8D
10:22:25.700 [DEBUG] [b.z.i.protocol.ZWaveController:1164 ] - Process Message = 01 09 00 13 6A 00 00 02 00 00 8D
10:22:25.708 [DEBUG] [b.z.i.protocol.ZWaveController:192 ] - Message: class = SendData (0x13), type = Request (0x00), payload = 6A 00 00 02
10:22:25.716 [DEBUG] [b.z.i.p.s.SendDataMessageClass:74 ] - NODE 3: SendData Request. CallBack ID = 106, Status = Transmission complete and ACK received(0)
10:22:25.728 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:63 ] - Sent message Message: class = SendData (0x13), type = Request (0x00), payload = 03 03 70 05 1B
10:22:25.728 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:64 ] - Recv message Message: class = SendData (0x13), type = Request (0x00), payload = 6A 00 00 02
10:22:25.744 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:65 ] - Checking transaction complete: class=SendData, expected=ApplicationCommandHandler, cancelled=false
10:22:25.973 [DEBUG] [eController$ZWaveReceiveThread:1481 ] - Receive Message = 01 0C 00 04 00 03 06 70 06 1B 02 00 8F 12
10:22:25.973 [DEBUG] [eController$ZWaveReceiveThread:1405 ] - Receive queue ADD: Length=1
10:22:25.973 [DEBUG] [b.z.i.protocol.ZWaveController:1163 ] - Receive queue TAKE: Length=0
10:22:25.973 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ] - Assembled message buffer = 01 0C 00 04 00 03 06 70 06 1B 02 00 8F 12
10:22:25.973 [DEBUG] [b.z.i.protocol.ZWaveController:1164 ] - Process Message = 01 0C 00 04 00 03 06 70 06 1B 02 00 8F 12
10:22:25.973 [DEBUG] [b.z.i.protocol.ZWaveController:192 ] - Message: class = ApplicationCommandHandler (0x04), type = Request (0x00), payload = 00 03 06 70 06 1B 02 00 8F
10:22:25.989 [DEBUG] [ApplicationCommandMessageClass:38 ] - NODE 3: Application Command Request (ALIVE:DONE)
10:22:25.989 [DEBUG] [ApplicationCommandMessageClass:56 ] - NODE 3: Incoming command class CONFIGURATION
10:22:25.989 [DEBUG] [ZWaveConfigurationCommandClass:76 ] - NODE 3: Received Configuration Request
10:22:25.989 [DEBUG] [ZWaveConfigurationCommandClass:121 ] - NODE 3: Node configuration report, parameter = 27, value = 143
10:22:25.989 [DEBUG] [b.z.i.protocol.ZWaveController:635 ] - Notifying event listeners: ZWaveConfigurationParameterEvent
10:22:25.989 [DEBUG] [.z.internal.ZWaveActiveBinding:433 ] - ZwaveIncomingEvent
10:22:25.989 [DEBUG] [.z.internal.ZWaveActiveBinding:450 ] - NODE 3: Got a value event from Z-Wave network, endpoint = 0, command class = CONFIGURATION, value = org.openhab.binding.zwave.internal.protocol.ConfigurationParameter@3bac6
10:22:26.004 [DEBUG] [.b.z.i.p.i.ZWaveNodeSerializer:107 ] - NODE 3: Serializing to file etc\zwave\node3.xml
10:22:26.035 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:63 ] - Sent message Message: class = SendData (0x13), type = Request (0x00), payload = 03 03 70 05 1B
10:22:26.035 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:64 ] - Recv message Message: class = ApplicationCommandHandler (0x04), type = Request (0x00), payload = 00 03 06 70 06 1B 02 00 8F
10:22:26.035 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:65 ] - Checking transaction complete: class=ApplicationCommandHandler, expected=ApplicationCommandHandler, cancelled=false
10:22:26.035 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:68 ] - transaction complete!
10:22:26.035 [DEBUG] [b.z.i.protocol.ZWaveController:635 ] - Notifying event listeners: ZWaveTransactionCompletedEvent
10:22:26.035 [DEBUG] [.z.internal.ZWaveActiveBinding:433 ] - ZwaveIncomingEvent
10:22:26.035 [DEBUG] [WaveController$ZWaveSendThread:1327 ] - NODE 3: Response processed after 382ms/3704ms.
10:22:28.132 [DEBUG] [eController$ZWaveReceiveThread:1481 ] - Receive Message = 01 09 00 04 00 03 03 80 03 49 38
10:22:28.132 [DEBUG] [eController$ZWaveReceiveThread:1405 ] - Receive queue ADD: Length=1
10:22:28.132 [DEBUG] [b.z.i.protocol.ZWaveController:1163 ] - Receive queue TAKE: Length=0
10:22:28.132 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ] - Assembled message buffer = 01 09 00 04 00 03 03 80 03 49 38
10:22:28.148 [DEBUG] [b.z.i.protocol.ZWaveController:1164 ] - Process Message = 01 09 00 04 00 03 03 80 03 49 38
10:22:28.148 [DEBUG] [b.z.i.protocol.ZWaveController:192 ] - Message: class = ApplicationCommandHandler (0x04), type = Request (0x00), payload = 00 03 03 80 03 49
10:22:28.148 [DEBUG] [ApplicationCommandMessageClass:38 ] - NODE 3: Application Command Request (ALIVE:DONE)