About this query
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 query returns a list of alarm from sensor
- API endpoint slug
- thinga.history_of_alarm_from_sensor
- Runtime method
- performQuery("thinga.history_of_alarm_from_sensor")
Query fields
Raspberry pi ID Dropdown list
- Label
- Raspberry PI ID
- Helper text
- Your RP ID registered with Tantiv4
- Slug
- raspberry_pi_id
- Required
- true
- Can have default value
- false
Alarm type Dropdown list
- Label
- Alarm Type
- Helper text
- Alarm Type
- Slug
- alarm_type
- Required
- true
- Can have default value
- true
Ingredients
Created atDate and time event was created.
- Slug
- created_at
- Filter code
- Thinga.historyOfAlarmFromSensor.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Alarm atAlarm at
- Slug
- alarm_at
- Filter code
- Thinga.historyOfAlarmFromSensor.AlarmAt
- Type
- String
- Example
- alarm_at: Fri Feb 10 18:51:59 2017