Environment Provider
The Environment Provider gives environment sensor values like temperature or pressure.
Configuration
-
Type The type of sensor to read.
Value Sensor Type Temperature
Temperature sensor
Pressure
Pressure sensor
Light
Light sensor
Humidity
Humidity sensor
Proximity
Proximity sensor
Offbody
Offbody detector
Darkness
Light sensor with Threshold
-
Temperature Unit
Set the temperature unit in Celsius, Fahrenheit or Kelvin. -
Value Offset
If the sensor has a deviation compared to a precise value, an offset can be set here.
E.g. if the pressure gives 1009 hPa an the correct value is 998, the offset is 11. -
Darkness Threshold The Darkness threshold in SI Lux, below this value it it considered to be dark.
200
is a good default value. -
Ignore Sleep
True to continue data acquisition during device sleep, false to stop acquisition while the device is sleeping.
Default is false.
Query
-
Status
Get the accuracy of the sensor.Text Numeric Accuracy N/A
0
The sensor is not available or connected
Excellent
1
High accuracy
Fair
3
Medium accuracy
Poor
4
Low accuracy
Fail
5
Accuracy / data is unreliable
-
Value
The according value of the sensor.Sensor Value Temperature
Temperature in Celsius, Fahrenheit or Kelvin according to configuration
Pressure
Pressure in hPa (Millibar)
Humidity
Humidity in Percentage (0 - 100%)
Light
Light in SI Lux units
Proximity
Proximity
Offbody
0: off body, 1: on body
Darkness
0: light, 1: dark