Difference between revisions of "Ventilation/ru"
Jump to navigation
Jump to search
(Created page with "Вентиляция ===Пример описания в XML===") |
(Created page with "<syntaxhighlight lang="xml" line> <item addr="345:123" length="6" name="Ventilation" sub-type="ventilation" type="virtual"/> // Описание виртуального ус...") |
||
Line 5: | Line 5: | ||
<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"/> | ||
− | // | + | // Описание виртуального устройства вентиляции |
− | <import-script id="345" VENT="80" RS485="345:12" path="vent.txt"/> // | + | <import-script id="345" VENT="80" RS485="345:12" path="vent.txt"/> // Описание скрипта управления вентиляцией |
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 14:36, 25 January 2022
Вентиляция
Пример описания в XML
1<item addr="345:123" length="6" name="Ventilation" sub-type="ventilation" type="virtual"/>
2// Описание виртуального устройства вентиляции
3<import-script id="345" VENT="80" RS485="345:12" path="vent.txt"/> // Описание скрипта управления вентиляцией
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