cdjackson / HABmin

A web admin console for openHAB home automation
http://www.cd-jackson.com/index.php/openhab/habmin
217 stars 51 forks source link

Problems with Z-Wave binding / HABmin #292

Open Pakast opened 8 years ago

Pakast commented 8 years ago

At this moment I have three problems with the Z-Wave binding in HABmin. I'm not sure if these issues are with the Z-Wave binding or with HABmin.

I'm using OpenHAB v1.8 and also tried to update the z-wave binding to the latest available version.

  1. I have a POPP wall plug dimmer (Manufacturer ID: 154, Device ID: 2) that I can't rename. It shows some Chinese characters as name.
  2. I have three Greenwave plugin switches (Manufacturer ID: 99, Device ID: 2) of which I can't change parameter 1 ('No communication light'). I change it to a value of 255 and it stays yellow, until I restart OpenHAB after which it reverts to a value of -1.
  3. I have a Aeon Labs Multisensor 6 (Manufacturer ID: 86, Device ID: 26) of which I can't change parameter 42 ('Humidity Threshold'). It would like to change it to a value of 2. When I change it, it looks like it works, but after a second or so it reverts to a value of 0.
cdjackson commented 8 years ago

1) Please raise separate issue on the openhab issue tracker

2) Do you wake up the device - it must wake up before it will set - if it is staying yellow, then it means the device has't woken up.

3) Please provide a logfile showing this issue

Pakast commented 8 years ago

1) Done 2) All devices are green 3) http://pastebin.com/GwXj0LCV

cdjackson commented 8 years ago

Just because it's green, doesn't mean that it's woken up since you sent the configuration change. I'll check your log and see what it shows - thanks.

cdjackson commented 8 years ago

Is this log relating to number 2 or 3? I thought 3, but in the log you seem to be setting parameter 1, but the description is parameter 42?

The log shows that you are setting parameter 1 to 255, and this is accepted by the device - it all looks fine.

On 29 Jan 2016, at 13:40, Pakast notifications@github.com wrote:

1) Done 2) All devices are green 3)

