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 when a temperature/humidity/lux update was received from specified sensor/tag(s).
- API endpoint slug
- wirelesstag.history_of_update_received
- Runtime method
- performQuery("wirelesstag.history_of_update_received")
Query fields
Uuid Dropdown list
- Label
- Tag
- Slug
- uuid
- Required
- true
- Can have default value
- false
Math Text input > Other
- Label
- Math expression
- Helper text
- Optional math expression to calculate the ingredient "answer", Available parameters are "tempDegC", "tempDegF", "RH" and "lux", as well as common math functions.
- Slug
- math
- Required
- true
- Can have default value
- true
Ingredients
Occurred atDate and time of the event.
- Slug
- happened
- Filter code
- Wirelesstag.historyOfUpdateReceived.OccurredAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Temperature celsiusTemperature (in degree Celsius) in the update.
- Slug
- tempDegC
- Filter code
- Wirelesstag.historyOfUpdateReceived.TemperatureCelsius
- Type
- String
- Example
- 27.15
Temperature fahrenheitTemperature (in Fahrenheit) in the update.
- Slug
- tempDegF
- Filter code
- Wirelesstag.historyOfUpdateReceived.TemperatureFahrenheit
- Type
- String
- Example
- 70.15
Humidity percentageHumidity (in %) in the update.
- Slug
- RH
- Filter code
- Wirelesstag.historyOfUpdateReceived.HumidityPercentage
- Type
- String
- Example
- 55.2
BrightnessAmbient light intensity in lux in the update.
- Slug
- lux
- Filter code
- Wirelesstag.historyOfUpdateReceived.Brightness
- Type
- String
- Example
- 1000
AnswerCalculation result of the "Math expression".
- Slug
- answer
- Filter code
- Wirelesstag.historyOfUpdateReceived.Answer
- Type
- String
- Example
- 10
Tag nameName of the tag.
- Slug
- name
- Filter code
- Wirelesstag.historyOfUpdateReceived.TagName
- Type
- String
- Example
- Living room
Tag image URLURL to the picture you took to identify the tag.
- Slug
- image_url
- Filter code
- Wirelesstag.historyOfUpdateReceived.TagImageURL
- Type
- Image URL
- Example
- http://mytaglist.com/eth/tags/c5bf3859-eb13-4482-8eb4-d87bd769bd89.jpg