Skip to main content

Environmental Sensors

Ambient Temperature

Supported in Android.

Measures the ambient room temperature in degrees Celsius.

Temperature:
Ambient air temperature. Internally stored as temp_c.

Accuracy:
Same as Accuracy in Accelerometer.

Light

Supported in Android.

Measures the ambient light level (illumination) in lx.

Each light record includes the following:

Illuminance:
Illuminance, in lx. Internally stored as illuminance_lx.

Accuracy:
Same as Accuracy in Accelerometer.

Pressure

Supported on Android & iOS.

Measures the ambient air pressure in hPa or mbar. Usually used for monitoring air pressure changes.

Each pressure record includes the following:

Pressure:
Ambient air pressure, in hPa or mbar. Internally stored as pressure_hpa.

Accuracy:
Same as Accuracy in Accelerometer.

Proximity

Supported on Android.

Measures the proximity of an object in cm relative to the view screen of a device. Typically is used to determine whether a handset is being held up to a person's ear.

Each proximity record includes the following:

Distance:
Distance from an object, in centimeters. Internally stored as dist_cm.

Accuracy:
Same as Accuracy in Accelerometer.

Relative Humidity

Supported on Android.

Measures the relative ambient humidity in percent (%).

Each relative humidity record includes the following:

Humidity:
Ambient relative humidity, in percent. Internally stored as humidity_percent.

Accuracy:

Same as Accuracy in Accelerometer.