I few devices that has worked for some time has now stopped responding to switching commands from Razberry. The razberry still receives status updates from the switches and they can be controlled by keypads.
The devices that cannot be switched from Razberry seems to have the Encapsulated flag set to them. I have tried to find out what that means but I find now info.
My number 32 device is one of the devices I have problem with. See log and job queue below:
-- Log
[2015-02-09 19:41:28.504] [zway] Adding job: SwitchMultilevel Set
[2015-02-09 19:41:28.505] [zway] Adding job: SwitchMultilevel Get
[2015-02-09 19:41:28.514] [zway] Adding job: MultiCmd, SwitchMultilevel Set, SwitchMultilevel Get
[2015-02-09 19:41:28.515] [D] [zway] SENDING (cb 0x45): ( 01 15 00 13 20 0E 60 0D 00 01 8F 01 02 03 26 01 63 02 26 02 25 45 36 )
[2015-02-09 19:41:28.519] [D] [zway] RECEIVED ACK
[2015-02-09 19:41:28.522] [D] [zway] RECEIVED: ( 01 04 01 13 01 E8 )
[2015-02-09 19:41:28.523] [D] [zway] SENT ACK
[2015-02-09 19:41:28.525] [zway] Job 0x13 (MultiCmd, SwitchMultilevel Set, SwitchMultilevel Get): Response received - transfered to encapsulated jobs
[2015-02-09 19:41:28.526] [D] [zway] Delivered to Z-Wave stack
[2015-02-09 19:41:28.527] [D] [zway] Delivered to Z-Wave stack
[2015-02-09 19:41:28.528] [D] [zway] Delivered to Z-Wave stack
[2015-02-09 19:41:28.537] [D] [zway] RECEIVED: ( 01 05 00 13 45 00 AC )
[2015-02-09 19:41:28.539] [D] [zway] SENT ACK
[2015-02-09 19:41:28.540] [zway] Job 0x13 (MultiCmd, SwitchMultilevel Set, SwitchMultilevel Get): Callback received - transfered to encapsulated jobs
[2015-02-09 19:41:28.541] [zway] Job 0x13 (SwitchMultilevel Set): Delivered
[2015-02-09 19:41:28.543] [D] [zway] SendData Response with callback 0x45 received: received by recipient
[2015-02-09 19:41:28.544] [D] [zway] Job 0x13 (SwitchMultilevel Set): success
[2015-02-09 19:41:28.545] [zway] Removing job: SwitchMultilevel Set
[2015-02-09 19:41:28.546] [zway] Job 0x13 (SwitchMultilevel Get): Delivered
[2015-02-09 19:41:28.547] [D] [zway] SendData Response with callback 0x45 received: received by recipient
[2015-02-09 19:41:28.553] [D] [zway] Job 0x13 (SwitchMultilevel Get): success
[2015-02-09 19:41:28.554] [zway] Removing job: SwitchMultilevel Get
[2015-02-09 19:41:28.555] [zway] Job 0x13 (MultiCmd, SwitchMultilevel Set, SwitchMultilevel Get): Delivered
[2015-02-09 19:41:28.557] [D] [zway] SETDATA devices.32.data.lastPacketInfo.delivered = True
[2015-02-09 19:41:28.558] [D] [zway] SETDATA devices.32.data.lastPacketInfo.packetLength = 17 (0x00000011)
[2015-02-09 19:41:28.559] [D] [zway] SETDATA devices.32.data.lastPacketInfo.deliveryTime = 27 (0x0000001b)
[2015-02-09 19:41:28.560] [D] [zway] SETDATA devices.32.data.lastPacketInfo = **********
[2015-02-09 19:41:28.562] [D] [zway] SendData Response with callback 0x45 received: received by recipient
[2015-02-09 19:41:28.563] [D] [zway] SETDATA devices.32.data.lastSend = 1828932 (0x001be844)
[2015-02-09 19:41:28.564] [D] [zway] Job 0x13 (MultiCmd, SwitchMultilevel Set, SwitchMultilevel Get): success
[2015-02-09 19:41:28.565] [I] [zway] Removing job: MultiCmd, SwitchMultilevel Set, SwitchMultilevel Get
[2015-02-09 19:41:30.574] [D] [zway] RECEIVED: ( 01 0C 00 04 00 20 06 31 05 04 22 00 66 A5 )
[2015-02-09 19:41:30.575] [D] [zway] SENT ACK
-- Job Queue
View Job Queue
Legend
n = Send count, W = Wait wakeup, S = Wait security, E = Encapsulated, D = Done, U = Urgent
n U W S E D Ack Resp Cbk Timeout NodeId Description Progress Buffer
1 W - - - 0.20 7 Wakeup Sleep No callback received before timeout
Cancelling 7 2 84 8 5
1 W - - - 0.20 17 Wakeup Sleep No callback received before timeout
Cancelling 11 2 84 8 5
1 E D - + + 18.45 32 SwitchMultilevel Set Delivered 20 7 60 d 0 1 26 1 63 25
1 E D - + + 18.45 32 SwitchMultilevel Get Delivered 20 6 60 d 0 1 26 2 25
1 D + + + 18.45 32 MultiCmd, SwitchMultilevel Set, SwitchMultilevel Get Response received - transfered to encapsulated jobs
Callback received - transfered to encapsulated jobs
Delivered 20 e 60 d 0 1 8f 1 2 3 26 1 63 2 26 2 25
Queue length: 5
Razberry can no longer control switches (Encapsulated?)
Re: Razberry can no longer control switches (Encapsulated?)
If I am right, the encapsulated job is used to manage Multi_cmd command responses (in your log there are Set and Get command that are sent at the same time as Multi_cmd)
What device model do you use?
Does your device support multi_cmd command class (I suppose it can be checked in Expert UI)?
Can you control your switch in Configuration->Expert Commands in Expert UI?
What device model do you use?
Does your device support multi_cmd command class (I suppose it can be checked in Expert UI)?
Can you control your switch in Configuration->Expert Commands in Expert UI?
Razberry B+ 2.0.1-rc25 on ZW500 + 15 devices / Razberry B 2.0.1-rc25 on ZW300 for test
Re: Razberry can no longer control switches (Encapsulated?)
Delivery of the command seems to work perfectly fine.
The only thing is, you're sending SwitchMultilevel commands to a non-default instance (1), so I'm not sure if it is okay with your devices. Compare it with the instance receiving status updates when operating from keypad to make sure it is a correct one.
Encapsulated flag is just a flag indicating the job is sent as a part of other job (MultiCmd in your case).
The only thing is, you're sending SwitchMultilevel commands to a non-default instance (1), so I'm not sure if it is okay with your devices. Compare it with the instance receiving status updates when operating from keypad to make sure it is a correct one.
Encapsulated flag is just a flag indicating the job is sent as a part of other job (MultiCmd in your case).
Re: Razberry can no longer control switches (Encapsulated?)
The number 32 device is a Fibaro RGBW. I can not find which classes it should support but my Command Class list in the expert GUI shows MultiCmd. Another device I have problem with is a Philio Tech Smart Energy Plug In Switch PAN11-1. The documentation does not mention MultiCmd but it is listed in the Command Class list in the expert GUI.
I tried the Expert command GUI as dolpheen suggested. Both Basic and SwitchMultilevel from the Expert command ends up as wrapped MultiCmd in the job queue.
Has something screwed up the config into thinking these devices support MultiCmd while they don't?
At the time I started having the problems I experimented with the SwitchControlGenerator. Could that have been the cause? I have removed the module now but the problems remain.
I tried the Expert command GUI as dolpheen suggested. Both Basic and SwitchMultilevel from the Expert command ends up as wrapped MultiCmd in the job queue.
Has something screwed up the config into thinking these devices support MultiCmd while they don't?
At the time I started having the problems I experimented with the SwitchControlGenerator. Could that have been the cause? I have removed the module now but the problems remain.
Re: Razberry can no longer control switches (Encapsulated?)
I just did a "Force Interview" on my two devices. The MultiCmd is no longer in the list of Command Classes and they started working.