Skip to content

Commit

Permalink
Merge pull request OpenZWave#2406 from wauswaus/master
Browse files Browse the repository at this point in the history
Add new device Neo (Coolcam) NAS-PD03Z Motion Sensor
  • Loading branch information
nechry authored Oct 2, 2020
2 parents 189b905 + 6daeb79 commit b0afd4c
Show file tree
Hide file tree
Showing 2 changed files with 119 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/manufacturer_specific.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ManufacturerSpecificData Revision="121" xmlns="https://github.com/OpenZWave/open-zwave">
<ManufacturerSpecificData Revision="122" xmlns="https://github.com/OpenZWave/open-zwave">
<Manufacturer id="0028" name="2B Electronics"></Manufacturer>
<Manufacturer id="0098" name="2GIG Technologies">
<Product config="2gig/ct50e.xml" id="015e" name="CT50e Thermostat" type="3200"/>
Expand Down Expand Up @@ -1588,6 +1588,7 @@
<!-- NAS-PD02Z exist with and without temp sensor and different params but same IDs https://github.com/OpenZWave/open-zwave/issues/1866 -->
<Product config="shenzen_neo/nas-pd02z.xml" id="108d" name="NAS-PD02Z Battery Powered PIR Sensor V2" type="0003"/>
<Product config="shenzen_neo/nas-pd02z.xml" id="008d" name="NAS-PD02Z Battery Powered PIR Sensor V2" type="0003"/>
<Product config="shenzen_neo/nas-pd03z.xml" id="1031" name="NAS-PD03Z Battery Powered PIR Sensor V2" type="0200"/>
<Product config="shenzen_neo/nas-ws02z.xml" id="0085" name="Water Leakage Detector" type="0003"/>
<Product config="shenzen_neo/nas-ws02z.xml" id="1085" name="Water Leakage Detector" type="0003"/>
<Product config="shenzen_neo/nas-ws02z.xml" id="6085" name="Water Leakage Detector" type="0003"/>
Expand Down
117 changes: 117 additions & 0 deletions config/shenzen_neo/nas-pd03z.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<Product xmlns='https://github.com/OpenZWave/open-zwave' Revision="1">
<MetaData>
<!--
Neo (Coolcam) NAS-PD03Z Motion Sensor (PIR) Version 2
No official manual available
Does not figure on https://products.z-wavealliance.org
-->
<MetaDataItem name="Name">Neo (Coolcam) NAS-PD03Z Motion Sensor (PIR) Version 2</MetaDataItem>
<MetaDataItem name="ProductPage">https://www.szneo.com/en/products/show.php?id=197</MetaDataItem>
<MetaDataItem name="ProductPic">images/shenzen_neo/nas-pd02z.png</MetaDataItem>
<MetaDataItem name="WakeupDescription">Press button in sensor once. If successfull, LED will blink one time.</MetaDataItem>
<MetaDataItem name="InclusionDescription">Set gateway in inclusion mode. Press button in sensor three times. LED will flash red five times and then on and off alternately.</MetaDataItem>
<MetaDataItem name="ExclusionDescription">Set gateway in exclusion mode. Press button in sensor three times. LED will flash red five times and then on and off alternately.</MetaDataItem>
<MetaDataItem name="ResetDescription">Press and hold button the button in sensor for 10-15 seconds. LED will one time first and then five times on and off alternately. Release button.</MetaDataItem>
<ChangeLog>
<Entry author="Mick Venhorst" date="19 September 2020" revision="1">Initial version, based on PD02Z file</Entry>
</ChangeLog>
</MetaData>

<!-- Configuration Parameters -->
<CommandClass id="112">
<Value type="list" genre="config" instance="1" index="1" label="Motion detection sensitivity" value="12" min="8" max="255" size="1">
<Help>Adapt the sensitivity of the motion detection where 8 means highest sensibility and 255 lowest.</Help>
</Value>

<Value type="short" genre="config" instance="1" index="2" label="Motion detection ON time" units="second" value="30" min="5" max="600" size="2">
<Help>This parameter can be determined how long the associated devices should stay ON status.
For instance, this parameter is set to 30(second), the PIR detector will send a BASIC_SET Command to an associated device with value basic set level if PIR detector is triggered and the associated device will be turned on 30(second) before it is turned off.
This Parameter value must be large than Parameter 6# - Retrigger interval.
Available Settings:5 to 600(second).
</Help>
</Value>

