Hank HKZW-MS02 Motion Sensor

I bought an motionsensor (Hank hkzw-ms02), but now I saw it’s not in the device list.
Can I still use this sensor? Or can I ask Vera to add this sensor?

I just started to work with my Vera so still have to learn a lot.
Thanks for the tips!

Try pairing it as a generic z-wave device. I just added a GE/Jasco switch today using that option.

Hello there Hank Multisensor HKZW-MS01, is already integrated into Vera but not sure what MS02 brings to the table. If it’s a new revision it might be added to Vera with future firmware updates.
Meantime, as suggested by Don Phillips, try to add it as generic sensor.

Thanks for the replys!

I added it as a generic device and after the pairing I get my selfnamed device and a _motionsensor. However if I make an easy scene: “if motionsensor is triggered switch fibarodimmer on” it doesn’t work. I also send this to the vera helpdesk, maybe they can help my out on further settings?

@Sorin: the MS02 is only a motionsensor. I hope they add it, seems a lot easier :wink:

Yesterday someone from Vera tried to get it to work, but it won’t…
But they said it will get included in the future. So I’ll just wait with this sensor.

Hello
Here is found on a French ste:
** On Vera: At inclusion two blocks are present, one in “MotionSensor” and the other in “Generic”. For this to work you have to go to the “Advanced” → “Settings” tab of both blocks and copy all the fields of the MotionSensor module into the Generic one.

This looks like it is the OEM for the Zooz ZS018 and seems like it should work with some manual configuration as @Rolling is referring to. I have a lot of various Hank sensors from various sources (Monoprice and Zooz mostly but also direct from Aliexpress) and though they are not officially supported, have had no problems with them.

Does this work? I couldn’t get it to work.

Hi @Sorin @Leonardo_Soto

I just paired one of these Hank HKZW-MS01 multi sensors to my Vera Plus.

However motion detection does not appear to be working at all.

The device has its own pairing wizard in the GUI which usually means its an officially supported device.

image

The first time I paired it to the controller I saw a Comm error S-1.

I then unpaired it and paired it again but much closer to the Vera controller. The second time I didn’t notice any Comm error S-1, but maybe I just missed it.

However looking in the NodeInfo variable on the parent device it looks to have been paired in NON Secure mode still. I don’t see any S’s.

image

The LUX sensor seems to be working however when I shine a torch at it.

The Temperature and Humidity child devices are also working and changing values.

Just zero motion detection.

Vera Plus is firmware version 1.7.5186 (7.31)

Device FirmwareInfo: 520,1536,49453

I also tried setting up a direct Z-Wave Association Group (2) and added in a light for Basic Set ON / OFF commands. I was able to do this OK in the Vera UI7 GUI. However seems motion detection is definitely not working as my association light never turned ON.

These are the devices Capabilities as listed in the GUI (values in decimal)

83,156,1,4,7,1,R,B,RS,|49:5,89,90,94,112,113:5,114,115,122,128,132:2,133,134,

Looking at this wiki page here about the Z-Wave Command Classes this device has the following:

49 - COMMAND_CLASS_SENSOR_MULTILEVEL_V2
89 - COMMAND_CLASS_ASSOCIATION_GRP_INFO
90 - COMMAND_CLASS_DEVICE_RESET_LOCALLY
94 - COMMAND_CLASS_ZWAVEPLUS_INFO
112 - COMMAND_CLASS_CONFIGURATION_V2
113 - COMMAND_CLASS_ALARM
114 - COMMAND_CLASS_MANUFACTURER_SPECIFIC
115 - COMMAND_CLASS_POWERLEVEL
122 - COMMAND_CLASS_FIRMWARE_UPDATE_MD
128 - COMMAND_CLASS_BATTERY
132 - COMMAND_CLASS_WAKE_UP
133 - COMMAND_CLASS_ASSOCIATION
134 - COMMAND_CLASS_VERSION

NodeInfo - Command classes supported by this device (hexadecimal numbers)

31,59,5a,5e,70,71,72,73,7a,80,84,85,86

Hex - Dec
31 = 49 - COMMAND_CLASS_SENSOR_MULTILEVEL / MULTILEVEL_V2
59 = 89 - COMMAND_CLASS_ASSOCIATION_GRP_INFO
5a = 90 - COMMAND_CLASS_DEVICE_RESET_LOCALLY
5e = 94 - COMMAND_CLASS_ZWAVEPLUS_INFO
70 = 112 - COMMAND_CLASS_CONFIGURATION_V2
71 = 113 - COMMAND_CLASS_ALARM
72 = 114 - COMMAND_CLASS_MANUFACTURER_SPECIFIC
73 = 115 - COMMAND_CLASS_POWERLEVEL
7a = 122 - COMMAND_CLASS_FIRMWARE_UPDATE_MD
80 = 128 - COMMAND_CLASS_BATTERY
84 = 132 - COMMAND_CLASS_WAKE_UP / WAKE_UP_V2
85 = 133 - COMMAND_CLASS_ASSOCIATION / ASSOCIATION_V2
86 = 134 - COMMAND_CLASS_VERSION

Never knew Capabilities and NodeInfo are the same thing, until I just wrote that out.

There are also problems with this device when paired to an Ezlo Plus controller, it does detect motion once and then gets stuck in the tripped state and never becomes un-tripped.

