A beginner's guide
Explore Plans
Mobile menu Close menu
Genius HubGenius Hub

History of when a device has a low battery

This query returns a list of when an assigned device on your system had a low battery.

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 an assigned device on your system had a low battery.
API endpoint slug
genius_hub.history_of_when_a_device_has_a_low_battery
Runtime method
performQuery("genius_hub.history_of_when_a_device_has_a_low_battery")

Query fields

No fields for this query

Ingredients

Device IDThe ID of the device with the low battery

Slug
device_id
Filter code
GeniusHub.historyOfWhenADeviceHasALowBattery.DeviceId
Type
String
Example
5

Device typeThe device type

Slug
device
Filter code
GeniusHub.historyOfWhenADeviceHasALowBattery.DeviceType
Type
String
Example
Radiator Valve

DateThe time of the trigger.

Slug
date
Filter code
GeniusHub.historyOfWhenADeviceHasALowBattery.Date
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

ZoneThe zone the device is assigned to.

Slug
zone
Filter code
GeniusHub.historyOfWhenADeviceHasALowBattery.Zone
Type
String
Example
Living Room