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: 9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   10.6    Statistic    FMM    Blog  

BlueThermProbe.DeviceSensor

Queries details for one sensor.

Component Version macOS Windows Server FileMaker Cloud FileMaker 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

Blog Entries

Release notes

Created 15th August 2019, last changed 16th August 2019


BlueThermProbe.Device   -   BlueThermProbe.Devices

Feedback: Report problem or ask question.




Links
MBS Xojo blog