Difference between revisions of "Ventilation"

From Larnitech wiki page
Jump to navigation Jump to search
(Marked this version for translation)
 
Line 2: Line 2:
 
<translate>
 
<translate>
 
Ventilation
 
Ventilation
===Example of description in XML===
+
===Example of description in XML=== <!--T:1-->
  
 +
<!--T:2-->
 
<syntaxhighlight lang="xml" line>
 
<syntaxhighlight lang="xml" line>
 
<item addr="345:123" length="6" name="Ventilation" sub-type="ventilation" type="virtual"/>  
 
<item addr="345:123" length="6" name="Ventilation" sub-type="ventilation" type="virtual"/>  
Line 10: Line 11:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
===Additional parameters===
+
===Additional parameters=== <!--T:3-->
  
 +
<!--T:4-->
 
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
Line 22: Line 24:
 
<nowiki>*</nowiki> – required fields
 
<nowiki>*</nowiki> – required fields
  
===Device status (6 bytes)===
+
===Device status (6 bytes)=== <!--T:5-->
  
 +
<!--T:6-->
 
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
Line 35: Line 38:
 
|}
 
|}
  
===Status setting===
+
===Status setting=== <!--T:7-->
  
 +
<!--T:8-->
 
from the 1st to the 6th correspondingly
 
from the 1st to the 6th correspondingly
 
</translate>
 
</translate>

Latest revision as of 14:59, 24 January 2022

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

Ventilation

Example of description in XML

1<item addr="345:123" length="6" name="Ventilation" sub-type="ventilation" type="virtual"/> 
2// Ventilation virtual device description
3<import-script id="345" VENT="80" RS485="345:12" path="vent.txt"/> // Ventilation control script description

Additional parameters

Name type and variety description default value
sub-type* string, ventilation subtype ventilation
funs bit mask Mask of airflow mode 0xFF

* – required fields

Device status (6 bytes)

Byte number Description
0 0 bit – 0 is off, 1 is on
1 0-3d bit – temperature (+16 is to be added to the value)
4 0-3d bit – airflow capacity

Status setting

from the 1st to the 6th correspondingly