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 a sensor you select detects a value above, at, or below the threshold you set of the selected device.
- API endpoint slug
- air_q.sensor
Trigger fields
Deviceid Dropdown list
- Label
- Select your air-Q device
- Helper text
- select the device you want to monitor
- Slug
- deviceid
- Required
- true
- Can have default value
- false
Sensor Dropdown list
- Label
- Select the sensor on the device
- Helper text
- Select the sensor you want to monitor on the select air-Q
- Slug
- sensor
- Required
- true
- Can have default value
- false
Compare Dropdown list
- Label
- Set the comparator
- Helper text
- Select the comparator (<,>, =)
- Slug
- compare
- Required
- true
- Can have default value
- true
Value Text input
- Label
- Set the threshold
- Helper text
- What is the threshold
- Slug
- value
- Required
- true
- Can have default value
- true
Ingredients
Sensorthe short name of the sensor
- Slug
- sensor
- Filter code
- AirQ.sensor.Sensor
- Type
- String
- Example
- no2
Devicethe device name of the current measurement
- Slug
- device
- Filter code
- AirQ.sensor.Device
- Type
- String
- Example
- office
Valuethe human readable value (rounded)
- Slug
- value
- Filter code
- AirQ.sensor.Value
- Type
- String
- Example
- 20
Unitthe unit of the given sensor
- Slug
- unit
- Filter code
- AirQ.sensor.Unit
- Type
- String
- Example
- °C
Unit shortThe physical unit of the current sensor
- Slug
- unitShort
- Filter code
- AirQ.sensor.UnitShort
- Type
- String
- Example
- mg/m³
Sensor nameThe long name of a sensor
- Slug
- sensorName
- Filter code
- AirQ.sensor.SensorName
- Type
- String
- Example
- Nitrogen Dioxide
Created atsenore value created at date time
- Slug
- created_at
- Filter code
- AirQ.sensor.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Value exactUse the exact and not rounded value
- Slug
- valueExact
- Filter code
- AirQ.sensor.ValueExact
- Type
- String
- Example
- 23.123