2016-01-29 14:39:25.824 [DEBUG] [.z.i.config.ZWaveConfiguration:1091]- doSet domain 'nodes/node10/parameters/configuration1' to '255' 2016-01-29 14:39:26.004 [DEBUG] [.z.i.config.ZWaveConfiguration:1177]- Set parameter index '1' to '255' 2016-01-29 14:39:26.004 [DEBUG] [ZWaveConfigurationCommandClass:188 ]- NODE 10: Creating new message for application command CONFIGURATIONCMD_SET 2016-01-29 14:39:26.004 [DEBUG] [o.b.z.i.protocol.SerialMessage:109 ]- NODE 10: Creating empty message of class = SendData (0x13), type = Request (0x00) 2016-01-29 14:39:26.004 [DEBUG] [b.z.i.protocol.ZWaveController:938 ]- Callback ID = 193 2016-01-29 14:39:26.006 [DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 0 2016-01-29 14:39:26.006 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 0C 00 13 0A 05 70 04 01 01 FF 25 C1 80 2016-01-29 14:39:26.017 [DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 10: Sending REQUEST Message = 01 0C 00 13 0A 05 70 04 01 01 FF 25 C1 80 2016-01-29 14:39:26.026 [DEBUG] [eController$ZWaveReceiveThread:1481]- Receive Message = 01 04 01 13 01 E8 2016-01-29 14:39:26.028 [DEBUG] [eController$ZWaveReceiveThread:1405]- Receive queue ADD: Length=1 2016-01-29 14:39:26.030 [DEBUG] [b.z.i.protocol.ZWaveController:1163]- Receive queue TAKE: Length=0 2016-01-29 14:39:26.031 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 04 01 13 01 E8 2016-01-29 14:39:26.031 [DEBUG] [b.z.i.protocol.ZWaveController:1164]- Process Message = 01 04 01 13 01 E8 2016-01-29 14:39:26.031 [DEBUG] [b.z.i.protocol.ZWaveController:192 ]- Message: class = SendData (0x13), type = Response (0x01), payload = 01 2016-01-29 14:39:26.031 [DEBUG] [b.z.i.p.s.SendDataMessageClass:38 ]- NODE 10: Sent Data successfully placed on stack. 2016-01-29 14:39:26.031 [DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 0 2016-01-29 14:39:26.031 [DEBUG] [ZWaveConfigurationCommandClass:160 ]- NODE 10: Creating new message for application command CONFIGURATIONCMD_GET 2016-01-29 14:39:26.031 [DEBUG] [o.b.z.i.protocol.SerialMessage:109 ]- NODE 10: Creating empty message of class = SendData (0x13), type = Request (0x00) 2016-01-29 14:39:26.032 [DEBUG] [b.z.i.protocol.ZWaveController:938 ]- Callback ID = 194 2016-01-29 14:39:26.033 [DEBUG] [b.z.i.protocol.ZWaveController:620 ]- Enqueueing message. Queue length = 1 2016-01-29 14:39:26.039 [DEBUG] [eController$ZWaveReceiveThread:1481]- Receive Message = 01 05 00 13 C1 00 28 2016-01-29 14:39:26.060 [DEBUG] [eController$ZWaveReceiveThread:1405]- Receive queue ADD: Length=1 2016-01-29 14:39:26.063 [DEBUG] [b.z.i.protocol.ZWaveController:1163]- Receive queue TAKE: Length=0 2016-01-29 14:39:26.063 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 07 00 13 C1 00 00 00 2A 2016-01-29 14:39:26.063 [DEBUG] [b.z.i.protocol.ZWaveController:1164]- Process Message = 01 07 00 13 C1 00 00 00 2A 2016-01-29 14:39:26.064 [DEBUG] [b.z.i.protocol.ZWaveController:192 ]- Message: class = SendData (0x13), type = Request (0x00), payload = C1 00 2016-01-29 14:39:26.064 [DEBUG] [b.z.i.p.s.SendDataMessageClass:74 ]- NODE 10: SendData Request. CallBack ID = 193, Status = Transmission complete and ACK received(0) 2016-01-29 14:39:26.064 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:63 ]- Sent message Message: class = SendData (0x13), type = Request (0x00), payload = 0A 05 70 04 01 01 FF 2016-01-29 14:39:26.064 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:64 ]- Recv message Message: class = SendData (0x13), type = Request (0x00), payload = C1 00 2016-01-29 14:39:26.064 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:65 ]- Checking transaction complete: class=SendData, expected=SendData, cancelled=false 2016-01-29 14:39:26.064 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:68 ]- transaction complete! 2016-01-29 14:39:26.064 [DEBUG] [b.z.i.protocol.ZWaveController:635 ]- Notifying event listeners: ZWaveTransactionCompletedEvent 2016-01-29 14:39:26.064 [DEBUG] [.z.internal.ZWaveActiveBinding:433 ]- ZwaveIncomingEvent 2016-01-29 14:39:26.064 [DEBUG] [WaveController$ZWaveSendThread:1327]- NODE 10: Response processed after 47ms/3677ms. 2016-01-29 14:39:26.064 [DEBUG] [WaveController$ZWaveSendThread:1211]- Took message from queue for sending. Queue length = 0 2016-01-29 14:39:26.064 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 0A 00 13 0A 03 70 05 01 25 C2 7C 2016-01-29 14:39:26.065 [DEBUG] [WaveController$ZWaveSendThread:1268]- NODE 10: Sending REQUEST Message = 01 0A 00 13 0A 03 70 05 01 25 C2 7C 2016-01-29 14:39:26.075 [DEBUG] [eController$ZWaveReceiveThread:1481]- Receive Message = 01 04 01 13 01 E8 2016-01-29 14:39:26.107 [DEBUG] [eController$ZWaveReceiveThread:1405]- Receive queue ADD: Length=1 2016-01-29 14:39:26.111 [DEBUG] [b.z.i.protocol.ZWaveController:1163]- Receive queue TAKE: Length=0 2016-01-29 14:39:26.111 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 04 01 13 01 E8 2016-01-29 14:39:26.111 [DEBUG] [b.z.i.protocol.ZWaveController:1164]- Process Message = 01 04 01 13 01 E8 2016-01-29 14:39:26.111 [DEBUG] [b.z.i.protocol.ZWaveController:192 ]- Message: class = SendData (0x13), type = Response (0x01), payload = 01 2016-01-29 14:39:26.111 [DEBUG] [b.z.i.p.s.SendDataMessageClass:38 ]- NODE 10: Sent Data successfully placed on stack. 2016-01-29 14:39:26.138 [DEBUG] [eController$ZWaveReceiveThread:1481]- Receive Message = 01 05 00 13 C2 00 2B 2016-01-29 14:39:26.145 [DEBUG] [b.z.i.protocol.ZWaveController:1163]- Receive queue TAKE: Length=0 2016-01-29 14:39:26.145 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 07 00 13 C2 00 00 00 29 2016-01-29 14:39:26.145 [DEBUG] [b.z.i.protocol.ZWaveController:1164]- Process Message = 01 07 00 13 C2 00 00 00 29 2016-01-29 14:39:26.145 [DEBUG] [b.z.i.protocol.ZWaveController:192 ]- Message: class = SendData (0x13), type = Request (0x00), payload = C2 00 2016-01-29 14:39:26.145 [DEBUG] [b.z.i.p.s.SendDataMessageClass:74 ]- NODE 10: SendData Request. CallBack ID = 194, Status = Transmission complete and ACK received(0) 2016-01-29 14:39:26.145 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:63 ]- Sent message Message: class = SendData (0x13), type = Request (0x00), payload = 0A 03 70 05 01 2016-01-29 14:39:26.145 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:64 ]- Recv message Message: class = SendData (0x13), type = Request (0x00), payload = C2 00 2016-01-29 14:39:26.146 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:65 ]- Checking transaction complete: class=SendData, expected=ApplicationCommandHandler, cancelled=false 2016-01-29 14:39:26.150 [DEBUG] [eController$ZWaveReceiveThread:1405]- Receive queue ADD: Length=0 2016-01-29 14:39:26.150 [DEBUG] [eController$ZWaveReceiveThread:1481]- Receive Message = 01 0B 00 04 00 0A 05 70 06 01 01 FF 76 2016-01-29 14:39:26.152 [DEBUG] [eController$ZWaveReceiveThread:1405]- Receive queue ADD: Length=1 2016-01-29 14:39:26.152 [DEBUG] [b.z.i.protocol.ZWaveController:1163]- Receive queue TAKE: Length=0 2016-01-29 14:39:26.152 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 0B 00 04 00 0A 05 70 06 01 01 FF 76 2016-01-29 14:39:26.152 [DEBUG] [b.z.i.protocol.ZWaveController:1164]- Process Message = 01 0B 00 04 00 0A 05 70 06 01 01 FF 76 2016-01-29 14:39:26.152 [DEBUG] [b.z.i.protocol.ZWaveController:192 ]- Message: class = ApplicationCommandHandler (0x04), type = Request (0x00), payload = 00 0A 05 70 06 01 01 FF 2016-01-29 14:39:26.152 [DEBUG] [ApplicationCommandMessageClass:38 ]- NODE 10: Application Command Request (ALIVE:DONE) 2016-01-29 14:39:26.152 [DEBUG] [ApplicationCommandMessageClass:56 ]- NODE 10: Incoming command class CONFIGURATION 2016-01-29 14:39:26.152 [DEBUG] [ZWaveConfigurationCommandClass:76 ]- NODE 10: Received Configuration Request 2016-01-29 14:39:26.153 [DEBUG] [ZWaveConfigurationCommandClass:121 ]- NODE 10: Node configuration report, parameter = 1, value = -1 2016-01-29 14:39:26.153 [DEBUG] [b.z.i.protocol.ZWaveController:635 ]- Notifying event listeners: ZWaveConfigurationParameterEvent 2016-01-29 14:39:26.153 [DEBUG] [.z.internal.ZWaveActiveBinding:433 ]- ZwaveIncomingEvent 2016-01-29 14:39:26.153 [DEBUG] [.z.internal.ZWaveActiveBinding:450 ]- NODE 10: Got a value event from Z-Wave network, endpoint = 0, command class = CONFIGURATION, value = org.openhab.binding.zwave.internal.protocol.ConfigurationParameter@43e5b67b 2016-01-29 14:39:26.153 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:63 ]- Sent message Message: class = SendData (0x13), type = Request (0x00), payload = 0A 03 70 05 01 2016-01-29 14:39:26.153 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:64 ]- Recv message Message: class = ApplicationCommandHandler (0x04), type = Request (0x00), payload = 00 0A 05 70 06 01 01 FF 2016-01-29 14:39:26.153 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:65 ]- Checking transaction complete: class=ApplicationCommandHandler, expected=ApplicationCommandHandler, cancelled=false 2016-01-29 14:39:26.153 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:68 ]- transaction complete! 2016-01-29 14:39:26.153 [DEBUG] [b.z.i.protocol.ZWaveController:635 ]- Notifying event listeners: ZWaveTransactionCompletedEvent 2016-01-29 14:39:26.153 [DEBUG] [.z.internal.ZWaveActiveBinding:433 ]- ZwaveIncomingEvent 2016-01-29 14:39:26.153 [DEBUG] [WaveController$ZWaveSendThread:1327]- NODE 10: Response processed after 88ms/3677ms.

— Reply to this email directly or view it on GitHub https://github.com/cdjackson/HABmin/issues/292#issuecomment-176760163.

Pakast commented 8 years ago

I'm sorry, that was indeed about number 2. This is the log for problem 3: http://pastebin.com/aRHWfjVC

Pakast commented 8 years ago

Problem 3 was due to a wrong size setting. The size of that parameter setting should be 1, but in the openzwave database it is set to 2.