home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.95k stars 31k forks source link

Samsung Washing Machine - No option for remote start #109357

Open BarBaar44 opened 9 months ago

BarBaar44 commented 9 months ago

The problem

When the washing machine is powered on and the is lid closed, you can remotely start the washing machine. For this, you need to press the "Smartthings button" on the washing machine. The lid then locks and the machine is is ready to go.

You can now start the actual washing procedure with the Smartthings App. Just open the Washing Machine in the SmartThings app and press "start".

Unfortunately, there is no option the start the washing machine in the Smartthings integration.

This would be very useful as I want to start the machine when energy prices are low (in the middle of the night for example)

Please note, there is an option to turn on/off the machine, but that's different.

What version of Home Assistant Core has the issue?

core-2024.1.6

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Smartthings

Link to integration documentation on our website

https://www.home-assistant.io/integrations/smartthings

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Seems this thread is very relevant and already has the required commands:

https://community.home-assistant.io/t/can-smart-samsung-washing-machines-be-started-with-the-smartthings-integration/435701/85

Additional information

No response

home-assistant[bot] commented 9 months ago

Hey there @andrewsayre, mind taking a look at this issue as it has been labeled with an integration (smartthings) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `smartthings` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign smartthings` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


smartthings documentation smartthings source (message by IssueLinks)

issue-triage-workflows[bot] commented 6 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

filewalker1 commented 6 months ago

still open

DrBlokmeister commented 5 months ago

I have created the following workaround. I added this to my secrets.yaml (due to the API token being in plain text in this command):

washing_machine_start_command: >
  curl --location --request POST 'https://api.smartthings.com/v1/devices/<SECRET-DEVICE-ID>/commands' --header 'authorization: Bearer <SECRET-TOKEN>' --header 'Content-Type: text/plain' --data-raw '[    {   "capability":"washerOperatingState",        "command":"setMachineState",        "arguments":["run"]    }]'
washing_machine_stop_command: >
  curl --location --request POST 'https://api.smartthings.com/v1/devices/<SECRET-DEVICE-ID>/commands' --header 'Authorization: Bearer <SECRET-TOKEN>' --header 'Content-Type: text/plain' --data-raw '[    {   "capability":"washerOperatingState",        "command":"setMachineState",        "arguments":["stop"]    }]'

And then use this command_line switch:

command_line:
  - switch:
      name: Washing Machine
      command_on: !secret washing_machine_start_command
      command_off: !secret washing_machine_stop_command

Be sure to replace the secret token and secret device ID by the ones relevant for your case. There is also documentation out there, but that would require some more googling.

BarBaar44 commented 5 months ago

Great stuff. Is it possible to list all available programs and then set one?

For example. I would like to create an automation that first starts the "activewear" program, and upon finish start an extra 'spin' program..

DrBlokmeister commented 5 months ago

I don't know. I'm not the expert here. I started at this topic from the forums: https://community.home-assistant.io/t/can-smart-samsung-washing-machines-be-started-with-the-smartthings-integration/435701/11 and then used documentation and ChatGPT to look around.

issue-triage-workflows[bot] commented 2 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

filewalker1 commented 2 months ago

Still Not solved

MiguelAngelLV commented 2 months ago

We need a program select input too :)

evilmumi commented 1 month ago

No news Update Program picker?

matte-oss commented 3 weeks ago

Following