Get single barometer value
  • 18 May 2022
  • 1 Minute to read
  • Dark
  • PDF

Get single barometer value

  • Dark
  • PDF

Get a single reading from the device barometer. By default, updates sensorVars.barometer.latestValue and sensorVars.barometer.values.

Input arguments

Label Key Type Required? Default Description
Update sensor variables updateSensorVars Boolean Yes true If true, the new value will also be stored into sensorVars.barometer.latestValue and sensorVars.barometer.values.

Output arguments

Number of outputs: 2

Label Key Type Description
Barometer value value Object Value of the device barometer when the flow function was called.
  • Pressure
value.pressure Number Atmospheric pressure, in kilopascals.
  • timestamp
value.timestamp String ISO 8601 timestamp of when the value was read.


No events.


Label Code Description
Unknown error unknown Thrown when calling the native API resulted in an unknown error.

Was this article helpful?