Get the last reading of the sensor
- API endpoint slug
- tempstick.last_sensor_reading
- Runtime method
- performQuery("tempstick.last_sensor_reading")
Query fields
- Label
- Which sensor do you want a reading from?
- Slug
- sensor_id
- Required
- true
- Can have default value
- false
Ingredients
- Slug
- sensor_id
- Filter code
- Tempstick.lastSensorReading.SensorID
- Type
- String
- Example
- SensorID
- Slug
- sensor_name
- Filter code
- Tempstick.lastSensorReading.SensorName
- Type
- String
- Example
- My sensor name
- Slug
- last_checkin
- Filter code
- Tempstick.lastSensorReading.LastCheckin
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- temp_f
- Filter code
- Tempstick.lastSensorReading.TempF
- Type
- String
- Example
- 32
- Slug
- next_checkin
- Filter code
- Tempstick.lastSensorReading.NextCheckin
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- humidity
- Filter code
- Tempstick.lastSensorReading.Humidity
- Type
- String
- Example
- 50
- Slug
- temp_c
- Filter code
- Tempstick.lastSensorReading.TempC
- Type
- String
- Example
- 0