That’s how I started. To create some logs I switched back to this config (Binding Version 1.9.0.201701130210
):
Number PSR04_Number "PSR04 Pos [%d]" {zwave="33:command=BASIC"}
Number PSR04_Scene "PSR04 CentralScene [%d]" {zwave="33:command=CENTRAL_SCENE"}
I first longpress the button, then turn it, then longpress it again. Longpress sends the CentralScene, Turning sends the Basic Set.
2017-01-16 20:34:22.687 [DEBUG] [ApplicationCommandMessageClass:41 ]- NODE 33: Application Command Request (ALIVE:PING)
2017-01-16 20:34:22.688 [DEBUG] [ApplicationCommandMessageClass:146 ]- NODE 33: Incoming command class CENTRAL_SCENE (0x5b)
2017-01-16 20:34:22.688 [DEBUG] [.ZWaveCentralSceneCommandClass:77 ]- NODE 33: Received central scene command (v1)
2017-01-16 20:34:22.689 [DEBUG] [.ZWaveCentralSceneCommandClass:84 ]- NODE 33: Received scene 1 ; key 2
2017-01-16 20:34:22.689 [DEBUG] [b.z.i.protocol.ZWaveController:668 ]- NODE 33: Notifying event listeners: ZWaveCommandClassValueEvent
2017-01-16 20:34:22.691 [DEBUG] [.z.internal.ZWaveActiveBinding:472 ]- NODE 33: Got a value event from Z-Wave network, endpoint = 0, command class = CENTRAL_SCENE, value = {key=2, scene=1}
2017-01-16 20:34:22.705 [DEBUG] [ApplicationCommandMessageClass:41 ]- NODE 33: Application Command Request (ALIVE:PING)
2017-01-16 20:34:22.706 [DEBUG] [ApplicationCommandMessageClass:146 ]- NODE 33: Incoming command class BASIC (0x20)
2017-01-16 20:34:22.709 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:73 ]- NODE 33: Received Basic Request
2017-01-16 20:34:22.714 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:77 ]- NODE 33: Basic Set sent to the controller will be processed as Basic Report
2017-01-16 20:34:22.715 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:106 ]- NODE 33: Basic report, value = 0x00
2017-01-16 20:34:22.716 [DEBUG] [b.z.i.protocol.ZWaveController:668 ]- NODE 33: Notifying event listeners: ZWaveCommandClassValueEvent
2017-01-16 20:34:22.719 [DEBUG] [.z.internal.ZWaveActiveBinding:472 ]- NODE 33: Got a value event from Z-Wave network, endpoint = 0, command class = BASIC, value = 0
2017-01-16 20:34:23.096 [DEBUG] [ApplicationCommandMessageClass:41 ]- NODE 33: Application Command Request (ALIVE:PING)
2017-01-16 20:34:23.097 [DEBUG] [ApplicationCommandMessageClass:146 ]- NODE 33: Incoming command class CENTRAL_SCENE (0x5b)
2017-01-16 20:34:23.098 [DEBUG] [.ZWaveCentralSceneCommandClass:77 ]- NODE 33: Received central scene command (v1)
2017-01-16 20:34:23.099 [DEBUG] [.ZWaveCentralSceneCommandClass:84 ]- NODE 33: Received scene 1 ; key 1
2017-01-16 20:34:23.099 [DEBUG] [b.z.i.protocol.ZWaveController:668 ]- NODE 33: Notifying event listeners: ZWaveCommandClassValueEvent
2017-01-16 20:34:23.101 [DEBUG] [.z.internal.ZWaveActiveBinding:472 ]- NODE 33: Got a value event from Z-Wave network, endpoint = 0, command class = CENTRAL_SCENE, value = {key=1, scene=1}
2017-01-16 20:34:33.840 [DEBUG] [ApplicationCommandMessageClass:41 ]- NODE 33: Application Command Request (ALIVE:PING)
2017-01-16 20:34:33.841 [DEBUG] [ApplicationCommandMessageClass:146 ]- NODE 33: Incoming command class CENTRAL_SCENE (0x5b)
2017-01-16 20:34:33.842 [DEBUG] [.ZWaveCentralSceneCommandClass:77 ]- NODE 33: Received central scene command (v1)
2017-01-16 20:34:33.843 [DEBUG] [.ZWaveCentralSceneCommandClass:84 ]- NODE 33: Received scene 1 ; key 0
2017-01-16 20:34:33.845 [DEBUG] [b.z.i.protocol.ZWaveController:668 ]- NODE 33: Notifying event listeners: ZWaveCommandClassValueEvent
2017-01-16 20:34:33.846 [DEBUG] [.z.internal.ZWaveActiveBinding:472 ]- NODE 33: Got a value event from Z-Wave network, endpoint = 0, command class = CENTRAL_SCENE, value = {key=0, scene=1}
2017-01-16 20:34:33.858 [DEBUG] [ApplicationCommandMessageClass:41 ]- NODE 33: Application Command Request (ALIVE:PING)
2017-01-16 20:34:33.859 [DEBUG] [ApplicationCommandMessageClass:146 ]- NODE 33: Incoming command class BASIC (0x20)
2017-01-16 20:34:33.860 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:73 ]- NODE 33: Received Basic Request
2017-01-16 20:34:33.861 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:77 ]- NODE 33: Basic Set sent to the controller will be processed as Basic Report
2017-01-16 20:34:33.862 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:106 ]- NODE 33: Basic report, value = 0x34
2017-01-16 20:34:33.863 [DEBUG] [b.z.i.protocol.ZWaveController:668 ]- NODE 33: Notifying event listeners: ZWaveCommandClassValueEvent
2017-01-16 20:34:33.865 [DEBUG] [.z.internal.ZWaveActiveBinding:472 ]- NODE 33: Got a value event from Z-Wave network, endpoint = 0, command class = BASIC, value = 52
2017-01-16 20:34:38.975 [DEBUG] [ApplicationCommandMessageClass:41 ]- NODE 33: Application Command Request (ALIVE:PING)
2017-01-16 20:34:38.976 [DEBUG] [ApplicationCommandMessageClass:146 ]- NODE 33: Incoming command class BASIC (0x20)
2017-01-16 20:34:38.977 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:73 ]- NODE 33: Received Basic Request
2017-01-16 20:34:38.978 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:77 ]- NODE 33: Basic Set sent to the controller will be processed as Basic Report
2017-01-16 20:34:38.979 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:106 ]- NODE 33: Basic report, value = 0x08
2017-01-16 20:34:38.980 [DEBUG] [b.z.i.protocol.ZWaveController:668 ]- NODE 33: Notifying event listeners: ZWaveCommandClassValueEvent
2017-01-16 20:34:38.982 [DEBUG] [.z.internal.ZWaveActiveBinding:472 ]- NODE 33: Got a value event from Z-Wave network, endpoint = 0, command class = BASIC, value = 8
2017-01-16 20:34:43.073 [DEBUG] [ApplicationCommandMessageClass:41 ]- NODE 33: Application Command Request (ALIVE:PING)
2017-01-16 20:34:43.075 [DEBUG] [ApplicationCommandMessageClass:146 ]- NODE 33: Incoming command class BASIC (0x20)
2017-01-16 20:34:43.076 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:73 ]- NODE 33: Received Basic Request
2017-01-16 20:34:43.077 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:77 ]- NODE 33: Basic Set sent to the controller will be processed as Basic Report
2017-01-16 20:34:43.078 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:106 ]- NODE 33: Basic report, value = 0x50
2017-01-16 20:34:43.079 [DEBUG] [b.z.i.protocol.ZWaveController:668 ]- NODE 33: Notifying event listeners: ZWaveCommandClassValueEvent
2017-01-16 20:34:43.080 [DEBUG] [.z.internal.ZWaveActiveBinding:472 ]- NODE 33: Got a value event from Z-Wave network, endpoint = 0, command class = BASIC, value = 80
2017-01-16 20:34:49.333 [DEBUG] [ApplicationCommandMessageClass:41 ]- NODE 33: Application Command Request (ALIVE:PING)
2017-01-16 20:34:49.334 [DEBUG] [ApplicationCommandMessageClass:146 ]- NODE 33: Incoming command class CENTRAL_SCENE (0x5b)
2017-01-16 20:34:49.336 [DEBUG] [.ZWaveCentralSceneCommandClass:77 ]- NODE 33: Received central scene command (v1)
2017-01-16 20:34:49.337 [DEBUG] [.ZWaveCentralSceneCommandClass:84 ]- NODE 33: Received scene 1 ; key 2
2017-01-16 20:34:49.337 [DEBUG] [b.z.i.protocol.ZWaveController:668 ]- NODE 33: Notifying event listeners: ZWaveCommandClassValueEvent
2017-01-16 20:34:49.339 [DEBUG] [.z.internal.ZWaveActiveBinding:472 ]- NODE 33: Got a value event from Z-Wave network, endpoint = 0, command class = CENTRAL_SCENE, value = {key=2, scene=1}
2017-01-16 20:34:49.351 [DEBUG] [ApplicationCommandMessageClass:41 ]- NODE 33: Application Command Request (ALIVE:PING)
2017-01-16 20:34:49.352 [DEBUG] [ApplicationCommandMessageClass:146 ]- NODE 33: Incoming command class BASIC (0x20)
2017-01-16 20:34:49.353 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:73 ]- NODE 33: Received Basic Request
2017-01-16 20:34:49.354 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:77 ]- NODE 33: Basic Set sent to the controller will be processed as Basic Report
2017-01-16 20:34:49.355 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:106 ]- NODE 33: Basic report, value = 0x00
2017-01-16 20:34:49.357 [DEBUG] [b.z.i.protocol.ZWaveController:668 ]- NODE 33: Notifying event listeners: ZWaveCommandClassValueEvent
2017-01-16 20:34:49.360 [DEBUG] [.z.internal.ZWaveActiveBinding:472 ]- NODE 33: Got a value event from Z-Wave network, endpoint = 0, command class = BASIC, value = 0
2017-01-16 20:34:49.539 [DEBUG] [ApplicationCommandMessageClass:41 ]- NODE 33: Application Command Request (ALIVE:PING)
2017-01-16 20:34:49.541 [DEBUG] [ApplicationCommandMessageClass:146 ]- NODE 33: Incoming command class CENTRAL_SCENE (0x5b)
2017-01-16 20:34:49.542 [DEBUG] [.ZWaveCentralSceneCommandClass:77 ]- NODE 33: Received central scene command (v1)
2017-01-16 20:34:49.543 [DEBUG] [.ZWaveCentralSceneCommandClass:84 ]- NODE 33: Received scene 1 ; key 1
2017-01-16 20:34:49.544 [DEBUG] [b.z.i.protocol.ZWaveController:668 ]- NODE 33: Notifying event listeners: ZWaveCommandClassValueEvent
2017-01-16 20:34:49.546 [DEBUG] [.z.internal.ZWaveActiveBinding:472 ]- NODE 33: Got a value event from Z-Wave network, endpoint = 0, command class = CENTRAL_SCENE, value = {key=1, scene=1}
Unforunately only the central scene causes an item update:
2017-01-16 20:34:22 - PSR04_Scene state updated to 1
2017-01-16 20:34:23 - PSR04_Scene state updated to 1
2017-01-16 20:34:33 - PSR04_Scene state updated to 1
2017-01-16 20:34:49 - PSR04_Scene state updated to 1
2017-01-16 20:34:49 - PSR04_Scene state updated to 1
As you can see my item seems to be defined correctly, because it shows up in the log:
2017-01-16 20:34:33.865 [DEBUG] [.z.internal.ZWaveActiveBinding:472 ]- NODE 33: Got a value event from Z-Wave network, endpoint = 0, command class = BASIC, value = 52
Unfortunately it does not cause an Update. What shall I do?