Battery Query returning no values
Posted: Wed Jan 14, 2026 6:31 am
Hi, could anyone please advise why "Values" are empty for battery/real/query?
I want to query battery capacity, remaining kw, current %, is this the right endpoint?
Please below the response I get!
I want to query battery capacity, remaining kw, current %, is this the right endpoint?
Code: Select all
https://www.foxesscloud.com/op/v0/device/[b]battery/real/query[/b]?sn=xxxxCode: Select all
{
"errno": 0,
"msg": "Operation successful",
"result": {
"data": {
"remainCapacity": {
"unit": "Ah",
"value": "--"
},
"batteryDesignCapacity": {
"unit": "Ah",
"value": "--"
},
"batteryDesignEnergy": {
"unit": "kWh",
"value": "--"
},
"chargeEnergyToTal": {
"unit": "kWh",
"value": "1339"
},
"dischargeEnergyToTal": {
"unit": "kWh",
"value": "1406.6"
},
"batteryRemainEnergy": {
"unit": "kWh",
"value": "--"
},
"acType": "--",
"batteryType": "--"
}
}
}