Open BarBaar44 opened 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!
(message by CodeOwnersMention)
smartthings documentation smartthings source (message by IssueLinks)
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.
still open
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.
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..
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.
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.
Still Not solved
We need a program select input too :)
No news Update Program picker?
Following
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