Somethings I am seeing in the log for this Hank MultiSensor

NodeID = 137
Device ID = 733

ZWaveJobHandler::FindCustomDeviceType node 137/ has custom 6541 file D_MotionSensor1.xml/ class  desc Multisensor clone 0 <0x76678520>
02	07/12/21 22:30:54.805	ZWaveNode::GetCustomZWaveNode bad node 137 class  <0x76678520>
02	07/12/21 22:30:54.805	ZWaveNode::GetZWaveNode node 137 unknown generic 7 basic 4 specific 1 template D_MotionSensor1.xml <0x76678520>
02	07/12/21 22:30:54.806	Device_Basic::m_eConfigured_set device 733 was 1 now 0 zw assoc <0x76678520>
06	07/12/21 22:30:54.806	Device_Variable::m_szValue_set device: 733 service: urn:micasaverde-com:serviceId:HaDevice1 variable: Configured was: 1 now: 0 #hooks: 0 upnp: 0 skip: 0 v:0x107e3b0/NONE duplicate:0 <0x76678520>
02	07/12/21 22:30:54.808	ZWaveNode::GetZWaveNode node 137 unknown generic 7 basic 4 specific 1 template D_TemperatureSensor1.xml <0x76678520>
02	07/12/21 22:30:54.809	ZWaveNode::UpdateCommandClasses node 137 empty -- -- <0x76678520>
02	07/12/21 22:30:54.809	ZWaveNode::GetZWaveNode node 137 unknown generic 7 basic 4 specific 1 template D_LightSensor1.xml <0x76678520>
02	07/12/21 22:30:54.809	ZWaveNode::UpdateCommandClasses node 137 empty -- -- <0x76678520>
02	07/12/21 22:30:54.810	ZWaveNode::GetZWaveNode node 137 unknown generic 7 basic 4 specific 1 template D_HumiditySensor1.xml <0x76678520>
02	07/12/21 22:30:54.811	ZWaveNode::UpdateCommandClasses node 137 empty -- -- <0x76678520>
Device_Basic::m_eConfigured_set device 733 was 0 now -1 un2 <0x76678520>
06	07/12/21 22:30:54.874	Device_Variable::m_szValue_set device: 733 service: urn:micasaverde-com:serviceId:HaDevice1 variable: Configured was: 0 now: -1 #hooks: 0 upnp: 0 skip: 0 v:0x107e3b0/NONE duplicate:0 <0x76678520>
02	07/12/21 22:30:54.876	ZWaveJobHandler::UpdateNodes not configuring node 137 because it's not listening <0x76678520>
09	07/12/21 22:30:54.877	ZWaveJobHandler::UpdateNodes node 137 dev 733 pnp 6541 Device_NumTemplate D_MotionSensor1.xml type ZWaveNode  Room 0 auto-conf -1 cap 0x53 sec 0x9c res 0x1 bas 0x4 gen 0x7 spe 0x1 config -1 secure 0 Hank Multisensor classes 31,59,5a,5e,70,71,72,73,7a,80,84,85,86, mfr: Hank/HKZW-MS01 mfr: 0x208 prodtype: 0x200 prodid: 0x6 notlistening: 1 list:0 rout:1 beam:1 rtsl:1 sec:0 1k:0 250:0 <0x76678520>
JobHandler_LuaUPnP::Run device 733 ptr 0xf33180 Hank Multisensor room 0 type urn:schemas-micasaverde-com:device:MotionSensor:1 cat 4:3 id 137 parent 1/0x1072000 upnp: 0 plugin:0 pnp:6541 mac: ip: <0x7792b320>
ZWaveJobHandler::FindCustomDeviceType node 137/ has custom 6541 file D_MotionSensor1.xml/ class  desc Multisensor clone 0 <0x76c78520>
09	07/12/21 22:30:58.209	ZWaveJobHandler::FindCustomDeviceType node 137 had none <0x76c78520>
09	07/12/21 22:30:58.210	ZWaveJobHandler::FindCustomDeviceType node 137 had none <0x76c78520>
09	07/12/21 22:30:58.211	ZWaveJobHandler::FindCustomDeviceType node 137 had none <0x76c78520>

Tamper

ZWaveNode::HandlePollUpdate_Alarm node 137 device 733 v1type: 0 v1level: 0 source: 0 status: 255 type: 7 event: 3 parms_len: 0 parms: 0 code: TAMPER_ALARM <0x76c78520>
06	07/12/21 22:31:22.979	Device_Variable::m_szValue_set device: 733 service: urn:micasaverde-com:serviceId:HaDevice1 variable: sl_Alarm was: TAMPER_ALARM now: TAMPER_ALARM #hooks: 0 upnp: 0 skip: 0 v:0x107e858/SL_ALARM duplicate:0 <0x76c78520>
ZWaveNode::HandlePollUpdate_Alarm node 137 device 733 v1type: 0 v1level: 0 source: 0 status: 255 type: 7 event: 3 parms_len: 0 parms: 0 code: (null) <0x76c78520>
	ZWaveJobHandler::FindCustomDeviceType node 137/ has custom 6541 file D_MotionSensor1.xml/ class  desc Multisensor clone 0 <0x76678520>
