About this trigger
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This trigger fires when your air quality goes above or below the target level.
- API endpoint slug
- uhoo.sensor_notification
Trigger 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 alert 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.sensorNotification.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.sensorNotification.UhooName
- Type
- String
- Example
- My Home
Sensor nameThis is the parameter that triggered the alert.
- Slug
- sensor
- Filter code
- Uhoo.sensorNotification.SensorName
- Type
- String
- Example
- Temperature
Sensor valueThis is the parameter value when alert happened.
- Slug
- sensor_data
- Filter code
- Uhoo.sensorNotification.SensorValue
- Type
- String
- Example
- 23.5
Sensor unitThis is the parameter unit.
- Slug
- sensor_unit
- Filter code
- Uhoo.sensorNotification.SensorUnit
- Type
- String
- Example
- °C
My thresholdThis is the target level you set to trigger the alert.
- Slug
- my_threshold
- Filter code
- Uhoo.sensorNotification.MyThreshold
- Type
- String
- Example
- 25
Above or belowThis tells you whether alert was sent when it's above or below your threshold
- Slug
- trigger_condition
- Filter code
- Uhoo.sensorNotification.AboveOrBelow
- Type
- String
- Example
- above
Data temperatureThis is the Temperature value
- Slug
- data_temp
- Filter code
- Uhoo.sensorNotification.DataTemperature
- Type
- String
- Example
- 23.4
Data humidityThis is the Relative Humidity in %
- Slug
- data_humidity
- Filter code
- Uhoo.sensorNotification.DataHumidity
- Type
- String
- Example
- 56.7
Data pm25This is the PM2.5 level in ug/m3
- Slug
- data_dust
- Filter code
- Uhoo.sensorNotification.DataPm25
- Type
- String
- Example
- 12.3
Data co2This is the Carbon Dioxide (CO2) level in ppm
- Slug
- data_co2
- Filter code
- Uhoo.sensorNotification.DataCo2
- Type
- String
- Example
- 437
Data coThis is the Carbon Monoxide (CO) level in ppm
- Slug
- data_co
- Filter code
- Uhoo.sensorNotification.DataCo
- Type
- String
- Example
- 1.3
Data tvocThis is the TVOC level in ppb
- Slug
- data_voc
- Filter code
- Uhoo.sensorNotification.DataTvoc
- Type
- String
- Example
- 25
Data no2This is the Nitrogen Dioxide (NO2) level in ppb
- Slug
- data_no2
- Filter code
- Uhoo.sensorNotification.DataNo2
- Type
- String
- Example
- 12
Data ozoneThis is the Ozone level in ppb
- Slug
- data_ozone
- Filter code
- Uhoo.sensorNotification.DataOzone
- Type
- String
- Example
- 10
Data air pressureThis is the Air Pressure level in hPa
- Slug
- data_airpressure
- Filter code
- Uhoo.sensorNotification.DataAirPressure
- Type
- String
- Example
- 1013.0
Data virus indexThis is the uHoo Virus Index
- Slug
- data_virusindex
- Filter code
- Uhoo.sensorNotification.DataVirusIndex
- Type
- String
- Example
- 7