Can smart Samsung washing machines be started with the SmartThings integration?

I don’t understand why people are obsessed about percentages for a modern washing machine.

Modern washing machines are adjusting their end time during the program run, as they take care about the weight of the load, the water turbidity (assuming how dirty the clothes are), how much water they absorb, etc. My machine just changed the end time and now it is 50 minutes shorter than how it suggested in the beginning. That percentage calculation is just prone to error.
(And I did not mention if you choose to change the number of spin cycles on the machine, meanwhile the program is running, as some models support that option. Or you pause the program to add more stuff in, if you have a machine with an AddWash door.)

What an annoying and over-complicated set-up just to get some Samsung dryer visibility in HA
What are people doing with the bearer-token? Seems it needs re-generating every 24 hrs which takes away some of the “automation” factor.
How about smarthings-cli? it seems to maintain a login and doesn’t ask for bearer tokens. I guess the same setup could be achieved with command-line sensor instead of rest sensor? Would there be any limitations with that?

I’m am so happy my token expires 24 sept 2074 :stuck_out_tongue:

any idea for where to look up the dryerCycle (or washerCycle) codes?
I worked out that “course_1F” is the same as “Mixed Load” but want to be able to display as the dryer or the smart things app display the cycle. Must be looked up somehow.

how do you get a token valid longer than the life of the device? :smiley:

When I created my token one year ago, the validity was still 50 years or so :stuck_out_tongue:

Oh, smartthings changed this? That sucks :frowning:

Just fyi - Home Assistant developers are in touch with SmartThings and actively working on a new integration (currently planned to launch in the Home Assistant 2025.3 branch). That should hopefully resolve the 24-hour token issue (it won’t use the PATs at all, and will substitute an oAuth integration for them).

2 Likes

Upon request I opened a feature request on discord:

Can anybody share their info/knowledge in this feature request? Would be awesome to help the smartthings developers on their way!

The GitHub issue has been closed, as apparently it’s not taking feature requests…

Great, I bet this “active work” will break all the workarounds… :grin:
I knocked up a rest proxy to the smartthings-cli to bypass the hassle of having to renew app keys.
Does anyone know the endpoint to get proper energy consumption data?
the powerConsumptioReport is almost useless…

{
  "powerConsumption": {
    "timestamp": "2025-03-05T14:22:54.355Z",
    "value": {
      "deltaEnergy": 100,
      "end": "2025-03-05T14:22:54Z",
      "energy": 5800,
      "energySaved": 0,
      "persistedEnergy": 0,
      "power": 0,
      "powerEnergy": 0,
      "start": "2025-03-05T14:07:45Z"
    }
  }
}
1 Like

Sorry I can’t help with your powerconsumption question, I only own a Samsung SmartThings oven – it’s literally the only device I have attached to SmartThings; I don’t intend to buy anything else that’s exclusively tied to SmartThings (or any proprietary cloud device in general, if at all possible).

I just want to note that the PAT change that SmartThings made affects the smartthings-cli just as much as everything else that depended on PATs. They (SmartThings) haven’t provided a date, but they have left the possibility dangling that they might eventually disable all existing long-lived access tokens.

  1. These changes only impact newly issued PATs. As of now we’re not making any changes to existing PATs. We know that of the 40k or so PATs in active use, a number of those are being used for critical integrations for users’ locations such as the 20k or so being used for HomeAssistant. We don’t want to break that functionality and before we would consider making any changes to existing PATs, we’d want to have a paved path to keep our users’ locations functioning reliably.

For now, I’m keeping my long lived PATs ( I have a couple) safely stored in a password manager so I can use them for similar purposes as you - I have a few Home Assistant REST commands to control my oven, since that isn’t yet offered by the native HA integration. I’m hopeful it may be added in the future and have provided my device configs and commands to the developer working on the integration.

hopefully an oven will at least tell you the temperature and live power consumption. I was disappointed not the have more data exposed for the dryer.

Anybody was able to turn on the washer? I was trying to do so by this code but nothing happened:

samsung_power_on: |-
curl -s -L ‘https://api.smartthings.com/v1/devices/3aeed688-xxx-5479-xxx-eff0ea3eab09/commands
-H ‘Content-Type: application/json’
-H ‘Authorization: Bearer 7b3xx6xd0-xx-xxx-a1f6-b00d8d8bc7a7’
-d ‘[
{“capability”:“switch”, “command”:“on” }
]’

In node red there is a Home connect palete.
You can start the machine with the data:

{
  "data": {
    "key": "LaundryCare.Washer.Program.Cotton",
    "options": [
      {
        "key": "LaundryCare.Washer.Option.SpinSpeed",
        "value": "LaundryCare.Washer.EnumType.SpinSpeed.RPM1400",
        "name": "Spin Speed",
        "displayvalue": "1400 rpm"
      },
      {
        "key": "LaundryCare.Washer.Option.Temperature",
        "value": "LaundryCare.Washer.EnumType.Temperature.GC40",
        "name": "Temperature",
        "displayvalue": "40°C"
      }
    ],
    "name": "Cotton"
  }
}

I assume this data is just used in a http request with the added auth and application ID.

But this sends the command to Home connect directly not through Smart things

you have an Samsung Washer wich is enroll into Home Connect instead of SmartThings? Is it possible to do that? Home Connect is Bosch only

I believe Home Connect is for Siemens too.

I don’t want be rude but, have you noticed the title of this thread “Can smart Samsung washing…” ??

:man_facepalming:
Sorry! I misread

@cristidobrescu