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 specified motion sensor tag(s) or reed sensor(s) detect that a door or window was open.
- API endpoint slug
- wirelesstag.history_of_door_or_window_is_opened
- Runtime method
- performQuery("wirelesstag.history_of_door_or_window_is_opened")
Query fields
Uuid Dropdown list
- Label
- Tag
- Slug
- uuid
- Required
- true
- Can have default value
- false
Math Text input
- Label
- Math expression
- Helper text
- Optional math expression to calculate the ingredient "answer", for example, "90-angle"
- Slug
- math
- Required
- true
- Can have default value
- true
Ingredients
AngleAngle of tag movement.
- Slug
- angle
- Filter code
- Wirelesstag.historyOfDoorOrWindowIsOpened.Angle
- Type
- String
- Example
- 15
AnswerCalculation result of the "Math expression".
- Slug
- answer
- Filter code
- Wirelesstag.historyOfDoorOrWindowIsOpened.Answer
- Type
- String
- Example
- 75
Tag nameName of the tag.
- Slug
- name
- Filter code
- Wirelesstag.historyOfDoorOrWindowIsOpened.TagName
- Type
- String
- Example
- Front door
Occurred atDate and time of the event.
- Slug
- happened
- Filter code
- Wirelesstag.historyOfDoorOrWindowIsOpened.OccurredAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
CommentComment field of the tag.
- Slug
- comment
- Filter code
- Wirelesstag.historyOfDoorOrWindowIsOpened.Comment
- Type
- String
- Example
- Comment you added
Tag image URLURL to the image (400x400) of the tag.
- Slug
- image_url
- Filter code
- Wirelesstag.historyOfDoorOrWindowIsOpened.TagImageURL
- Type
- Image URL
- Example
- http://mytaglist.com/eth/tags/c5bf3859-eb13-4482-8eb4-d87bd769bd89.jpg