Difference between revisions of "Gate/ru"
Jump to navigation
Jump to search
(Created page with "===Пример описания в XML===") |
(Created page with "===Статус устройства (1 байт)===") |
||
Line 6: | Line 6: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | === | + | ===Статус устройства (1 байт)=== |
{|class="wikitable" | {|class="wikitable" |
Revision as of 15:29, 25 January 2022
Пример описания в XML
1<item addr="384:6" name="Garage" type="gate"/>
Статус устройства (1 байт)
Byte number | Description |
---|---|
0 | Device status. 0 – closed 1 – opened 2 – is closing 3 – is opening 4 – middle position 5 – unknown status |
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 |