Example of description in XML:
<item addr="333:10" name="Motion" type="motion-sensor" scale="0:100"/> <item addr="333:11" name="Illumination" type="illumination-sensor" scale="auto"/> <item addr="333:12" name="Temperature" type="temperature-sensor" scale="auto"/> <item addr="333:13" name="Humidity" type="humidity-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″ |
Motion-sensor: 0 Illumination-sensor: 0 Temperature-sensor: 16 Humidity-sensor: 0 |
value-max | Integer | The maximum value for the indication bar around the sensor, for example value-max=”54″ |
Motion-sensor: 100 Illumination-sensor: 100 Temperature-sensor: 32 Humidity-sensor: 100 |
Device status (2 bytes):
Byte number | Description |
---|---|
0 | Fractional value of sensor |
1 | Integral value of sensor |