Difference between revisions of "Valve"
Jump to navigation
Jump to search
(Created page with "water and gas supplying valve type executor ===Example of description in XML=== <syntaxhighlight lang="xml" line> <item type="valve" addr="314:7" name="Valve" leak-sensors="3...") |
(Marked this version for translation) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | <languages/> | ||
+ | <translate> | ||
+ | <!--T:1--> | ||
water and gas supplying valve type executor | water and gas supplying valve type executor | ||
− | ===Example of description in XML=== | + | ===Example of description in XML=== <!--T:2--> |
<syntaxhighlight lang="xml" line> | <syntaxhighlight lang="xml" line> | ||
<item type="valve" addr="314:7" name="Valve" leak-sensors="314:3;304:10;302:10"> | <item type="valve" addr="314:7" name="Valve" leak-sensors="314:3;304:10;302:10"> | ||
Line 8: | Line 11: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | ===Additional parameters=== | + | ===Additional parameters=== <!--T:3--> |
− | {class="wikitable" | + | {|class="wikitable" |
|- | |- | ||
− | !Name!!type and variety!!description | + | !Name!!type and variety!!description |
|- | |- | ||
|leak-sensors||list||list of leakage sensors connected with this valve | |leak-sensors||list||list of leakage sensors connected with this valve | ||
|} | |} | ||
− | ===Device status (1 byte)=== | + | |
− | {class="wikitable" | + | ===Device status (1 byte)=== <!--T:4--> |
+ | {|class="wikitable" | ||
|- | |- | ||
!Byte number!!description | !Byte number!!description | ||
Line 23: | Line 27: | ||
|} | |} | ||
− | ===Possible variants of setting the status=== | + | ===Possible variants of setting the status=== <!--T:5--> |
− | {class="wikitable" | + | {|class="wikitable" |
|- | |- | ||
!byte!!description | !byte!!description | ||
Line 30: | Line 34: | ||
|0||0 – to turn off the valve (water supply)<br>1 – to turn on the valve (to stop water supply)<br>0xFF – Change the status for the opposite one | |0||0 – to turn off the valve (water supply)<br>1 – to turn on the valve (to stop water supply)<br>0xFF – Change the status for the opposite one | ||
|} | |} | ||
+ | </translate> |
Latest revision as of 14:59, 24 January 2022
water and gas supplying valve type executor
Example of description in XML
1<item type="valve" addr="314:7" name="Valve" leak-sensors="314:3;304:10;302:10">
2 <linked addr="314:1"/> // valve control button (optionally)
3</item>
Additional parameters
Name | type and variety | description |
---|---|---|
leak-sensors | list | list of leakage sensors connected with this valve |
Device status (1 byte)
Byte number | description |
---|---|
0 | Device status. 0 – valve is off (water supply) 1 – valve is on (water supply is stopped) |
Possible variants of setting the status
byte | description |
---|---|
0 | 0 – to turn off the valve (water supply) 1 – to turn on the valve (to stop water supply) 0xFF – Change the status for the opposite one |