Changes

880 bytes added ,  04:17, 20 August 2021
Created page with "Ventilation ===Example of description in XML=== <syntaxhighlight lang="xml" line> <item addr="345:123" length="6" name="Ventilation" sub-type="ventilation" type="virtual"/>..."
Ventilation
===Example of description in XML===

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

===Additional parameters===

{|class="wikitable"
|-
!Name!!type and variety!!description!!default value
|-
|sub-type*||string, ventilation||subtype||ventilation
|-
|funs||bit mask||Mask of airflow mode||0xFF
|}
<nowiki>*</nowiki> – required fields

===Device status (6 bytes)===

{|class="mediawiki"
|-
!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