Шторы

From Larnitech wiki page
Revision as of 15:15, 25 January 2022 by Rusanov (talk | contribs) (Created page with "===Пример описания в XML=== <syntaxhighlight lang="xml" line> <item addr="100:10" name="blinds" type="blinds" system="yes"> <linked addr="101:1"/> // пр...")
Jump to navigation Jump to search
Other languages:
English • ‎русский

Пример описания в XML

1<item addr="100:10" name="blinds" type="blinds" system="yes">
2    <linked addr="101:1"/>  // привязан к кнопке с адресом 101:1
3    <automation ……/>  // установить автоматизацию для этого элемента
4</item>
1<item addr="100:10" name="Blinds" type="blinds" vanes="307:5">
2    <linked addr="101:1"/>  // привязан к кнопке с адресом 101:1
3    <automation ……/>  // установить автоматизацию для этого элемента
4</item>

vanes="blinds ID:SUBID" – для добавления и управления пластинами

Device status (3 bytes)

Byte number description
0 Device status.
0 – closed
1 – open
2 – is closing
3 – is opening
4 – middle position
5 – unknown
1 Setpoint level
0..250
2 Current level
0..250

Possible variants of setting the status

single-byte

byte description
0 0 – stop or 0%
1 – stop or 100%
2 – 0%
3 – 100%
4 – stop
5 – stop or reverse 0%/100%
8 – level +25 (+10%)
9 – level -25 (-10%)
0xFF – Change the status for the opposite one

2-bytes

byte description
0 7 – direct value
8 – increase setpoint by value
9 – decrease setpoint by value
1 level (0-250)