Difference between revisions of "CO2-sensor"

From Larnitech wiki page
Jump to navigation Jump to search
(Marked this version for translation)
 
Line 1: Line 1:
 
<languages/>
 
<languages/>
 
<translate>
 
<translate>
===Example of description in XML===
+
===Example of description in XML=== <!--T:1-->
  
 +
<!--T:2-->
 
<syntaxhighlight lang="xml" line>
 
<syntaxhighlight lang="xml" line>
 
<item addr="333:10" name="CO2" type="co2-sensor" warning-level="1200" emergency-level="1500"/>
 
<item addr="333:10" name="CO2" type="co2-sensor" warning-level="1200" emergency-level="1500"/>
 
</syntaxhighlight>
 
</syntaxhighlight>
  
===Additional parameters===
+
===Additional parameters=== <!--T:3-->
  
 +
<!--T:4-->
 
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
Line 22: Line 24:
 
|}
 
|}
  
===Device status (2 bytes)===
+
===Device status (2 bytes)=== <!--T:5-->
  
 +
<!--T:6-->
 
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-

Latest revision as of 15:27, 25 January 2022

Other languages:
English • ‎русский

Example of description in XML

1<item addr="333:10" name="CO2" type="co2-sensor" warning-level="1200" emergency-level="1500"/>

Additional parameters

Name type and variety description default value
warning-level Integer Warning message level (0 for disable) 1500
emergency-level Integer Emergency message level (0 for disable) 2000
value-min Integer The minimum value for the indication bar around the sensor 0
value-max Integer The maximum value for the indication bar around the sensor 5000

Device status (2 bytes)

Byte number Description
0-1 CO2 level (integer)