@Itati The problem is not the Home Assistant SmartThings integration. It pulls values directly from the SmartThings API. The SmartThings API itself is providing these extremely high values.
The reason I asked about the units for all values within the powerConsumption
object in the JSON is that the developer documentation doesn’t provide these information. For the powerConsumption
object it only states “energy and power consumption during specific time period” (see documentation here). The JSON schema also doesn’t specify any units (see documentation here).
@Andreas_Roedl I’m currently writing my Bachelor’s thesis on the energy consumption of IoT devices. Therefore, I unfortunately cannot simply divide the value by 10, as this would falsify my results.
I am retrieving the consumption data via the following API link:
https://api.smartthings.com/v1/devices/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/status
(The actual Device-ID has been replaced with X’s in this example)
The API returns the following powerConsumptionReport
object:
"powerConsumptionReport": {
"powerConsumption": {
"value": {
"energy": 500136,
"deltaEnergy": 19,
"power": 852,
"powerEnergy": 157.68786165714263,
"persistedEnergy": 0,
"energySaved": 0,
"persistedSavedEnergy": 0,
"start": "2025-06-18T15:49:54Z",
"end": "2025-06-18T16:04:38Z"
},
"timestamp": "2025-06-18T16:04:38.238Z"
}
}
If the power
attribute is truly output in Watts by the SmartThings API and represents the instantaneous power, then this value must have been calculated incorrectly. My refrigerator has an average power draw of 60W (measured with an external power device). But the API responds with an instantaneous power value from at least 800W or higher. That would be far too much for a refrigerator.
If powerEnergy
is the consumption over time, it should be easy to calculate. The period for the calculation is provided by the start
and end
attributes. The period is thus 14 minutes and 44 seconds, which is 14 * 60 + 44 = 884 seconds. If I multiply this time by the instantaneous power provided from the power
attribute by the API, I get 852W * 884s = 753,168Ws (Watt-Seconds). Divided by 3600 seconds, this equals 209.213…Wh (Watt-Hours). However, this is still significantly higher than the reported powerEnergy
of 157.687…Wh.
So… what am I missing?
Could the refrigerator’s sensor be damaged, causing the high wattage reading? Or is the wattage calculated differently?
My refrigerator is a RS6HA8891B1/EG, if that helps with the analysis.
I just want to know how these values are to be understood, and why they are so high.
Best regards