06	07/12/21 22:31:35.500	Device_Variable::m_szValue_set device: 733 service: urn:micasaverde-com:serviceId:ZWaveDevice1 variable: PollSettings was: 0 now: 0 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x76678520>
06	07/12/21 22:31:35.501	Device_Variable::m_szValue_set device: 733 service: urn:micasaverde-com:serviceId:ZWaveDevice1 variable: Capabilities was: 83,156,1,4,7,1,R,B,RS,|49:5,89,90,94,112,113:5,114,115,122,128,132:2,133,134, now: 83,156,1,4,7,1,R,B,RS,|49:5,89,90,94,112,113:5,114,115,122,128,132:2,133,134, #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x76678520>
06	07/12/21 22:31:35.504	Device_Variable::m_szValue_set device: 733 service: urn:micasaverde-com:serviceId:ZWaveDevice1 variable: VersionInfo was: 3,4,38,1,6 now: 3,4,38,1,6 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x76678520>
06	07/12/21 22:31:35.505	Device_Variable::m_szValue_set device: 733 service: urn:micasaverde-com:serviceId:ZWaveDevice1 variable: ManufacturerInfo was: 520,512,6 now: 520,512,6 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x76678520>
06	07/12/21 22:31:35.505	Device_Variable::m_szValue_set device: 733 service: urn:micasaverde-com:serviceId:ZWaveDevice1 variable: Neighbors was: 1,5,12,28,31,32,33,38,40,44,45,47,56,58,72,111,122,134, now: 1,5,12,28,31,32,33,38,40,44,45,47,56,58,72,111,122,134, #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x76678520>
06	07/12/21 22:31:35.506	Device_Variable::m_szValue_set device: 733 service: urn:micasaverde-com:serviceId:ZWaveDevice1 variable: LastReset was: 1626120042 now: 1626120042 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x76678520>
06	07/12/21 22:31:35.506	Device_Variable::m_szValue_set device: 733 service: urn:micasaverde-com:serviceId:ZWaveDevice1 variable: AssociationNum was: 2 now: 2 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x76678520>

got CAN

