Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem