Difference between revisions of "Conditioner"

From Larnitech wiki page
Jump to navigation Jump to search
(Created page with "Air conditioner virtual device ===Example of description in XML=== <syntaxhighlight lang="xml" line> <item addr="335:112" name="Conditioner" type="conditioner" vane-ver="0x3"/...")
 
(Marked this version for translation)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
<languages/>
 +
<translate>
 
Air conditioner virtual device
 
Air conditioner virtual device
===Example of description in XML===
+
===Example of description in XML=== <!--T:1-->
 
<syntaxhighlight lang="xml" line>
 
<syntaxhighlight lang="xml" line>
 
<item addr="335:112" name="Conditioner" type="conditioner" vane-ver="0x3"/> // Conditioner virtual device description
 
<item addr="335:112" name="Conditioner" type="conditioner" vane-ver="0x3"/> // Conditioner virtual device description
Line 8: Line 10:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
===Additional parameters===
+
===Additional parameters=== <!--T:2-->
  
 +
<!--T:3-->
 
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
Line 34: Line 37:
 
<nowiki>*</nowiki> – required fields
 
<nowiki>*</nowiki> – required fields
  
===Device status (6 bytes)===
+
===Device status (6 bytes)=== <!--T:4-->
  
 +
<!--T:5-->
 
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
Line 51: Line 55:
 
|}
 
|}
  
===Status setting===
+
===Status setting=== <!--T:6-->
 
from the 1st to the 6th correspondingly
 
from the 1st to the 6th correspondingly
 +
</translate>

Latest revision as of 14:59, 24 January 2022

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

Air conditioner virtual device

Example of description in XML

1<item addr="335:112" name="Conditioner" type="conditioner" vane-ver="0x3"/> // Conditioner virtual device description
2    <import-script id="335" CONDID="140" IRID="335:17" path="conditioner-MITS-4.txt"/> // Conditioner control script description
3//Description with the help of one tag:
4<item IRT="566:64" addr="566:250" name="conditioner" script-id="con" path="scripts/con.txt" type="conditioner"/>

Additional parameters

Name type and variety description default value
path* string Path to script -
script-id string script id from the description for interface -
t-min number temperature low value 16
t-delta number temperature range 16
modes bit mask Mask of operation modes 0xFF
funs bit mask Mask of airflow mode 0xFF
vane-ver bit mask Mask of vertical fins mode 0xFF
vane-hor bit mask Mask of horizontal fins mode 0xFF
temperature-sensors list list of valve temperature sensors -

* – required fields

Device status (6 bytes)

Byte number Description
0 0 bit – 0 is off, 1 is on
4-7th bit – mode of operation
0 – Fan,
1 – Cool,
2 – Dry,
3 – Heat,
4 – Auto.
1 temperature (t-min is to be added to the value)
2 reserved
3 0-3d bit – position of horizontal fins
4-7th bit – position of vertical fins
4 0-3d bit – airflow capacity

Status setting

from the 1st to the 6th correspondingly