Device_Variable::m_szValue_set device: 733 service: urn:micasaverde-com:serviceId:HaDevice1 variable: sl_TamperAlarm was: 1 now: 1 #hooks: 0 upnp: 0 skip: 0 v:0x107f388/SL_TAMPERALARM duplicate:0 <0x76c78520>
06	07/12/21 22:31:38.646	Device_Variable::m_szValue_set device: 733 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: LastTamper was: 1626125482 now: 1626125498 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x76c78520>
02	07/12/21 22:31:38.909	ZWaveNode::HandlePollUpdate_Alarm node 137 device 733 v1type: 0 v1level: 0 source: 0 status: 255 type: 7 event: 3 parms_len: 0 parms: 0 code: TAMPER_ALARM <0x76c78520>
06	07/12/21 22:31:38.909	Device_Variable::m_szValue_set device: 733 service: urn:micasaverde-com:serviceId:HaDevice1 variable: sl_Alarm was: TAMPER_ALARM now: TAMPER_ALARM #hooks: 0 upnp: 0 skip: 0 v:0x107e858/SL_ALARM duplicate:0 <0x76c78520>
02	07/12/21 22:31:38.910	ZWJob_PollNode::ReceivedFrame HandlePollUpdate failed job job#12 :pollnode_conf #137 dev:733 (0x1bf2948) N:137 P:40 S:5 Id: 12 got after 1 seconds FUNC_ID_APPLICATION_COMMAND_HANDLER node info for 137 status 0 data 0x0 0x0 0x0 0xff 0x7 0x3 0x0 0x0 (########) <0x76c78520>
12	07/12/21 22:31:38.914	luvd_get_info_data_request starting /data_request?id=status&DataVersion=125443651&Timeout=15&MinimumDelay=100&output_format=json&_r=1626125498923 pMem 0x2af6000/45047808 diff: 33656832 <0x6ce58520>
06	07/12/21 22:31:38.930	Device_Variable::m_szValue_set device: 737 service: urn:upnp-org:serviceId:TemperatureSensor1 variable: CurrentTemperature was: 22.90 now: 22.90 #hooks: 0 upnp: 0 skip: 0 v:0x10aadd8/NONE duplicate:1 <0x76c78520>
01	07/12/21 22:31:38.962	got CAN <0x76278520>
02	07/12/21 22:31:38.962	ZWaveSerial::Send m_iFrameID 207 got a CAN -- Dongle is in a bad state.  Wait 1 second before continuing to let it try to recover. <0x76678520>
12	07/12/21 22:31:39.000	luvd_get_info_data_request starting /data_request?id=status2&LoadTime=1626125443&DataVersion=125443651&Timeout=40&MinimumDelay=0 pMem 0x2af6000/45047808 diff: 33656832 <0x6cb81520>
12	07/12/21 22:31:39.002	luvd_get_info_data_request starting /data_request?id=status2&LoadTime=1626125443&DataVersion=125443651&Timeout=40&MinimumDelay=0 pMem 0x2af6000/45047808 diff: 33656832 <0x6da1c520>
12	07/12/21 22:31:39.004	luvd_get_info_data_request starting /data_request?id=status2&LoadTime=1626125443&DataVersion=125443651&Timeout=40&MinimumDelay=0 pMem 0x2af6000/45047808 diff: 33656832 <0x6df44520>
12	07/12/21 22:31:39.011	luvd_get_info_data_request starting /data_request?id=status2&LoadTime=1626125443&DataVersion=125443651&Timeout=40&MinimumDelay=0 pMem 0x2af6000/45047808 diff: 33656832 <0x6e344520>
12	07/12/21 22:31:39.011	luvd_get_info_data_request starting /data_request?id=status2&LoadTime=1626125443&DataVersion=125443651&Timeout=40&MinimumDelay=0 pMem 0x2af6000/45047808 diff: 33656832 <0x6d81c520>
12	07/12/21 22:31:39.019	luvd_get_info_data_request starting /data_request?id=status2&LoadTime=1626125443&DataVersion=125443651&Timeout=40&MinimumDelay=0 pMem 0x2af6000/45047808 diff: 33656832 <0x6d21c520>
12	07/12/21 22:31:39.122	luvd_get_info_data_request starting /data_request?id=status&DataVersion=125443654&Timeout=15&MinimumDelay=100&output_format=json&_r=1626125499128 pMem 0x2af6000/45047808 diff: 33656832 <0x6dc1c520>
12	07/12/21 22:31:39.226	luvd_get_info_data_request starting /data_request?id=lu_status2&output_format=json&Timeout=60&DataVersion=125443650 pMem 0x2af6000/45047808 diff: 33656832 <0x6d41c520>
12	07/12/21 22:31:39.305	luvd_get_info_data_request starting /data_request?id=status2&LoadTime=1626125443&DataVersion=125443654&Timeout=40&MinimumDelay=0 pMem 0x2af6000/45047808 diff: 33656832 <0x6ce58520>
12	07/12/21 22:31:39.494	luvd_get_info_data_request starting /data_request?id=status2&LoadTime=1626125443&DataVersion=125443654&Timeout=40&MinimumDelay=0 pMem 0x2af6000/45047808 diff: 33656832 <0x6e344520>
12	07/12/21 22:31:39.652	luvd_get_info_data_request starting /data_request?id=status2&LoadTime=1626125443&DataVersion=125443654&Timeout=40&MinimumDelay=0 pMem 0x2af6000/45047808 diff: 33656832 <0x6cb81520>
12	07/12/21 22:31:39.769	luvd_get_info_data_request starting /data_request?id=status2&LoadTime=1626125443&DataVersion=125443654&Timeout=40&MinimumDelay=0 pMem 0x2af6000/45047808 diff: 33656832 <0x6d61c520>
01	07/12/21 22:31:39.798	ZWJob_PollNode::ReceivedFrame job job#12 :pollnode_conf #137 dev:733 (0x1bf2948) N:137 P:40 S:5 Id: 12 got FUNC_ID_APPLICATION_COMMAND_HANDLER node info expected 137 got 133 <0x76c78520>
12	07/12/21 22:31:39.917	luvd_get_info_data_request starting /data_request?id=status2&LoadTime=1626125443&DataVersion=125443654&Timeout=40&MinimumDelay=0 pMem 0x2af6000/45047808 diff: 33656832 <0x6d21c520>
12	07/12/21 22:31:39.918	luvd_get_info_data_request starting /data_request?id=status2&LoadTime=1626125443&DataVersion=125443654&Timeout=40&MinimumDelay=0 pMem 0x2af6000/45047808 diff: 33656832 <0x6da1c520>
01	07/12/21 22:31:39.962	got CAN <0x76278520>
02	07/12/21 22:31:39.963	ZWaveSerial::Send m_iFrameID 213 got a CAN -- Dongle is in a bad state.  Wait 1 second before continuing to let it try to recover. <0x76c78520>
01	07/12/21 22:31:40.122	got CAN <0x76278520>
02	07/12/21 22:31:40.123	ZWaveSerial::Send m_iFrameID 213 got a CAN -- Dongle is in a bad state.  Wait 1 second before continuing to let it try to recover. <0x76c78520>
01	07/12/21 22:31:40.279	LuaInterface::CallFunction_Timer device 39 refreshCache took 10 seconds <0x75a78520>
06	07/12/21 22:31:40.310	Device_Variable::m_szValue_set device: 733 service: urn:micasaverde-com:serviceId:HaDevice1 variable: BatteryDate was: 1626125489 now: 1626125500 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x76c78520>
06	07/12/21 22:31:40.311	Device_Variable::m_szValue_set device: 733 service: urn:micasaverde-com:serviceId:HaDevice1 variable: BatteryLevel was: 89 now: 88 #hooks: 0 upnp: 0 skip: 0 v:0x107eac8/NONE duplicate:0 <0x76c78520>
04	07/12/21 22:31:40.313	<Job ID="12" Name="pollnode_conf #137 3 cmds" Device="733" Created="2021-07-12 22:31:35" Started="2021-07-12 22:31:36" Completed="2021-07-12 22:31:40" Duration="4.812609000" Runtime="3.367754000" Status="Successful" LastNote="" Node="137" NodeType="ZWaveNode" NodeDescription="Hank Multisensor"/> <0x76c78520>
06	07/12/21 22:31:40.314	Device_Variable::m_szValue_set device: 733 service: urn:micasaverde-com:serviceId:HaDevice1 variable: PollRatings was: 5.00 now: 5.00 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x76c78520>
06	07/12/21 22:31:40.318	Device_Variable::m_szValue_set device: 733 service: urn:micasaverde-com:serviceId:ZWaveNetwork1 variable: LastPollSuccess was: 1626125496 now: 1626125500 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x76c78520>
01	07/12/21 22:31:40.348	LuaInterface::CallFunction_Timer device 38 refreshCache took 10 seconds <0x75c78520>
06	07/12/21 22:31:40.531	Device_Variable::m_szValue_set device: 733 service: urn:micasaverde-com:serviceId:ZWaveNetwork1 variable: ConsecutivePollFails was: 0 now: 0 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x76c78520>
Device_Variable::m_szValue_set device: 733 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: Tripped was: 0 now: 0 #hooks: 0 upnp: 0 skip: 0 v:0x1117db0/NONE duplicate:0 <0x76c78520>
01	07/12/21 22:32:23.502	ZWaveNode::HandlePollUpdate_Alarm node 137 device 733 v1type: 0 v1level: 0 source: 0 status: 255 type: 7 event: 0 parms_len: 1 parms: 3 code: (null) <0x76c78520>
01	07/12/21 22:32:23.503	ZWaveNode::HandlePollUpdate_Alarm node 137 device 733 v1type: 0 v1level: 0 source: 0 status: 255 type: 7 event: 0 parms_len: 1 parms: 3 code: (null) <0x76c78520>	

