Difference between revisions of "Temperature-sensor"
Jump to navigation
Jump to search
(Marked this version for translation) |
|||
Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
<translate> | <translate> | ||
− | ===Example of description in XML=== | + | ===Example of description in XML=== <!--T:1--> |
<syntaxhighlight lang="xml" line> | <syntaxhighlight lang="xml" line> | ||
<item addr="333:12" name="Temperature" type="temperature-sensor" scale="auto"/> | <item addr="333:12" name="Temperature" type="temperature-sensor" scale="auto"/> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | ===Additional parameters=== | + | ===Additional parameters=== <!--T:2--> |
+ | <!--T:3--> | ||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
Line 21: | Line 22: | ||
|} | |} | ||
− | ===Device status (2 bytes)=== | + | ===Device status (2 bytes)=== <!--T:4--> |
+ | <!--T:5--> | ||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- |
Latest revision as of 15:27, 25 January 2022
Example of description in XML
1<item addr="333:12" name="Temperature" type="temperature-sensor" scale="auto"/>
Additional parameters
Name | type and variety | description | default value |
---|---|---|---|
scale | auto MIN:MAX |
display range | - |
log-levels | list of temperatures | For the devices temperature sensors – temperature levels for messages in the server log, for example log-levels="70,80,85" (warning, error, emergency) | 60,80,90 |
value-min | Integer | The minimum value for the indication bar around the sensor, for example value-min="22" | 16 |
value-max | Integer | The maximum value for the indication bar around the sensor, for example value-max="54" | 32 |
Device status (2 bytes)
Byte number | Description |
---|---|
0 | Fractional value of sensor |
1 | Integral value of sensor |