Difference between revisions of "Light-scheme"

From Larnitech wiki page
Jump to navigation Jump to search
(Created page with "===Example of description in XML=== <syntaxhighlight lang="xml" line> <item addr="100:100" name="Colour scheme" type="light-scheme" system="yes" image="lamp"> <contains a...")
 
(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="100:100" name="Colour scheme" type="light-scheme" system="yes" image="lamp">
 
<item addr="100:100" name="Colour scheme" type="light-scheme" system="yes" image="lamp">
Line 10: Line 13:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
===Parameters of contains===
+
===Parameters of contains=== <!--T:3-->
  
 +
<!--T:4-->
 
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
Line 23: Line 27:
 
|}
 
|}
 
<nowiki>*</nowiki> – required fields
 
<nowiki>*</nowiki> – required fields
 +
</translate>

Latest revision as of 15:00, 24 January 2022

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

Example of description in XML

1<item addr="100:100" name="Colour scheme" type="light-scheme" system="yes" image="lamp">
2    <contains addr="140:8" state="1"/>
3    <contains addr="140:24" state="1:250:0" />
4    <contains addr="140:32" state="1:250:250:250:0"/>
5    <automation door-sensors="146:24" enabled="yes" illumination-level="50" time-interval="60" type="on-by-door"/>
6</item>

Parameters of contains

Name type and variety description
id* number 1..2048 Executive device ID
sub-id* number 1..255 executive device sub-id
state* number Status sent to the executor

* – required fields