@status current Introduced in 2.2.0
id Id of the sensor, valid range is from 0 to 0xFFFF
id
subID subID of the sensor, usually 0, valid range is from 0 to 7
subID
instance instance of the sensor (SensorID), valid range is from 0 to 0xFF
instance
value fed to the sensor
value
unit unit of the sensor Full listarrow-up-right
unit
precision the precision of the sensor
precision
0 or not present no decimal precision.
0 or not present
!= 0 value is divided by 10^precision, e.g. value=1000, prec=2 => 10.00.
!= 0
name (string) Name of the sensor if it does not yet exist (4 chars).
name
not present Name defaults to the Id.
not present
present Sensor takes name of the argument. Argument must have name surrounded by quotes: e.g., "Name"
present
true, if the sensor was just added. In this case the value is ignored (subsequent call will set the value)
true,
All three parameters id, subID and instance can't be zero at the same time. At least one of them must be different from zero.
Last updated 2 years ago
Was this helpful?