Changes

120 bytes added ,  11:38, 23 January 2022
Marked this version for translation
Line 1: Line 1: −
===Lamp element – lamp type executor===
+
<languages/>
==Example of description in XML==
+
<translate>
 +
===Example of description in XML=== <!--T:1-->
 
<syntaxhighlight lang="xml" line>
 
<syntaxhighlight lang="xml" line>
 
<item addr="100:10" name=" chandelier" type="lamp" auto-period="600" system="yes" image="air-fan">
 
<item addr="100:10" name=" chandelier" type="lamp" auto-period="600" system="yes" image="air-fan">
Line 9: Line 10:  
</syntaxhighlight>
 
</syntaxhighlight>
   −
==Additional parameters==
+
===Additional parameters=== <!--T:2-->
    
{|class="wikitable"
 
{|class="wikitable"
Line 15: Line 16:  
!Name!!type and variety!!description
 
!Name!!type and variety!!description
 
|-
 
|-
|sub-type||enum||damper
+
|sub-type||enum||damper<br>air-fan<br>socket<br>lock<br>dehumidifier<br>closing-switch -automatic device<br>valve-3 – 3 way valve<br>pump
air-fan
  −
socket
  −
lock
  −
dehumidifier
  −
closing-switch -automatic device
  −
valve-3 – 3 way valve
  −
pump
   
|}
 
|}
===Device status (1 byte)===
+
===Device status (1 byte)=== <!--T:3-->
    +
<!--T:4-->
 
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
 
!Byte number||description
 
!Byte number||description
 
|-
 
|-
|0||Device status.
+
|0||Device status.<br>Bit 0:<br>0 – off<br>1 – on<br>Bit 3:<br>0 – automation is disactivated<br>1 – automation is activated<br>Bit 7:<br>0 – no alarm<br>1 – alarm (relating to temperature, current etc.)
Bit 0:
  −
0 – off
  −
1 – on
  −
Bit 3:
  −
0 – automation is disactivated
  −
1 – automation is activated
  −
Bit 7:
  −
0 – no alarm
  −
1 – alarm (relating to temperature, current etc.)
   
|}
 
|}
   −
===Possible variants of setting the status===
+
===Possible variants of setting the status=== <!--T:5-->
    +
<!--T:6-->
 
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
 
!Byte!!description
 
!Byte!!description
 
|-
 
|-
|0||0 – off
+
|0||0 – off<br>1 – on<br>0xFF – Change the status for the opposite one
1 – on
  −
0xFF – Change the status for the opposite one
   
|}
 
|}
 +
</translate>
editor, translation-admin, translator
4,754

edits