Changes

1,432 bytes added ,  15:11, 25 January 2022
Created page with "Шторы"
<languages/>
===Example of description in XML===
<syntaxhighlight lang="xml" line>
<item addr="100:10" name="blinds" type="blinds" system="yes">
<linked addr="101:1"/> // is bound to the button with the address 101:1
<automation ……/> // set the automation for this element
</item>
</syntaxhighlight>
<syntaxhighlight lang="xml" line>
<item addr="100:10" name="Blinds" type="blinds" vanes="307:5">
<linked addr="101:1"/> // is bound to the button with the address 101:1
<automation ……/> // set the automation for this element
</item>
</syntaxhighlight>
vanes="blinds ID:SUBID" – for adding and control vanes

===Device status (3 bytes)===

{|class="wikitable"
|-
!Byte number!!description
|-
|0||Device status.<br>0 – closed<br>1 – open<br>2 – is closing<br>3 – is opening<br>4 – middle position<br>5 – unknown
|-
|1||Setpoint level<br>0..250
|-
|2||Current level<br>0..250
|}

===Possible variants of setting the status===
====single-byte====

{|class="wikitable"
|-
!byte!!description
|-
|0||0 – stop or 0%<br>1 – stop or 100%<br>2 – 0%<br>3 – 100%<br>4 – stop<br>5 – stop or reverse 0%/100%<br>8 – level +25 (+10%)<br>9 – level -25 (-10%)<br>0xFF – Change the status for the opposite one
|}
====2-bytes====
{|class="wikitable"
|-
!byte!!description
|-
|0||7 – direct value<br>8 – increase setpoint by value<br>9 – decrease setpoint by value
|-
|1||level (0-250)
|}
editor, translation-admin, translator
4,754

edits