A beginner's guide
Explore Plans
Mobile menu Close menu
SkylinkNetSkylinkNet

History of Hub State events

This query returns a list of events when the hub was in a specific state.

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 events when the hub was in a specific state.
API endpoint slug
skylinknet.history_of_hub_state_events
Runtime method
performQuery("skylinknet.history_of_hub_state_events")

Query fields

Hub ID Dropdown list

Label
Which Hub?
Slug
hub_id
Required
true
Can have default value
false

Status Dropdown list

Label
Which State?
Slug
status
Required
true
Can have default value
true

Ingredients

Reported atDate and time event was reported.

Slug
reported_at
Filter code
Skylinknet.historyOfHubStateEvents.ReportedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

HubName of the Hub.

Slug
hub
Filter code
Skylinknet.historyOfHubStateEvents.Hub
Type
String
Example
MyHub_123456

Hub statusThe status of the hub.

Slug
hub_status
Filter code
Skylinknet.historyOfHubStateEvents.HubStatus
Type
String
Example
Armed Home

WhoName of user who changed the status.

Slug
who
Filter code
Skylinknet.historyOfHubStateEvents.Who
Type
String
Example
John Doe