Changes

Jump to navigation Jump to search
1,018 bytes added ,  13:32, 2 February 2022
no edit summary
Line 11: Line 11:  
<syntaxhighlight lang="xml" line>
 
<syntaxhighlight lang="xml" line>
 
<item addr="100:10" name="chandelier" type="rgb-lamp" auto-period="600" color-temp="307:4" color-white="307:5">
 
<item addr="100:10" name="chandelier" type="rgb-lamp" auto-period="600" color-temp="307:4" color-white="307:5">
     <linked addr="101:1"/>  // is bound to the button with the address 101:1
+
     <linked addr="101:1"/>  // привязан к кнопке с адресом 101:1
    <automation ……/> // set the automation for this element
+
    <automation ……/> // установить автоматизацию для этого элемента
 
</item>
 
</item>
 
</syntaxhighlight>
 
</syntaxhighlight>
color-temp="dimmer ID:SUBID" – for adding and control dimmer brigtness bar with temperature.
+
color-temp="dimmer ID:SUBID" – для добавления и управления полосой яркости диммера с температурой.
   −
color-white="dimmer ID:SUBID" – for adding and control dimmer brigtness bar "white".
+
color-temp="dimmer ID:SUBID" – для добавления и управления "белой" полосой яркости диммера.
   −
===Device status (4 bytes)===
+
===Состояние устройства (4 байта)===
    
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
!Byte number!!description
+
!Номер байта!!Описание
 
|-
 
|-
|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)
+
|0||Состояние устройства.<br>Байт 0:<br>0 – выкл.<br>1 – вкл.<br>Байт 3:<br>0 – автоматика отключена<br>1 – автоматика включена<br> Байт 7:<br>0 – нет сигнала тревоги<br>1 – сигнал тревоги (по температуре)
 
|-
 
|-
|1||V – brightness ([https://en.wikipedia.org/wiki/HSL_and_HSV VSH Color System])<br>0..250
+
|1||V – яркость ([https://en.wikipedia.org/wiki/HSL_and_HSV VSH Color System])<br>0..250
 
|-
 
|-
|2||S – contrast ([https://en.wikipedia.org/wiki/HSL_and_HSV VSH Color System])<br>0..250
+
|2||S – контрастность ([https://en.wikipedia.org/wiki/HSL_and_HSV VSH Color System])<br>0..250
 
|-
 
|-
|3||Н – colour hue ([https://en.wikipedia.org/wiki/HSL_and_HSV VSH Color System])<br>0..250
+
|3||Н – оттенок цвета ([https://en.wikipedia.org/wiki/HSL_and_HSV VSH Color System])<br>0..250
 
|}
 
|}
   −
===Possible variants of setting the status===
+
===Возможные варианты установки статуса===
   −
====single-byte====
+
====однобайтовый====
    
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
!byte!!description
+
!Байт!!Описание
 
|-
 
|-
|0||Status (on/off)<br>0 – off<br>1 – on<br>0xFF – Change the status for the opposite one
+
|0||Статус (вкл./выкл.)<br>0 – выкл.<br>1 – вкл.<br>0xFF – Изменить статус на противоположный
 
|}
 
|}
   −
====4-bytes====
+
====4-х байтный====
    
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
!byte!!description
+
!Байт!!Описание
 
|-
 
|-
|0||Status (on/off)<br>0 – off<br>1 – on<br>0xFE – do not change the status of this byte<br>0xFF – Change the status for the opposite one
+
|0||Статус (вкл./выкл.)<br>0 – выкл.<br>1 – вкл.<br>0xFE – не менять статус этого байта<br>0xFF – Сменить статус на противоположный
 
|-
 
|-
|1||Brightness<br>0 – off<br>1..250 – brightness<br>0xFE – do not change the status of this byte
+
|1||Яркость<br>0 – выкл.<br>1..250 – яркость<br>0xFE – не менять состояние этого байта
 
|-
 
|-
|2||contrast<br>0 – off<br>1..250 – brightness<br>0xFE – do not change the status of this byte
+
|2||контраст<br>0 – выкл.<br>1..250 – яркость<br>0xFE – не менять состояние этого байта
 
|-
 
|-
|3||colour hue
+
|3||оттенок цвета
 
|}
 
|}
====5-bytes====
+
====5-ти байтный====
 
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
!byte!!description
+
!Байт!!Описание
 
|-
 
|-
|0||Status (on/off)<br>0 – off<br>1 – on<br>0xFE – do not change the status of this byte<br>0xFF – Change the status for the opposite one
+
|0||Статус (вкл./выкл.)<br>0 – выкл.<br>1 – вкл.<br>0xFE – не менять статус этого байта<br>0xFF – Сменить статус на противоположный
 
|-
 
|-
|1||Brightness<br>0 – off<br>1..250 – brightness<br>0xFE – do not change the status of this byte
+
|1||Яркость<br>0 – выкл.<br>1..250 – яркость<br>0xFE – не менять состояние этого байта
 
|-
 
|-
|2||Сontrast<br>0 – off<br>1..250 – сontrast<br>0xFE – do not change the status of this byte
+
|2||Контрастность<br>0 – выкл.<br>1..250 – контрастность<br>0xFE – не менять состояние этого байта
 
|-
 
|-
|3||Сolour hue<br>0 – off<br>1..250 – сolour hue<br>0xFE – do not change the status of this byte
+
|3||Оттенок цвета<br>0 – выкл.<br>1..250 – оттенок цвета<br>0xFE – не менять состояние этого байта
 
|-
 
|-
|4||Time required for changing the status, x0.1 seconds (runtime=100, apply as 10 seconds)
+
|4||Время, необходимое для изменения статуса, x0,1 секунды (время выполнения=100, применяется как 10 секунд)
 
|}
 
|}
editor, translation-admin, translator
4,754

edits

Navigation menu