Explore Plans
Mobile menu Close menu
Powered by VivaPowered by Viva

History of device ons

This query returns a list of when a specific device was turned on.

Developer info

API endpoint slug
viva.history_of_device_ons
Runtime method
performQuery("viva.history_of_device_ons")

Query fields

Device address Dropdown list

Label
Which device?
Helper text
Select the device
Slug
device_address
Required
true
Can have default value
false

Ingredients

TimeDate and time event was created.

Slug
time
Filter code
Viva.historyOfDeviceOns.Time
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

EventName of event

Slug
event
Filter code
Viva.historyOfDeviceOns.Event
Type
String
Example
"On"

ObjectDevice label

Slug
object
Filter code
Viva.historyOfDeviceOns.Object
Type
String
Example
"Living room lights"