Difference between revisions of "Motion-sensor/ru"

From Larnitech wiki page
Jump to navigation Jump to search
(Created page with "Датчик движения")
 
(Created page with "===Пример описания в XML=== <syntaxhighlight lang="xml" line> <item addr="333:10" name="Motion" type="motion-sensor" scale="0:100"/> </syntaxhighlight>")
Line 1: Line 1:
 
<languages/>
 
<languages/>
===Example of description in XML===
+
===Пример описания в XML===
 
<syntaxhighlight lang="xml" line>
 
<syntaxhighlight lang="xml" line>
 
<item addr="333:10" name="Motion" type="motion-sensor" scale="0:100"/>
 
<item addr="333:10" name="Motion" type="motion-sensor" scale="0:100"/>

Revision as of 15:32, 25 January 2022

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

Пример описания в XML

1<item addr="333:10" name="Motion" type="motion-sensor" scale="0:100"/>

Additional parameters

Name type and variety description default value
scale auto
MIN:MAX
display range -
value-min Integer The minimum value for the indication bar around the sensor, for example value-min="22" 0
value-max Integer The maximum value for the indication bar around the sensor, for example value-max="54" 100

Device status (2 bytes)

Byte number Description
0 Fractional value of sensor
1 Integral value of sensor