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 specified conditions for device metrics values are met.
- API endpoint slug
- WattuneedBatteryUP.battery_meter_metrics_2
Trigger fields
Device Dropdown list
- Label
- Which device?
- Slug
- device
- Required
- true
- Can have default value
- false
Metric 1 Dropdown list
- Label
- Metric
- Slug
- metric_1
- Required
- true
- Can have default value
- true
Condition 1 Dropdown list
- Label
- Trigger condition
- Slug
- condition_1
- Required
- true
- Can have default value
- true
Value 1 Text input
- Label
- Trigger Value
- Slug
- value_1
- Required
- true
- Can have default value
- true
Metric 2 Dropdown list
- Label
- Second Metric
- Slug
- metric_2
- Required
- true
- Can have default value
- true
Condition 2 Dropdown list
- Label
- Second Trigger Condition
- Slug
- condition_2
- Required
- true
- Can have default value
- true
Value 2 Text input
- Label
- Second Trigger Value
- Slug
- value_2
- Required
- true
- Can have default value
- true
Periodicity Dropdown list
- Label
- How often?
- Slug
- periodicity
- Required
- true
- Can have default value
- true
From hr Dropdown list
- Label
- From when?
- Slug
- from_hr
- Required
- true
- Can have default value
- true
To hr Dropdown list
- Label
- Until when?
- Slug
- to_hr
- Required
- true
- Can have default value
- true
Frequency Dropdown list
- Label
- How many times per day?
- Slug
- frequency
- Required
- true
- Can have default value
- true
Ingredients
Created atDate and time when the event was created.
- Slug
- created_at
- Filter code
- WattuneedBatteryUP.batteryMeterMetrics2.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Metric valueMetric value that met the trigger condition.
- Slug
- value_1
- Filter code
- WattuneedBatteryUP.batteryMeterMetrics2.MetricValue
- Type
- String
- Example
- The value of the "MetricValue" ingredient. Ex.: "42.0".
Second metric valueMetric value that met the second trigger condition.
- Slug
- value_2
- Filter code
- WattuneedBatteryUP.batteryMeterMetrics2.SecondMetricValue
- Type
- String
- Example
- The value of the "SecondMetricValue" ingredient. Ex.: "42.0".