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 data the sensor has measured.
- API endpoint slug
- zynect_sensors.sensor_data
- Runtime method
- performQuery("zynect_sensors.sensor_data")
Query fields
Sensor ID Dropdown list
- Label
- Which sensor do you want to query?
- Slug
- sensor_id
- Required
- true
- Can have default value
- false
Sensor units Dropdown list
- Label
- What units do you want to use?
- Helper text
- Select units that correspond to your sensor.
- Slug
- sensor_units
- Required
- false
- Can have default value
- false
Ingredients
Sensor valueThe value most recent value the sensor reported.
- Slug
- sensor_value
- Filter code
- ZynectSensors.sensorData.SensorValue
- Type
- String
- Example
- 18.0
Sensor unitsThe units of the value the sensor is reporting.
- Slug
- sensor_units
- Filter code
- ZynectSensors.sensorData.SensorUnits
- Type
- String
- Example
- Volts
Reported atThe time at which the sensor reported this data.
- Slug
- reported_at
- Filter code
- ZynectSensors.sensorData.ReportedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00