Explore Plans
Mobile menu Close menu
uHoouHoo

History of uHoo alerts

This query returns a list of times when your air quality goes above or below the target level. Note: this query will only return future events after this Applet is created.

Developer info

API endpoint slug
uhoo.history_of_uhoo_alerts
Runtime method
performQuery("uhoo.history_of_uhoo_alerts")

Query fields

Device Dropdown list

Label
Which uHoo?
Slug
device
Required
true
Can have default value
false

Sensor Dropdown list

Label
Which air quality parameter?
Slug
sensor
Required
true
Can have default value
true

Threshold Text input

Label
What is the target level?
Slug
threshold
Required
true
Can have default value
true

Sign Dropdown list

Label
Trigger action when above or below target level?
Slug
sign
Required
true
Can have default value
true

Ingredients

Created atDate and time event was created.

Slug
created_at
Filter code
Uhoo.historyOfUhooAlerts.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Uhoo nameThis is the name of your uHoo.

Slug
uhoo_name
Filter code
Uhoo.historyOfUhooAlerts.UhooName
Type
String
Example
My Home

Sensor nameThis is the sensor that triggered the alert.

Slug
sensor
Filter code
Uhoo.historyOfUhooAlerts.SensorName
Type
String
Example
Temperature

Sensor valueThis is the actual value that uHoo measured.

Slug
sensor_data
Filter code
Uhoo.historyOfUhooAlerts.SensorValue
Type
String
Example
23.5

Sensor unitThis is the sensor unit.

Slug
sensor_unit
Filter code
Uhoo.historyOfUhooAlerts.SensorUnit
Type
String
Example
°C

My thresholdThis is the threshold you set to trigger the alert.

Slug
my_threshold
Filter code
Uhoo.historyOfUhooAlerts.MyThreshold
Type
String
Example
25

Above or belowThis tells you whether the alert happened when it's above or below your threshold.

Slug
trigger_condition
Filter code
Uhoo.historyOfUhooAlerts.AboveOrBelow
Type
String
Example
above

Data temperatureThis is the Temperature value

Slug
data_temp
Filter code
Uhoo.historyOfUhooAlerts.DataTemperature
Type
String
Example
23.4

Data humidityThis is the Relative Humidity level in %

Slug
data_humidity
Filter code
Uhoo.historyOfUhooAlerts.DataHumidity
Type
String
Example
56.7

Data pm25This is the PM2.5 level in µg/m3

Slug
data_dust
Filter code
Uhoo.historyOfUhooAlerts.DataPm25
Type
String
Example
12.3

Data co2This is the Carbon Dioxide (CO2) level in ppm

Slug
data_co2
Filter code
Uhoo.historyOfUhooAlerts.DataCo2
Type
String
Example
437

Data coThis is the Carbon Monoxide (CO) level in ppm

Slug
data_co
Filter code
Uhoo.historyOfUhooAlerts.DataCo
Type
String
Example
1.3

Data tvocThis is the TVOC level in ppb

Slug
data_voc
Filter code
Uhoo.historyOfUhooAlerts.DataTvoc
Type
String
Example
12

Data no2This is the Nitrogen Dioxide (NO2) level in ppb

Slug
data_no2
Filter code
Uhoo.historyOfUhooAlerts.DataNo2
Type
String
Example
25

Data ozoneThis is the Ozone level in ppb

Slug
data_ozone
Filter code
Uhoo.historyOfUhooAlerts.DataOzone
Type
String
Example
10

Data air pressureThis is the Air Pressure level in hPa

Slug
data_airpressure
Filter code
Uhoo.historyOfUhooAlerts.DataAirPressure
Type
String
Example
1013.0

Data virus indexThis is the uHoo Virus Index

Slug
data_virusindex
Filter code
Uhoo.historyOfUhooAlerts.DataVirusIndex
Type
String
Example
7