Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

BlueThermProbe.DeviceSensor

Queries details for one sensor.

Component Version macOS Windows Linux Server iOS SDK
BlueThermProbe 9.4 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "BlueThermProbe.DeviceSensor"; Device; Sensor )   More

Parameters

Parameter Description Example
Device The device identifier, name or index.
Empty value is first device.
0
Sensor The sensor name or index.
Empty value is first sensor.
0

Result

Returns JSON or error.

Description

Queries details for one sensor.
Returns JSON block with details for sensor.

Examples

Query sensor details on first sensor of first device:

MBS( "BlueThermProbe.DeviceSensor"; 0; 0 )

Example result:
{   "readingUnitString" : "°C",   "readingUnit" : 0,   "readingAsDisplayed" : "",   "fault" : false,   "genericTypeString" : "Temperature",   "index" : 1,   "displayUnit" : 0,   "typeString" : "K Thermocouple Fixed",   "name" : "",   "type" : 12,   "readingCelsius" : 25.776786804199219,   "readingTimestamp" : true,   "trimValue" : 0,   "lowAlarmBreached" : false,   "genericType" : 1,   "lowAlarm" : 0,   "readingFahrenheit" : 78.398216247558594,   "rangeHigh" : true,   "enabled" : true,   "highAlarmSignalled" : false,   "highAlarmEnabled" : false,   "reading" : 25.776786804199219,   "displayUnitString" : "°C",   "highAlarmBreached" : false,   "rangeLow" : true,   "lowAlarmSignalled" : false,   "highAlarm" : 0,   "lowAlarmEnabled" : false }

See also

Release notes

Blog Entries

This function checks for a license.

Created 15th August 2019, last changed 1st April 2023


BlueThermProbe.Device - BlueThermProbe.Devices