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...")
 
Line 1: Line 1:
 +
<languages/>
 +
<translate>
 
===Example of description in XML===
 
===Example of description in XML===
  
Line 23: Line 25:
 
|}
 
|}
 
<nowiki>*</nowiki> – required fields
 
<nowiki>*</nowiki> – required fields
 +
</translate>

Revision as of 14:58, 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