D-link DCH-Z120 PIR not resetting after detection

Hi all, I got a new d-link DCH-Z120 PIR + temp + luminance + tamper sensor
I added it to my z_wave network and it’s working

HA added all these sensors:

sensor.pir_camera_alarm_level 0 node_id: 4
value_index: 1
value_instance: 1
value_id: 72057594111082513
old_entity_id: sensor.pir_camera_alarm_level_4_1
new_entity_id: sensor.pir_camera_alarm_level
unit_of_measurement:
friendly_name: pir_camera Alarm Level
sensor.pir_camera_alarm_type 0 node_id: 4
value_index: 0
value_instance: 1
value_id: 72057594111082497
old_entity_id: sensor.pir_camera_alarm_type_4_0
new_entity_id: sensor.pir_camera_alarm_type
unit_of_measurement:
friendly_name: pir_camera Alarm Type
sensor.pir_camera_burglar 3 node_id: 4
value_index: 10
value_instance: 1
value_id: 72057594111082657
old_entity_id: sensor.pir_camera_burglar_4_10
new_entity_id: sensor.pir_camera_burglar
unit_of_measurement:
friendly_name: pir_camera Burglar
sensor.pir_camera_luminance 1.0 node_id: 4
value_index: 3
value_instance: 1
value_id: 72057594110033970
old_entity_id: sensor.pir_camera_luminance_4_3
new_entity_id: sensor.pir_camera_luminance
unit_of_measurement: %
friendly_name: pir_camera Luminance
sensor.pir_camera_sourcenodeid 0 node_id: 4
value_index: 2
value_instance: 1
value_id: 72057594111082529
old_entity_id: sensor.pir_camera_sourcenodeid_4_2
new_entity_id: sensor.pir_camera_sourcenodeid
unit_of_measurement:
friendly_name: pir_camera SourceNodeId
sensor.pir_camera_temperature 22.2 node_id: 4
value_index: 1
value_instance: 1
value_id: 72057594110033938
old_entity_id: sensor.pir_camera_temperature_4_1
new_entity_id: sensor.pir_camera_temperature
unit_of_measurement: °C
friendly_name: pir_camera Temperature

they’re all working, ad i have temp and luminance update each time it detect a move.

my problem is that once it detect a move HA sets sensor.pir_camera_burglar to 8 (motion detected) and never set it back to 3 (no motion)

how can i fix it? I read about a script to run after a detection. there are other more elegant solutions?

I’m running HASS 0.60.1 on pythin env under ubuntu 17 with a UZB.me Z-wave USB stick

thanks in advance

according to device documentation see here
it seems to be related to parameter 7, but I need your help to understand what are correct settings to get off state after some time of “no motion detected” (may be i just need to set it to “2” ?)

I set parameter 7 to “2”.

Things are going better, as the sensor is usually reporting “254”, then it switch to “8” when motion detected and after some seconds it switch back to “254”

the bad thing is that reset time is less than PIR Re-Detect Interval Time, if I keep moving in front of the sensor is dance from “8” to “254”. thats no good for automations that takes care of detection time. (like when someone is hangin’ around in my garden form more than 20 seconds trigger alarm)

I could lower parameter 8 “PIR Re-Detect Interval Time”, but I would prefer raise the reset time.
Any idea on how to manage this?

Hi There, I just connected one of these motion sensors to HA. I’m struggling with how to get the right settings for this sensor. If you got this to work, can you share your main settings with me. Mostly interested in the motion sensor settings. Thanks!

I have 3, all working as a charm.
You have two approaches, but I think best one is set parameter 7 to “22”.

set it in HA zwave control panel then wake up your sensor (press 4 times front or back button in 2 seconds) and wait some minutes

then refresh the node, amd wake up it again.
restart HA

Thanks for your help! Works!

To help others who have some of these laying around, I give this ol thread a revive. I wrestled with this same issue… I have quite some of these sensors, they were cheap, and work great, send temp motion an illumantion reports. They worked great in Domoticz. To get them to work in HA took some trial and error. As mentioned above I set parameter 7 to 22: which is 00010110 for bit 76543210 respectively. But that did not help. I had to manually enable the binary motion sensor (which was disabled by default in HA Zwave JS), now motion is reported fine via that sensor.