-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PM2.5, CO, CO2 and Formaldehyde measurement clusters (#1432)
* Add PM2.5, CO and CO2 measurement clusters Signed-off-by: Chris Jackson <chris@cd-jackson.com> * Add Formaldehyde measurement Signed-off-by: Chris Jackson <chris@cd-jackson.com> --------- Signed-off-by: Chris Jackson <chris@cd-jackson.com>
- Loading branch information
Showing
10 changed files
with
1,691 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
com.zsmartsystems.zigbee.autocode/src/main/resources/040C_CarbonMonoxide.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<cluster xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="zigbee-description.xsd" code="0x040C"> | ||
<name>Carbon Monoxide Measurement</name> | ||
<description>The cluster provides an interface for measurement of Carbon Monoxide</description> | ||
<attribute code="0x0000" type="FLOAT_32_BIT" side="server" optional="false" writable="false" | ||
reportable="true" default="0x0000"> | ||
<name>Measured Value</name> | ||
<description>MeasuredValue represents the concentration as a fraction of 1 (one).</description> | ||
<description>A value of NaN indicates that the concentration measurement is unknown or outside the valid range.</description> | ||
<description>MinMeasuredValue and MaxMeasuredValue define the valid range for MeasuredValue.</description> | ||
<description>MeasuredValue is updated continuously as new measurements are made.</description> | ||
</attribute> | ||
<attribute code="0x0001" type="FLOAT_32_BIT" side="server" optional="false" writable="false" | ||
reportable="false" minimum="0x8001" maximum="0x7FFE"> | ||
<name>Min Measured Value</name> | ||
<description>The MinMeasuredValue attribute indicates the minimum value of MeasuredValue that can be measured. A value of NaN means this attribute is not defined.</description> | ||
</attribute> | ||
<attribute code="0x0002" type="FLOAT_32_BIT" side="server" optional="false" writable="false" | ||
reportable="true" minimum="0x8002" maximum="0x7FFF"> | ||
<name>Max Measured Value</name> | ||
<description>The MaxMeasuredValue attribute indicates the maximum value of MeasuredValue that can be measured. A value of NaN means this attribute is not defined.</description> | ||
<description>MaxMeasuredValue shall be greater than MinMeasuredValue.</description> | ||
<description>MinMeasuredValue and MaxMeasuredValue define the range of the sensor.</description> | ||
</attribute> | ||
<attribute code="0x0003" type="FLOAT_32_BIT" side="server" optional="true" writable="false" | ||
reportable="false" minimum="0x0000" maximum="0x0800"> | ||
<name>Tolerance</name> | ||
<description>The Tolerance attribute indicates the magnitude of the possible error that is associated with MeasuredValue . The true value is located in the range (MeasuredValue – Tolerance) to (MeasuredValue + Tolerance).</description> | ||
</attribute> | ||
</cluster> |
30 changes: 30 additions & 0 deletions
30
com.zsmartsystems.zigbee.autocode/src/main/resources/040D_CarbonDioxide.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<cluster xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="zigbee-description.xsd" code="0x040D"> | ||
<name>Carbon Dioxide Measurement</name> | ||
<description>The cluster provides an interface for measurement of Carbon Dioxide</description> | ||
<attribute code="0x0000" type="FLOAT_32_BIT" side="server" optional="false" writable="false" | ||
reportable="true" default="0x0000"> | ||
<name>Measured Value</name> | ||
<description>MeasuredValue represents the concentration as a fraction of 1 (one).</description> | ||
<description>A value of NaN indicates that the concentration measurement is unknown or outside the valid range.</description> | ||
<description>MinMeasuredValue and MaxMeasuredValue define the valid range for MeasuredValue.</description> | ||
<description>MeasuredValue is updated continuously as new measurements are made.</description> | ||
</attribute> | ||
<attribute code="0x0001" type="FLOAT_32_BIT" side="server" optional="false" writable="false" | ||
reportable="false" minimum="0x8001" maximum="0x7FFE"> | ||
<name>Min Measured Value</name> | ||
<description>The MinMeasuredValue attribute indicates the minimum value of MeasuredValue that can be measured. A value of NaN means this attribute is not defined.</description> | ||
</attribute> | ||
<attribute code="0x0002" type="FLOAT_32_BIT" side="server" optional="false" writable="false" | ||
reportable="true" minimum="0x8002" maximum="0x7FFF"> | ||
<name>Max Measured Value</name> | ||
<description>The MaxMeasuredValue attribute indicates the maximum value of MeasuredValue that can be measured. A value of NaN means this attribute is not defined.</description> | ||
<description>MaxMeasuredValue shall be greater than MinMeasuredValue.</description> | ||
<description>MinMeasuredValue and MaxMeasuredValue define the range of the sensor.</description> | ||
</attribute> | ||
<attribute code="0x0003" type="FLOAT_32_BIT" side="server" optional="true" writable="false" | ||
reportable="false" minimum="0x0000" maximum="0x0800"> | ||
<name>Tolerance</name> | ||
<description>The Tolerance attribute indicates the magnitude of the possible error that is associated with MeasuredValue . The true value is located in the range (MeasuredValue – Tolerance) to (MeasuredValue + Tolerance).</description> | ||
</attribute> | ||
</cluster> |
30 changes: 30 additions & 0 deletions
30
com.zsmartsystems.zigbee.autocode/src/main/resources/042A_PM25Measurement.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<cluster xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="zigbee-description.xsd" code="0x042A"> | ||
<name>PM2.5 Measurement</name> | ||
<description>The cluster provides an interface for measurement of Particulate Matter 2.5 microns or less</description> | ||
<attribute code="0x0000" type="FLOAT_32_BIT" side="server" optional="false" writable="false" | ||
reportable="true" default="0x0000"> | ||
<name>Measured Value</name> | ||
<description>MeasuredValue represents the concentration as a fraction of 1 (one).</description> | ||
<description>A value of NaN indicates that the concentration measurement is unknown or outside the valid range.</description> | ||
<description>MinMeasuredValue and MaxMeasuredValue define the valid range for MeasuredValue.</description> | ||
<description>MeasuredValue is updated continuously as new measurements are made.</description> | ||
</attribute> | ||
<attribute code="0x0001" type="FLOAT_32_BIT" side="server" optional="false" writable="false" | ||
reportable="false" minimum="0x8001" maximum="0x7FFE"> | ||
<name>Min Measured Value</name> | ||
<description>The MinMeasuredValue attribute indicates the minimum value of MeasuredValue that can be measured. A value of NaN means this attribute is not defined.</description> | ||
</attribute> | ||
<attribute code="0x0002" type="FLOAT_32_BIT" side="server" optional="false" writable="false" | ||
reportable="true" minimum="0x8002" maximum="0x7FFF"> | ||
<name>Max Measured Value</name> | ||
<description>The MaxMeasuredValue attribute indicates the maximum value of MeasuredValue that can be measured. A value of NaN means this attribute is not defined.</description> | ||
<description>MaxMeasuredValue shall be greater than MinMeasuredValue.</description> | ||
<description>MinMeasuredValue and MaxMeasuredValue define the range of the sensor.</description> | ||
</attribute> | ||
<attribute code="0x0003" type="FLOAT_32_BIT" side="server" optional="true" writable="false" | ||
reportable="false" minimum="0x0000" maximum="0x0800"> | ||
<name>Tolerance</name> | ||
<description>The Tolerance attribute indicates the magnitude of the possible error that is associated with MeasuredValue . The true value is located in the range (MeasuredValue – Tolerance) to (MeasuredValue + Tolerance).</description> | ||
</attribute> | ||
</cluster> |
30 changes: 30 additions & 0 deletions
30
com.zsmartsystems.zigbee.autocode/src/main/resources/042B_FormaldehydeMeasurement.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<cluster xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="zigbee-description.xsd" code="0x042B"> | ||
<name>Formaldehyde Measurement</name> | ||
<description>The cluster provides an interface for measurement of Formaldehyde</description> | ||
<attribute code="0x0000" type="FLOAT_32_BIT" side="server" optional="false" writable="false" | ||
reportable="true" default="0x0000"> | ||
<name>Measured Value</name> | ||
<description>MeasuredValue represents the concentration as a fraction of 1 (one).</description> | ||
<description>A value of NaN indicates that the concentration measurement is unknown or outside the valid range.</description> | ||
<description>MinMeasuredValue and MaxMeasuredValue define the valid range for MeasuredValue.</description> | ||
<description>MeasuredValue is updated continuously as new measurements are made.</description> | ||
</attribute> | ||
<attribute code="0x0001" type="FLOAT_32_BIT" side="server" optional="false" writable="false" | ||
reportable="false" minimum="0x8001" maximum="0x7FFE"> | ||
<name>Min Measured Value</name> | ||
<description>The MinMeasuredValue attribute indicates the minimum value of MeasuredValue that can be measured. A value of NaN means this attribute is not defined.</description> | ||
</attribute> | ||
<attribute code="0x0002" type="FLOAT_32_BIT" side="server" optional="false" writable="false" | ||
reportable="true" minimum="0x8002" maximum="0x7FFF"> | ||
<name>Max Measured Value</name> | ||
<description>The MaxMeasuredValue attribute indicates the maximum value of MeasuredValue that can be measured. A value of NaN means this attribute is not defined.</description> | ||
<description>MaxMeasuredValue shall be greater than MinMeasuredValue.</description> | ||
<description>MinMeasuredValue and MaxMeasuredValue define the range of the sensor.</description> | ||
</attribute> | ||
<attribute code="0x0003" type="FLOAT_32_BIT" side="server" optional="true" writable="false" | ||
reportable="false" minimum="0x0000" maximum="0x0800"> | ||
<name>Tolerance</name> | ||
<description>The Tolerance attribute indicates the magnitude of the possible error that is associated with MeasuredValue . The true value is located in the range (MeasuredValue – Tolerance) to (MeasuredValue + Tolerance).</description> | ||
</attribute> | ||
</cluster> |
Oops, something went wrong.