Blinds

From Larnitech wiki page
Revision as of 07:31, 20 August 2021 by Erich (talk | contribs) (Created page with "===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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Example of description in XML

1<item addr="100:10" name="blinds" type="blinds" system="yes">
2    <linked addr="101:1"/>  // is bound to the button with the address 101:1
3    <automation ……/>  // set the automation for this element
4</item>
1<item addr="100:10" name="Blinds" type="blinds" vanes="307:5">
2    <linked addr="101:1"/>  // is bound to the button with the address 101:1
3    <automation ……/>  // set the automation for this element
4</item>

vanes="blinds ID:SUBID" – for adding and control vanes

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)