Explore Plans
Mobile menu Close menu
Powered by VivaPowered by Viva

History of battery level reports for a specific device

This query returns a recent history of when a device reported a battery level.

Developer info

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

Query fields

Device address Dropdown list

Label
Which device?
Slug
device_address
Required
true
Can have default value
false

Ingredients

TimeDate and time event was created.

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

EventName of event

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

ObjectDevice label

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

Battery levelThe current battery level

Slug
battery_level
Filter code
Viva.historyOfBatteryLevelReportsForASpecificDevice.BatteryLevel
Type
String
Example
"50%"