Group associations

Hi,

I have an TKB Home TZ66D Z-Wave Wall Switch, this switch has an local and an remote button. It can send commands to 4 associations groups. When I press the local button (group 1), the light go’s on. On the item:

Switch main_switch_slaapkamer (Slaapkamerswitch) { zwave=“10:command=SWITCH_BINARY”}

The switch does not change. When I send an ON or OFF command to main_switch_slaapkamer, the light go’s on or off.

But how do I receive the group command from the buttons to openhab?

Sorry to bump such an old thread, but I’m having the same problems… I suspect it’s a misconfiguration of my item…

item.items
Switch Z_Light_FF_FrontBedroomSwitch "Bedroom: Light" (FF_BackBedroom) { zwave="10:command=SWITCH_BINARY" }

rule.rules
rule “Turn Front Bedroom Light on (zwave test)”
when
Item Z_Light_FF_FrontBedroomSwitch received command ON
then
sendCommand(Z_Socket_FrontBedroom_DAB, ON)
sendCommand(Z_Socket_FrontBedroom_Morning, ON)
end

rule "Turn Front Bedroom Light on (zwave test off)"
when
	Item Z_Light_FF_FrontBedroomSwitch received command OFF
then
	sendCommand(Z_Socket_FrontBedroom_DAB, OFF)
	sendCommand(Z_Socket_FrontBedroom_Morning, OFF)	
end

zwave.log

2016-01-02 22:44:33.417 [DEBUG] [.ApplicationUpdateMessageClass:44  ]- NODE 10: Application update request. Node information received.
2016-01-02 22:44:33.417 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:63  ]- Sent message Message: class = SendData (0x13), type = Request (0x00), payload = 05 01 00 
2016-01-02 22:44:33.417 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:64  ]- Recv message Message: class = ApplicationUpdate (0x49), type = Request (0x00), payload = 84 0A 0A 04 10 01 25 85 27 70 73 86 72 
2016-01-02 22:44:33.417 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:65  ]- Checking transaction complete: class=ApplicationUpdate, expected=SendData, cancelled=false
2016-01-02 22:44:33.489 [DEBUG] [eController$ZWaveReceiveThread:1441]- Receive Message = 01 09 00 04 00 0A 03 20 01 00 DA 
2016-01-02 22:44:33.490 [DEBUG] [eController$ZWaveReceiveThread:1365]- Receive queue ADD: Length=1
2016-01-02 22:44:33.492 [DEBUG] [b.z.i.protocol.ZWaveController:1123]- Receive queue TAKE: Length=0
2016-01-02 22:44:33.492 [DEBUG] [o.b.z.i.protocol.SerialMessage:233 ]- Assembled message buffer = 01 09 00 04 00 0A 03 20 01 00 DA 
2016-01-02 22:44:33.492 [DEBUG] [b.z.i.protocol.ZWaveController:1124]- Process Message = 01 09 00 04 00 0A 03 20 01 00 DA 
2016-01-02 22:44:33.493 [DEBUG] [b.z.i.protocol.ZWaveController:190 ]- Message: class = ApplicationCommandHandler (0x04), type = Request (0x00), payload = 00 0A 03 20 01 00 
2016-01-02 22:44:33.493 [DEBUG] [ApplicationCommandMessageClass:38  ]- NODE 10: Application Command Request (ALIVE:DONE)
2016-01-02 22:44:33.493 [DEBUG] [ApplicationCommandMessageClass:56  ]- NODE 10: Incoming command class BASIC
2016-01-02 22:44:33.493 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:74  ]- NODE 10: Received Basic Request
2016-01-02 22:44:33.493 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:78  ]- NODE 10: Basic Set sent to the controller will be processed as Basic Report
2016-01-02 22:44:33.493 [DEBUG] [z.i.p.c.ZWaveBasicCommandClass:107 ]- NODE 10: Basic report, value = 0x00
2016-01-02 22:44:33.493 [DEBUG] [b.z.i.protocol.ZWaveController:595 ]- Notifying event listeners: ZWaveCommandClassValueEvent
2016-01-02 22:44:33.493 [DEBUG] [.z.internal.ZWaveActiveBinding:433 ]- ZwaveIncomingEvent
2016-01-02 22:44:33.493 [DEBUG] [.z.internal.ZWaveActiveBinding:450 ]- NODE 10: Got a value event from Z-Wave network, endpoint = 0, command class = BASIC, value = 0
2016-01-02 22:44:33.493 [DEBUG] [ApplicationCommandMessageClass:85  ]- Transaction not completed: node address inconsistent.

Any ideas? I’ve tried changing the item through, BASIC, SWITCH_BASIC, SWITCH_BINARY with no joy :frowning:

Since the device seems to be sending the BASIC class, so you probably need to link to this. Have you tried adding the “respond_to_basic=true” option to the end of the item config?

1 Like

Hi Chris,

I had tried “, respond_to_basic=true” after the class, however, I am not sure which one I tried it with, so I tried it again…

A combination of adding “, respond_to_basic=true” and adding the devices I wanted to control, to the Association Group seems to have worked :smile:

So we now have;

item.items
Switch Z_Light_FF_FrontBedroomSwitch "Bedroom: Light" (FF_BackBedroom) { zwave="10:command=SWITCH_BINARY, respond_to_basic=true" }

rule.rules

rule "Turn Front Bedroom Toys on"
when
	Item Z_Light_FF_FrontBedroomSwitch received command ON
then
	sendCommand(Z_Socket_FrontBedroom_DAB, ON)
	sendCommand(Z_Socket_FrontBedroom_Morning, ON)
end

rule "Turn Front Bedroom Toys off"
when
    	Item Z_Light_FF_FrontBedroomSwitch received command OFF
then
    	sendCommand(Z_Socket_FrontBedroom_DAB, OFF)
    	sendCommand(Z_Socket_FrontBedroom_Morning, OFF)	
end

and Configuration like so;

All appears well now :smile: