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
71.57k stars 29.91k forks source link

smartthings washing machine entities not updating #89505

Closed delta010 closed 8 months ago

delta010 commented 1 year ago

The problem

I have a Samsung washing machine connected to my home assistant with smartthings integration. but most of the sensor entities are not updating their state and I can't control the washer with the switch entity. Also, device info shows unavailable in the home assistant

What version of Home Assistant Core has the issue?

2023.3.3

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

home-assistant_smartthings_2023-03-10T12-34-51.769Z.log

the diagnostics show no information about smartthings integration

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

no device info is available dvinfo

sensor

home-assistant[bot] commented 1 year 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.

(message by CodeOwnersMention)


smartthings documentation smartthings source (message by IssueLinks)

swampylee commented 1 year ago

In addition, I've also noticed that even when the cycle has completed, so in the screenshot above Washer Job State = none and Washer Machine State = stop the Washer Completion Time continues to countdown even though the cycle has finished.

delta010 commented 1 year ago

the smartthings API is working { "items": [ { "deviceId": "2ee1eac3-xxxxxxxx", "name": "[washer] Samsung", "label": "Washing machine", "manufacturerName": "Samsung Electronics", "presentationId": "DA-WM-WM-01011", "deviceManufacturerCode": "Samsung Electronics", "locationId": "24208106-xxxxxxxx", "ownerId": "f8213495-xxxxxxxx-xxxxx", "roomId": "f358c0ae-xxxxxxxx-xxxxx", "deviceTypeName": "Samsung OCF Washer", "components": [ { "id": "main", "label": "main", "capabilities": [ { "id": "execute", "version": 1 }, { "id": "ocf", "version": 1 }, { "id": "powerConsumptionReport", "version": 1 }, { "id": "refresh", "version": 1 }, { "id": "remoteControlStatus", "version": 1 }, { "id": "demandResponseLoadControl", "version": 1 }, { "id": "switch", "version": 1 }, { "id": "washerOperatingState", "version": 1 }, { "id": "custom.disabledCapabilities", "version": 1 }, { "id": "custom.dryerDryLevel", "version": 1 }, { "id": "custom.energyType", "version": 1 }, { "id": "custom.jobBeginningStatus", "version": 1 }, { "id": "custom.supportedOptions", "version": 1 }, { "id": "custom.washerAutoDetergent", "version": 1 }, { "id": "custom.washerAutoSoftener", "version": 1 }, { "id": "custom.washerRinseCycles", "version": 1 }, { "id": "custom.washerSoilLevel", "version": 1 }, { "id": "custom.washerSpinLevel", "version": 1 }, { "id": "custom.washerWaterTemperature", "version": 1 }, { "id": "samsungce.autoDispenseDetergent", "version": 1 }, { "id": "samsungce.autoDispenseSoftener", "version": 1 }, { "id": "samsungce.detergentOrder", "version": 1 }, { "id": "samsungce.detergentState", "version": 1 }, { "id": "samsungce.deviceIdentification", "version": 1 }, { "id": "samsungce.driverVersion", "version": 1 }, { "id": "samsungce.flexibleAutoDispenseDetergent", "version": 1 }, { "id": "samsungce.softwareUpdate", "version": 1 }, { "id": "samsungce.kidsLock", "version": 1 }, { "id": "samsungce.softenerOrder", "version": 1 }, { "id": "samsungce.softenerState", "version": 1 }, { "id": "samsungce.washerBubbleSoak", "version": 1 }, { "id": "samsungce.washerCycle", "version": 1 }, { "id": "samsungce.washerCyclePreset", "version": 1 }, { "id": "samsungce.washerDelayEnd", "version": 1 }, { "id": "samsungce.washerFreezePrevent", "version": 1 }, { "id": "samsungce.washerLabelScanCyclePreset", "version": 1 }, { "id": "samsungce.washerOperatingState", "version": 1 }, { "id": "samsungce.washerWashingTime", "version": 1 }, { "id": "samsungce.washerWaterLevel", "version": 1 }, { "id": "samsungce.washerWaterValve", "version": 1 }, { "id": "samsungce.welcomeMessage", "version": 1 }, { "id": "samsungce.waterConsumptionReport", "version": 1 }, { "id": "sec.diagnosticsInformation", "version": 1 } ], "categories": [ { "name": "Washer", "categoryType": "manufacturer" } ] } ], "createTime": "2022-10-25T03:44:40.263Z", "profile": { "id": "15102ebe-xxxxxxxxx" }, "ocf": { "ocfDeviceType": "oic.d.washer", "name": "[washer] Samsung", "specVersion": "core.1.1.0", "verticalDomainSpecVersion": "1.2.1", "manufacturerName": "Samsung Electronics", "modelNumber": "DA_WM_TP1_21_COMMON|20320841|20000003001611000A8B020200000000", "platformVersion": "DAWIT 2.0", "platformOS": "TizenRT 3.1", "hwVersion": "Realtek", "firmwareVersion": "DA_WM_TP1_21_COMMON_30221217", "vendorId": "DA-WM-WM-01011", "vendorResourceClientServerVersion": "Realtek Release 3.1.220727", "lastSignupTime": "2022-10-25T03:44:34.268704Z" }, "type": "OCF", "restrictionTier": 0, "allowed": [] } ], "_links": {} }

MortyFleem commented 1 year ago

Same. my Samsung washing machine has been inexplicably kicked out of Home Assistant.

MortyFleem commented 1 year ago

Also, not getting all data streams from my Shelly 2.

daath commented 1 year ago

Same here - Did you get it to work?

image

(Here the machine is actually running)

I thought about re-adding SmartThings from HA, but that seems like a hassle if you're gonna do it every week ;P

dfr commented 1 year ago

I just installed a samsung washer with smartthings and noticed the same thing. I was able to get some data for the energy entities using the 'reload' menu entry in the smartthings integration.

edit: ignore this - entities are updating automatically now

DibblesNL commented 1 year ago

Same issue here also my dryer. no data at once

BettySwallocks commented 1 year ago

My Smartthings integration seems to cycle between good data and unavailable on a fairly regular basis for both my washer and dryer. This feels like it's an issue inside Smartthings because my automations inside that app for off-peak wash/dry cycles have become very unreliable recently.

RoelG commented 1 year ago

I have been experiencing the same issue.

issue-triage-workflows[bot] commented 11 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.

BettySwallocks commented 11 months ago

I can confirm that my SmartThings integration is more stable than it was four or five months ago. Not perfect but more stable.

the-baumis commented 11 months ago

I can also confirm that the integration works better now. I'll keep an eye on this over the next few weeks

itguy013 commented 9 months ago

Any update on this issue? Still having the sames issues as other comments

msaphoto06 commented 9 months ago

Same, no update without refresh. If I start the machine, the Hass status remains STOP until I reload. It seems to me that it worked in 2013.11. I'm in 2012.12.1

DibblesNL commented 8 months ago

Still broken for me too. Can also confirm that an integration reload gives a one time status update but it hasn't been usable for me for a year now. Is there really nothing to be done?

andrewsayre commented 8 months ago

The SmartThings integration initially pulls the latest status from the API at start-up, then relies on push updates afterwards. If the entities no longer update, it's because push updates are not being received for them. This isn't an issue with HA or the integration itself. If you're no longer receiving updates for ANY SmartThings entity, then the issue is almost certainly with your webhook. If it's just these devices, then it's because they aren't being emitted through the API (likely an issue with how these devices function within SmartThings).

I'm closing this as it's a support item, not an actionable bug.