Changes

3,242 bytes added ,  15:17, 24 January 2022
Updating to match new version of source page
<languages/>
===Example of description in XML===

<syntaxhighlight lang="xml" line>
<item type="AC" name="AC" addr="123:4"/>
</syntaxhighlight>

===Additional parameters===

{|class="wikitable"
|-
!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 (fan, cool, dry, heat, auto)||0x1F
|-
|fans||bit mask||Mask of airflow mode (auto, 1, 2, 3, 4, 5, silent mode)||0x1F
|-
|vane-ver||bit mask||Mask of vertical fins mode (auto, top, top-center, center, center-bottom, bottom, swing)||0x7E
|-
|vane-hor||bit mask||Mask of horizontal fins mode (left, left-center, center, center-right, right, sides (low angle), sides (high angle), from sides to center)||0
|-
|temperature-sensors||list||list of valve temperature sensors||-
|-
|t-outside||addr||addr of outside temperature sensors||-
|-
|t-outside-treshold||value||critically low temperature treshold||-
|-
|t-outside-hyst||value||critically low temperature hysteresis||-
|}
<nowiki>*</nowiki> – required fields

===Device status upon status request (8 bytes)===

{|class="wikitable"
|-
!Byte number!!Bit number!!Description
|-
|0||0<br>3<br>4-7||On/Off<br>Autostate<br>Mode:<br>0 – fan<br>1 – cool<br>2 – dry<br>3 – heat<br>4 – auto
|-
|1-2||8-23||Temperature setpoint
|-
|3||24-27<br><br><br><br><br><br><br><br><br>28-31<br><br><br><br><br><br><br><br>||Horizontal vanes:<br>0 – left<br>1 – left-center<br>2 – center<br>3 – center-right<br>4 – right<br>5 – sides (low angle)<br>6 – sides (high angle)<br>7 – from sides to center<br>Vertical vanes:<br>0 – auto<br>1 – top<br>2 – top-center<br>3 – center<br>4 – center-bottom<br>5 – bottom<br>6 – swing
|-
|4||32-35<br><br><br><br><br><br><br><br>||Fan:<br>0 – auto<br>1 – 1st speed<br>2 – 2nd speed<br>3 – 3rd speed<br>4 – 4th speed<br>5 – 5th speed<br>6 – silent mode
|-
|5-6||40-55||Current temperature
|-
|7||56-63||Flags
|-
|8||64-71||Errors
|}

===Possible variants of setting the status===
====1-byte====
{|class="wikitable"
|-
!Byte!!Description
|-
|0||0 – off<br>1 – on<br>0xFF – Change the status for the opposite one
|}

====2-bytes====

{|class="wikitable"
|-
!Byte!!Description
|-
|0||0xf
|-
|1||1 – Target +1<br>17 – Mode +1 cyclic<br>33 – Fan +1 cyclic<br>49 – Horizontal vanes +1 cyclic<br>65 – Vertical vanes +1 cyclic
|}

====3-bytes====

{|class="wikitable"
|-
!Byte!!Description
|-
|0||0xf
|-
|1||16 – Mode (value)<br>18 – Mode (step)<br>32 – Fan (value)<br>34 – Fan (step)<br>48 – Horizontal vanes (value)<br>50 – Horizontal vanes (step)<br>64 – Vertical vanes (value)<br>66 – Vertical vanes (step)
|-
|2||value – select value (for example status {0xf0, 32, 2} set fan 2)<br>step – set step (cyclic) (for example status {0xf0, 34, 2} set fan +2; status {0xf0, 34, -1} set fan -1)
|}

====4-bytes====

{|class="wikitable"
|-
!Byte!!Description
|-
|0||0xf
|-
|1||0 – Target (value)<br>2 – Target (step)
|-
|2||fractional part of temperature (0-255)<br>
|-
|3||integer part of temperature
|}
3,388

edits