<Value type="byte" genre="config" instance="1" index="3" label="Basic Set Level" value="255" min="0" max="255" size="1">
<Help>Basic Set Command will be sent, on the associated devices (group 2), where contains a value when PIR detector is triggered, the receiver will take it for consideration; for instance, if a lamp module is received the Basic Set Command of which value is decisive as to how bright of dim level of lamp module shall be.
This Parameter is used to some associated devices.
Available Settings: 0, 1 to 99 or 255.
</Help>
</Value>

<Value type="list" genre="config" instance="1" index="4" label="Motion detection function" value="1" size="1">
<Help>
Enable the motion detection (PIR) function.
This parameter does not effect the luminance reporting.
</Help>
<Item label="Disable" value="0" />
<Item label="Enable" value="255" />
</Value>

<Value type="short" genre="config" instance="1" index="5" label="Ambient Illumination Lux Level" units="lux" value="100" min="0" max="1000" size="2">
<Help>
Define the illumination level value which determines when the 'Illumination switch ON function' is activated.
If the illumination level falls below this value and a person moves across or within the detected area, the motion sensor will switch on the associated device (group 2).
0 to 1000(Lux).
</Help>
</Value>

<Value type="byte" genre="config" instance="1" index="6" label="Retrigger interval " units="second" value="8" min="1" max="8" size="1">
<Help>
Period after motion detection in which the sensor is insensitive for new motion detection.
This value must be less than the 'Motion detection ON time'.
Available Settings: 1 to 8(s).
</Help>
</Value>

<Value type="short" genre="config" instance="1" index="7" label="Illumination reporting interval" units="second" value="180" min="60" max="36000" size="2">
<Help>
Determine the time between illumination reports, even when value has not changed.
NOTE: This Value Must Be less than Wakeup Interval Time.
Available Settings: 60 ~ 36000(second).
</Help>
</Value>

<Value type="list" genre="config" instance="1" index="8" label="Illumination function" value="0" min="0" max="1" size="1">
<Help>
Enable the function to switch on a associated device (group 2) once motion has been detected and the illumination level will be less than the value specified in 'Illumination switch ON level'.
</Help>
<Item label="Disable" value="0" />
<Item label="Enable" value="1" />
</Value>

<Value type="byte" genre="config" instance="1" index="9" label="Illumination report threshold" units="lux" value="100" min="0" max="100" size="1">
<Help>This parameter defines by how much Lux Level must change, in lux, to be reported to the main controller.</Help>
</Value>

<Value type="byte" genre="config" instance="1" index="10" label="Ambient Temperature Differential Level Report" units="0.1 C" value="5" min="0" max="127" size="1">
<Help>This parameter is configured the value that differential between current measured and previous report value. If the differential value larger than the settings, device will report this measured temperature value to nodes associated in lifeline.</Help>
</Value>

<Value type="list" genre="config" instance="1" index="11" label="Led Blink Enable" value="1" min="0" max="1" size="1">
<Help>This parameter can enabled or disable the PIR led blinking function. </Help>
<Item label="Disable" value="0" />
<Item label="Enable" value="1" />
</Value>

<Value type="list" genre="config" instance="1" index="12" label="Motion Event Report One Time Enable (temperature reporting version)" value="1" min="0" max="1" size="1">
<Help>The motion detected event can be sent multiple times/only once until device report motion cleared event. </Help>
<Item label="multiple times" value="0" />
<Item label="only once" value="1" />
</Value>

<Value type="short" genre="config" instance="1" index="99" label="Ambient Light Intensity Calibration" value="1000" min="1" max="65535" size="2">
<Help>This parameter defines the calibrated scale for ambient light intensity.</Help>
</Value>

</CommandClass>
<!-- Association Groups -->
<CommandClass id="133">
<Associations num_groups="4">
<Group index="1" max_associations="4" label="Lifeline" />
<Group index="2" max_associations="4" label="Control Commands BASIC_SET" />
<Group index="3" max_associations="4" label="Send Notification Report" />
<Group index="4" max_associations="4" label="Send Sensor Binary Report" />
</Associations>
</CommandClass>
</Product>

0 comments on commit b0afd4c

Please sign in to comment.