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 specified condition for a device metric value is met.
- API endpoint slug
- WattuneedBatteryUP.battery_meter_metric
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
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.batteryMeterMetric.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.batteryMeterMetric.MetricValue
- Type
- String
- Example
- The value of the "MetricValue" ingredient. Ex.: "42.0".