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 list of battery readings aggregated per hour.
- API endpoint slug
- WattuneedBatteryUP.battery_meter_readings_hourly
- Runtime method
- performQuery("WattuneedBatteryUP.battery_meter_readings_hourly")
Query fields
Device Dropdown list
- Label
- Which device?
- Slug
- device
- Required
- false
- Can have default value
- false
Ingredients
Average cell temperature minThe value of the "AverageCellTemperatureMin" ingredient.
- Slug
- avg_cell_temp_min
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.AverageCellTemperatureMin
- Type
- String
- Example
- "20.5"
Average cell temperature avgThe value of the "AverageCellTemperatureAvg" ingredient.
- Slug
- avg_cell_temp_avg
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.AverageCellTemperatureAvg
- Type
- String
- Example
- "20.1"
Average cell temperature maxThe value of the "AverageCellTemperatureMax" ingredient.
- Slug
- avg_cell_temp_max
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.AverageCellTemperatureMax
- Type
- String
- Example
- "21.4"
Charge current limit minThe value of the "ChargeCurrentLimitMin" ingredient.
- Slug
- charge_lim_min
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.ChargeCurrentLimitMin
- Type
- String
- Example
- "148.0"
Charge current limit avgThe value of the "ChargeCurrentLimitAvg" ingredient.
- Slug
- charge_lim_avg
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.ChargeCurrentLimitAvg
- Type
- String
- Example
- "148.5"
Charge current limit maxThe value of the "ChargeCurrentLimitMax" ingredient.
- Slug
- charge_lim_max
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.ChargeCurrentLimitMax
- Type
- String
- Example
- "149.0"
Current minThe value of the "CurrentMin" ingredient.
- Slug
- current_min
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.CurrentMin
- Type
- String
- Example
- "30"
Current avgThe value of the "CurrentAvg" ingredient.
- Slug
- current_avg
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.CurrentAvg
- Type
- String
- Example
- "31"
Current maxThe value of the "CurrentMax" ingredient.
- Slug
- current_max
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.CurrentMax
- Type
- String
- Example
- "45"
Discharge current limit minThe value of the "DischargeCurrentLimitMin" ingredient.
- Slug
- discharge_lim_min
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.DischargeCurrentLimitMin
- Type
- String
- Example
- "148.0"
Discharge current limit avgThe value of the "DischargeCurrentLimitAvg" ingredient.
- Slug
- discharge_lim_avg
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.DischargeCurrentLimitAvg
- Type
- String
- Example
- "148.3"
Discharge current limit maxThe value of the "DischargeCurrentLimitMax" ingredient.
- Slug
- discharge_lim_max
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.DischargeCurrentLimitMax
- Type
- String
- Example
- "149.0"
State of charge minThe value of the "StateOfChargeMin" ingredient.
- Slug
- state_of_charge_min
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.StateOfChargeMin
- Type
- String
- Example
- "75.0"
State of charge avgThe value of the "StateOfChargeAvg" ingredient.
- Slug
- state_of_charge_avg
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.StateOfChargeAvg
- Type
- String
- Example
- "80.0"
State of charge maxThe value of the "StateOfChargeMax" ingredient.
- Slug
- state_of_charge_max
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.StateOfChargeMax
- Type
- String
- Example
- "99.0"
State of health minThe value of the "StateOfHealthMin" ingredient.
- Slug
- state_of_health_min
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.StateOfHealthMin
- Type
- String
- Example
- "0.0"
State of health avgThe value of the "StateOfHealthAvg" ingredient.
- Slug
- state_of_health_avg
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.StateOfHealthAvg
- Type
- String
- Example
- "4.0"
State of health maxThe value of the "StateOfHealthMax" ingredient.
- Slug
- state_of_health_max
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.StateOfHealthMax
- Type
- String
- Example
- "5.0"
Voltage minThe value of the "VoltageMin" ingredient.
- Slug
- voltage_min
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.VoltageMin
- Type
- String
- Example
- "50.65"
Voltage avgThe value of the "VoltageAvg" ingredient.
- Slug
- voltage_avg
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.VoltageAvg
- Type
- String
- Example
- "50.69"
Voltage maxThe value of the "VoltageMax" ingredient.
- Slug
- voltage_max
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.VoltageMax
- Type
- String
- Example
- "50.69"
Date timeTimestamp of the battery state.
- Slug
- date_time
- Filter code
- WattuneedBatteryUP.batteryMeterReadingsHourly.DateTime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00