The HKZW-MS01 is working on USB power on the both the Vera Plus and Ezlo Plus controllers. Trips and untrips OK.

But the motion sensor doesn’t work when it’s on batteries.

Looks like a device firmware bug and Hank don’t seem willing to fix it now, from what they have said to an Ezlo representative.

Hello @cw-kid

This might seems a little simple but you can try to remove the tripped (or any trip) variable present on the sensor and try to re-add them.

Also check if just by waving your hand in front of the motion sensor you are getting any replies from it and receiving any encrypted data life 0x00 or 0xff, maybe with such information, we can try to force the device to change that ‘tripped’ variable.

Hi Leonardo

I hope you are well.

I could try that when the device is paired to the Vera Plus.

I have no idea how to do that when its paired to the Ezlo Plus however due to the lack of lots of settings and GUI interfaces.

On the Vera Plus. where would I look / see that data? Which area of the GUI ? Or would it be in the LuaUpnp log ?

Thanks

exactly I have contacted with Hank rep over WeChat and they said that they are not selling this devices a lot so they have stopped development. They focused on zwave 700 series development. They accept that their motion sensor has bug. I tried to get new firmware for the device itself so e could do OTA update. But so far we have no luck for this device

Here’s the full log of one motion sensor being tripped.

24 07/13/21 5:51:19.475 ZWaveJobHandler::DoReceivedFrame m_iFrameID 61 gwf_ach node 12 command 0x4 data <0x76b46520>
24 07/13/21 5:51:19.476 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x56 command 0x1 m_iFrameID 61/12498600 data 0x9c 0x2 0xc 0x0 0xff 0x0 0x0 0xc4 0x92 (#########) <0x76b46520>
24 07/13/21 5:51:19.477 ZWaveNode::HandlePollUpdate_CRC16Encap node 12 device 21 data 0x56 0x1 0x9c 0x2 0xc 0x0 0xff 0x0 0x0 0xc4 0x92 (V##########) <0x76b46520>
24 07/13/21 5:51:19.488 ZWaveJobHandler::DoReceivedFrame m_iFrameID 62 crc16 node 12 command 0x4 data <0x76b46520>
24 07/13/21 5:51:19.488 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x9c command 0x2 m_iFrameID 62/15351312 data 0xc 0x0 0xff 0x0 0x0 (#####) <0x76b46520>
24 07/13/21 5:51:19.488 ZWaveNode::HandlePollUpdate_Sensor_Alarm_Report node 12 device 21 type 0 state 255 seconds 0 poll 0 <0x76b46520>
06 07/13/21 5:51:19.489 Device_Variable::m_szValue_set device: 21 service: urn:micasaverde-com:serviceId:HaDevice1 variable: sl_TamperAlarm was: EMPTY now: 1 #hooks: 0 upnp: 0 skip: 0 v:0xc5d880/SL_TAMPERALARM duplicate:0 <0x76b46520>
10 07/13/21 5:51:19.491 Device_Variable::m_szValue_set device: 21 service: urn:micasaverde-com:serviceId:HaDevice1 variable: sl_TamperAlarm value: 1 sending alert 0xc651e8 <0x76b46520>
06 07/13/21 5:51:19.495 Device_Variable::m_szValue_set device: 21 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: LastTamper was: EMPTY now: 1626180679 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x76b46520>
24 07/13/21 5:51:19.575 ZWaveJobHandler::DoReceivedFrame m_iFrameID 63 gwf_ach node 12 command 0x4 data <0x76b46520>
24 07/13/21 5:51:19.576 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x9c command 0x2 m_iFrameID 63/17182208 data 0xc 0x0 0xff 0x0 0x0 (#####) <0x76b46520>
24 07/13/21 5:51:19.576 ZWaveNode::HandlePollUpdate_Sensor_Alarm_Report node 12 device 21 type 0 state 255 seconds 0 poll 0 <0x76b46520>
24 07/13/21 5:51:19.627 ZWaveJobHandler::DoReceivedFrame m_iFrameID 64 gwf_ach node 12 command 0x4 data <0x76b46520>
24 07/13/21 5:51:19.628 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x56 command 0x1 m_iFrameID 64/17632696 data 0x30 0x3 0xff 0xd1 0xcb (0####) <0x76b46520>
24 07/13/21 5:51:19.628 ZWaveNode::HandlePollUpdate_CRC16Encap node 12 device 21 data 0x56 0x1 0x30 0x3 0xff 0xd1 0xcb (V#0####) <0x76b46520>
24 07/13/21 5:51:19.629 ZWaveJobHandler::DoReceivedFrame m_iFrameID 65 crc16 node 12 command 0x4 data <0x76b46520>
24 07/13/21 5:51:19.630 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x30 command 0x3 m_iFrameID 65/17787792 data 0xff (#) <0x76b46520>
24 07/13/21 5:51:19.630 ZWaveNode::SetTripped node 12 device 21 now is 1 was 0 at 1626180538. filtering 0 <0x76b46520>
35 07/13/21 5:51:19.630 Device_Basic::ProcessTripAlarm device 21 now is 1 was 0 last time in this state 1626180538, now 1626180679, ingore time 2 filtering 0, Silent 0 <0x76b46520>
35 07/13/21 5:51:19.630 Device_Basic::ProcessTripAlarm device 21 Filtering 0, Silent 0 armed 0, Trip 1 <0x76b46520>
06 07/13/21 5:51:19.631 Device_Variable::m_szValue_set device: 21 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: LastTrip was: 1626180538 now: 1626180679 #hooks: 0 upnp: 0 skip: 0 v:0xcb0670/NONE duplicate:0 <0x76b46520>
06 07/13/21 5:51:19.633 Device_Variable::m_szValue_set device: 21 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: Tripped was: 0 now: 1 #hooks: 0 upnp: 0 skip: 0 v:0xcb0540/NONE duplicate:0 <0x76b46520>
35 07/13/21 5:51:19.634 Device_Basic::ProcessSensorTrip device: 21 ignore !1:DC*;2:DC*;3:DC*;4:DC*/1 armed:0 <0x76b46520>
24 07/13/21 5:51:19.634 ZWaveNode::HandlePollUpdate_Sensor_Binary_Report node 12 device 21 set trip to 1 result 1 <0x76b46520>
24 07/13/21 5:51:19.676 ZWaveJobHandler::DoReceivedFrame m_iFrameID 66 gwf_ach node 12 command 0x4 data <0x76b46520>
24 07/13/21 5:51:19.676 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x20 command 0x1 m_iFrameID 66/12916536 data 0xff (#) <0x76b46520>
24 07/13/21 5:51:19.676 ZWaveNode::HandlePollUpdate_Basic_Set basic_set node 12 device 21 value 255 <0x76b46520>
24 07/13/21 5:51:19.677 ZWaveNode::SetTripped node 12 device 21 now is 1 was 1 at 1626180679. filtering 1 <0x76b46520>
35 07/13/21 5:51:19.677 Device_Basic::ProcessTripAlarm device 21 now is 1 was 1 last time in this state 1626180679, now 1626180679, ingore time 2 filtering 1, Silent 0 <0x76b46520>
35 07/13/21 5:51:19.677 Device_Basic::ProcessTripAlarm device 21 Filtering 1, Silent 0 armed 0, Trip 1 <0x76b46520>
24 07/13/21 5:51:23.184 ZWaveJobHandler::DoReceivedFrame m_iFrameID 67 gwf_ach node 12 command 0x4 data <0x76b46520>
24 07/13/21 5:51:23.184 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x56 command 0x1 m_iFrameID 67/16052824 data 0x31 0x5 0x3 0xa 0x0 0x45 0x1f 0xf0 (1##\n#E##) <0x76b46520>
24 07/13/21 5:51:23.185 ZWaveNode::HandlePollUpdate_CRC16Encap node 12 device 21 data 0x56 0x1 0x31 0x5 0x3 0xa 0x0 0x45 0x1f 0xf0 (V#1##\n#E##) <0x76b46520>
24 07/13/21 5:51:23.196 ZWaveJobHandler::DoReceivedFrame m_iFrameID 68 crc16 node 12 command 0x4 data <0x76b46520>
24 07/13/21 5:51:23.196 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x31 command 0x5 m_iFrameID 68/17610912 data 0x3 0xa 0x0 0x45 (#\n#E) <0x76b46520>
24 07/13/21 5:51:23.208 ZWaveNode::HandlePollUpdate_SensorMultiLevel_MeterReport 0x31 node 12 device 21 child 12/23 cat 18 embed: 2 type 3 rate type 0 is 69.000000 was 333.000000 prec 0 sca 1 size 2 delta -1 previous -1.000000 len 4 <0x76b46520>
24 07/13/21 5:51:49.939 ZWaveJobHandler::DoReceivedFrame m_iFrameID 69 gwf_ach node 12 command 0x4 data <0x76b46520>
24 07/13/21 5:51:49.940 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x56 command 0x1 m_iFrameID 69/17391032 data 0x30 0x3 0x0 0xcf 0x3b (0###:wink: <0x76b46520>
24 07/13/21 5:51:49.941 ZWaveNode::HandlePollUpdate_CRC16Encap node 12 device 21 data 0x56 0x1 0x30 0x3 0x0 0xcf 0x3b (V#0###:wink: <0x76b46520>
24 07/13/21 5:51:49.952 ZWaveJobHandler::DoReceivedFrame m_iFrameID 70 crc16 node 12 command 0x4 data <0x76b46520>
24 07/13/21 5:51:49.952 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x30 command 0x3 m_iFrameID 70/17376784 data 0x0 (#) <0x76b46520>
24 07/13/21 5:51:49.952 ZWaveNode::SetTripped node 12 device 21 now is 0 was 1 at 1626180679. filtering 0 <0x76b46520>
35 07/13/21 5:51:49.952 Device_Basic::ProcessTripAlarm device 21 now is 0 was 1 last time in this state 1626180679, now 1626180709, ingore time 2 filtering 0, Silent 0 <0x76b46520>
35 07/13/21 5:51:49.953 Device_Basic::ProcessTripAlarm device 21 Filtering 0, Silent 0 armed 0, Trip 0 <0x76b46520>
06 07/13/21 5:51:49.953 Device_Variable::m_szValue_set device: 21 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: LastTrip was: 1626180679 now: 1626180709 #hooks: 0 upnp: 0 skip: 0 v:0xcb0670/NONE duplicate:0 <0x76b46520>
06 07/13/21 5:51:49.966 Device_Variable::m_szValue_set device: 21 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: Tripped was: 1 now: 0 #hooks: 0 upnp: 0 skip: 0 v:0xcb0540/NONE duplicate:0 <0x76b46520>
24 07/13/21 5:51:49.980 ZWaveNode::HandlePollUpdate_Sensor_Binary_Report node 12 device 21 set trip to 0 result 1 <0x76b46520>
24 07/13/21 5:51:50.002 ZWaveJobHandler::DoReceivedFrame m_iFrameID 71 gwf_ach node 12 command 0x4 data <0x76b46520>
24 07/13/21 5:51:50.002 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x20 command 0x1 m_iFrameID 71/13127496 data 0x0 (#) <0x76b46520>
24 07/13/21 5:51:50.002 ZWaveNode::HandlePollUpdate_Basic_Set basic_set node 12 device 21 value 0 <0x76b46520>
24 07/13/21 5:51:50.003 ZWaveNode::SetTripped node 12 device 21 now is 0 was 0 at 1626180709. filtering 1 <0x76b46520>
35 07/13/21 5:51:50.003 Device_Basic::ProcessTripAlarm device 21 now is 0 was 0 last time in this state 1626180709, now 1626180709, ingore time 2 filtering 1, Silent 0 <0x76b46520>
35 07/13/21 5:51:50.003 Device_Basic::ProcessTripAlarm device 21 Filtering 1, Silent 0 armed 0, Trip 0 <0x76b46520>
24 07/13/21 5:51:50.112 ZWaveJobHandler::DoReceivedFrame m_iFrameID 72 gwf_ach node 12 command 0x4 data <0x76b46520>
24 07/13/21 5:51:50.112 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x56 command 0x1 m_iFrameID 72/16267320 data 0x9c 0x2 0xc 0x0 0x0 0x0 0x0 0xb 0xf1 (#########) <0x76b46520>
24 07/13/21 5:51:50.113 ZWaveNode::HandlePollUpdate_CRC16Encap node 12 device 21 data 0x56 0x1 0x9c 0x2 0xc 0x0 0x0 0x0 0x0 0xb 0xf1 (V##########) <0x76b46520>
24 07/13/21 5:51:50.124 ZWaveJobHandler::DoReceivedFrame m_iFrameID 73 crc16 node 12 command 0x4 data <0x76b46520>
24 07/13/21 5:51:50.124 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x9c command 0x2 m_iFrameID 73/16269640 data 0xc 0x0 0x0 0x0 0x0 (#####) <0x76b46520>
24 07/13/21 5:51:50.124 ZWaveNode::HandlePollUpdate_Sensor_Alarm_Report node 12 device 21 type 0 state 0 seconds 0 poll 0 <0x76b46520>
06 07/13/21 5:51:50.125 Device_Variable::m_szValue_set device: 21 service: urn:micasaverde-com:serviceId:HaDevice1 variable: sl_TamperAlarm was: 1 now: 0 #hooks: 0 upnp: 0 skip: 0 v:0xc5d880/SL_TAMPERALARM duplicate:0 <0x76b46520>

Where you can see the command classes 0x30 setting up the trip variable to 1 when the data is 0xff and the trip variable goes to 0 when the data is 0x00

Here’s a shorter version where you can see it going to value 1 and 0 with the data being interpreted by the controller, the command classes you could track are 0x9c and 0x30.

24 07/13/21 5:51:19.488 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x9c command 0x2 m_iFrameID 62/15351312 data 0xc 0x0 0xff 0x0 0x0 (#####) <0x76b46520>
24 07/13/21 5:51:19.628 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x56 command 0x1 m_iFrameID 64/17632696 data 0x30 0x3 0xff 0xd1 0xcb (0####) <0x76b46520>
24 07/13/21 5:51:19.629 ZWaveJobHandler::DoReceivedFrame m_iFrameID 65 crc16 node 12 command 0x4 data <0x76b46520>
24 07/13/21 5:51:19.630 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x30 command 0x3 m_iFrameID 65/17787792 data 0xff (#) <0x76b46520>
24 07/13/21 5:51:19.630 ZWaveNode::SetTripped node 12 device 21 now is 1 was 0 at 1626180538. filtering 0 <0x76b46520>
35 07/13/21 5:51:19.630 Device_Basic::ProcessTripAlarm device 21 now is 1 was 0 last time in this state 1626180538, now 1626180679, ingore time 2 filtering 0, Silent 0 <0x76b46520>
<0x76b46520>

06 07/13/21 5:51:19.633 Device_Variable::m_szValue_set device: 21 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: Tripped was: 0 now: 1 #hooks: 0 upnp: 0 skip: 0 v:0xcb0540/NONE duplicate:0 <0x76b46520>

24 07/13/21 5:51:49.940 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x56 command 0x1 m_iFrameID 69/17391032 data 0x30 0x3 0x0 0xcf 0x3b (0###:wink: <0x76b46520>
24 07/13/21 5:51:49.952 ZWaveJobHandler::DoReceivedFrame m_iFrameID 70 crc16 node 12 command 0x4 data <0x76b46520>
24 07/13/21 5:51:49.952 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x30 command 0x3 m_iFrameID 70/17376784 data 0x0 (#) <0x76b46520>
24 07/13/21 5:51:49.952 ZWaveNode::SetTripped node 12 device 21 now is 0 was 1 at 1626180679. filtering 0 <0x76b46520>

06 07/13/21 5:51:49.966 Device_Variable::m_szValue_set device: 21 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: Tripped was: 1 now: 0 #hooks: 0 upnp: 0 skip: 0 v:0xcb0540/NONE duplicate:0 <0x76b46520>
24 07/13/21 5:51:49.980 ZWaveNode::HandlePollUpdate_Sensor_Binary_Report node 12 device 21 set trip to 0 result 1 <0x76b46520>

24 07/13/21 5:51:50.112 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x56 command 0x1 m_iFrameID 72/16267320 data 0x9c 0x2 0xc 0x0 0x0 0x0 0x0 0xb 0xf1 (#########) <0x76b46520>

24 07/13/21 5:51:50.124 ZWaveJobHandler::DoReceivedFrame m_iFrameID 73 crc16 node 12 command 0x4 data <0x76b46520>
24 07/13/21 5:51:50.124 ZWaveNode::HandlePollUpdate node 12 device 21 class 0x9c command 0x2 m_iFrameID 73/16269640 data 0xc 0x0 0x0 0x0 0x0 (#####) <0x76b46520>

I believe you can probably trace the log and if your’s is transmitting something similar you might force the device to change its status.

Hope it was clear, otherwise let me know!

My logs don’t look as detailed aa yours.

For example if I search for “ZWaveNode::SetTripped” I don’t find any.

However I can search for just “Tripped” and find the below.

I see this in the logs when the motion sensor is working and connected to USB power.

06	07/13/21 17:12:25.122	Device_Variable::m_szValue_set device: 740 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: LastTrip was: 1626192629 now: 1626192745 #hooks: 0 upnp: 0 skip: 0 v:0x10be500/NONE duplicate:0 <0x76d78520>
06	07/13/21 17:12:25.124	Device_Variable::m_szValue_set device: 740 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: Tripped was: 0 now: 1 #hooks: 0 upnp: 0 skip: 0 v:0x10be3e0/NONE duplicate:0 <0x76d78520>
01	07/13/21 17:12:25.125	ZWaveNode::HandlePollUpdate_Alarm node 138 device 740 v1type: 0 v1level: 0 source: 0 status: 255 type: 7 event: 8 parms_len: 0 parms: 0 code: (null) <0x76d78520>
06	07/13/21 17:12:58.410	Device_Variable::m_szValue_set device: 740 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: LastTrip was: 1626192745 now: 1626192778 #hooks: 0 upnp: 0 skip: 0 v:0x10be500/NONE duplicate:0 <0x76d78520>
06	07/13/21 17:12:58.411	Device_Variable::m_szValue_set device: 740 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: Tripped was: 1 now: 0 #hooks: 0 upnp: 0 skip: 0 v:0x10be3e0/NONE duplicate:0 <0x76d78520>
01	07/13/21 17:12:58.654	ZWaveNode::HandlePollUpdate_Alarm node 138 device 740 v1type: 0 v1level: 0 source: 0 status: 255 type: 7 event: 0 parms_len: 1 parms: 8 code: (null) <0x76d78520>

When the device is powered by batteries which is when motion detection doesn’t work, I don’t see “Tripped” in the log at all.

You might need to enable verbose logging through SSH or the Web UI, here’s the command to do it through SSH.

root@MiOS_502XXXXX:~# VerboseLogging.sh enable

Maybe you can enable remote access and I can also check the logs, let me know when you do it if you choose to.

Just had confirmation from support (delayed response my fault) that their Hank Multi Sensor works fine paired to a Vera hub on batteries and motion detection works as expected. However the device they used had firmware version 1.7.

My problem device that only detects motion when on USB power and not when used with batteries is version 1.6.

Apparently its the last two digits on the versioninfo.

image

Hello all again, finally I was able to get the Firmware version 1.7 for Hank HKZW-MS01 Motion Sensor

please download it here and let me know your experience.

https://drive.google.com/file/d/1YDQZQcii74QiWY3e_UXzKfTZUD9rS4kP/view?usp=sharing