Difference between revisions of "Jalousie"

From Larnitech wiki page
Jump to navigation Jump to search
(Created page with "===Example of description in XML=== <syntaxhighlight lang="xml" line> <item addr="384:6" name="Garage" type="jalousie"/> </syntaxhighlight> ===Device status (1 byte)=== {|c...")
 
(Marked this version for translation)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
===Example of description in XML===
+
<languages/>
 +
<translate>
 +
===Example of description in XML=== <!--T:1-->
  
 +
<!--T:2-->
 
<syntaxhighlight lang="xml" line>
 
<syntaxhighlight lang="xml" line>
 
<item addr="384:6" name="Garage" type="jalousie"/>
 
<item addr="384:6" name="Garage" type="jalousie"/>
 
</syntaxhighlight>
 
</syntaxhighlight>
  
===Device status (1 byte)===
+
===Device status (1 byte)=== <!--T:3-->
  
 +
<!--T:4-->
 
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
Line 14: Line 18:
 
|}
 
|}
  
===Possible variants of setting the status===
+
===Possible variants of setting the status=== <!--T:5-->
  
 +
<!--T:6-->
 
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
Line 22: Line 27:
 
|0||0 – close (stop if the position is 2 or 3)<br>1 – open (stop if the position is 2 or 3)<br>2 – close<br>3 – open<br>4 – stop<br>0xFF – Change the status for the opposite one
 
|0||0 – close (stop if the position is 2 or 3)<br>1 – open (stop if the position is 2 or 3)<br>2 – close<br>3 – open<br>4 – stop<br>0xFF – Change the status for the opposite one
 
|}
 
|}
 +
</translate>

Latest revision as of 14:59, 24 January 2022

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

Example of description in XML

1<item addr="384:6" name="Garage" type="jalousie"/>

Device status (1 byte)

Byte number Description
0 Device status.

Bit 0-2:
0 – closed
1 – opened
2 – is closing
3 – is opening
4 – middle position

5 – unknown status

Bit 3:

0 – automation is disactivated

1 – automation is activated

Bit 7:

0 – no alarm

1 – alarm (relating to temperature)

Possible variants of setting the status

byte description
0 0 – close (stop if the position is 2 or 3)
1 – open (stop if the position is 2 or 3)
2 – close
3 – open
4 – stop
0xFF – Change the status for the opposite one