Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed two issues in nas-pd03z.xml #2480

Merged
merged 2 commits into from
Jan 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions config/shenzen_neo/nas-pd03z.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Product xmlns='https://github.com/OpenZWave/open-zwave' Revision="1">
<Product xmlns='https://github.com/OpenZWave/open-zwave' Revision="2">
<MetaData>
<!--
Neo (Coolcam) NAS-PD03Z Motion Sensor (PIR) Version 2
Expand All @@ -15,12 +15,13 @@
<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>
<Entry author="Mick Venhorst" date="23 November 2020" revision="2">Changed value type list to byte for index 1, value of index 4 ws not present in list values </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">
<Value type="byte" 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>

Expand All @@ -39,7 +40,7 @@
</Help>
</Value>

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