Hello,
I have a washing machine with SmartThings support. I’m using it in combination with HomeAssistant but the integration doesn’t show instant power (always 0). So I’m checking if I can get instant power consumption through the API. I only see Energy using this endpoint “https://api.smartthings.com/v1/devices/xxxxxxxxxxxxxxxx/components/main/capabilities/powerConsumptionReport/status” (power, again, is always 0).
Is there any alternative way to get instant power consumption?
Thank you
Check the ST Advanced Web App to see what capabilities your washing machine exposes and if there is a non-zero value for current power consumption available.
I can’t find anything that could be used.
I’m wondering if this is an expected behaviour, considering that the machine has to take Power consumption into account to calculate Energy consumption.
@JDRoberts I’m wondering if this thread should be moved to “Devices and Integrations”, maybe as feature request/bug, as it seems this is something not currently available. What do you think?
There’s nobody to read about feature requests in devices and integrations. And usually questions about the API and the information available there get answered by the developer support staff, which is this section, which is why I moved it.
This forum was set up a number of years ago so that customers could help other customers with ideas and troubleshooting. It’s not officially monitored, except for the usual moderation of spam, etc.
But this subsection does have some employees who are assigned to help developers, and they can usually answer the questions about the API.
You can move it back if you want, I just don’t think you’ll get answers there. It’s up to you.
Hello @g1za ,
Thank you for reaching out.
To better assist you with your inquiry regarding the instant power consumption of your washing machine, we would need access to your account to check the device details and confirm its capabilities. This will help us determine if it’s possible to retrieve the instant power consumption through the API.
Please provide us with access to your account so we can investigate further. We’ll be happy to look into this and guide you on the next steps.
To give us access, please follow these steps:
- Confirm the email account registered in the forum is the same one you use for SmartThings. If not, please share it with me over DM.
- Enable support access to your account:
- Go to the SmartThings Web (my.smartthings.com)
- Log in to your Samsung Account
- Select Menu (⋮) and choose Settings
- Toggle on Account Data Access
- Select the time period and confirm - In this step, please select “Until turned off.” Once the team finishes, we’ll let you know so you can disable it again.
Thank you, and we look forward to resolving this for you.
Thank you Luis,
Yes, it’s the same
Done.
Thank you for looking into this.
Kind regards
Hi @g1za ,
Thanks for your patience! I’ve taken a closer look at the capabilities for your washing machine, and based on the data returned, it seems that instantaneous power monitoring may not be fully supported by this specific model.
Here’s what I found:
- The washing machine does report energy consumption (
energyType
andpowerConsumptionReport
), but the field for instantaneous power (instantaneousPower
) is either missing or set to0
, which could indicate that this model doesn’t support real-time power updates. - Energy-saving features and energy type are supported, but energy-saving operations are not fully enabled (
energySavingSupport
is false).
Since we’re not seeing the real-time power (instantaneousPower
) in the capabilities, it’s likely that this model only tracks cumulative energy consumption rather than real-time power usage.
You might want to verify in the product manual or check with the manufacturer to confirm whether real-time power tracking is available for your washing machine model.
Let me know if you have any other questions or need further assistance!
Thank you for the extensive analysis.
It’s a Samsung washing machine, specifically model WW90T534DTW/S3.
Do you think (or know) that this (instant power) feature (or not every possible features) is not available for any Samsung devices?
Thanks for your patience with all my questions.
KR
Hi @g1za,
Thank you for your follow-up. To provide further context on the instantaneous power feature, I recommend checking this SmartThings Community post for more details about how capabilities work across devices and the API.
In summary, while the SmartThings app uses the OCF (COAP) protocol to display certain values, including those written directly by the device (such as power or temperature readings), the APIs don’t use OCF and instead rely on the profile that defines the available values.
This could explain why some features, like instantaneous power, might not be available in the API even though other energy consumption data is reported by your device. I recommend checking with the manufacturer for more specific details on whether real-time power monitoring is supported for your model.
Let me know if you have any further questions!