Smartthings Integration disappears every 24 hours

I’m not sure anyone has mentioned this yet, but there exists a painful workaround through a trusted third party like Alexa, IFTTT, etc.

One of the two (either HA or Smarthings) needs a virtual device, and the third party needs a series of automations to keep the virtual device in sync with the real one.

a. If the virtual switch turns on, turn on the real light.
b. If the virtual switch turns off, turn off the real light.
c. If the real light turns on, then turn on the virtual switch.
d. If the real light turns off, then turn off the virtual switch.

It’s kludgey at best, introduces noticeable latency, is a nightmare beyond a few devices, and I haven’t fully tested it yet. But…in a pinch with one or two devices…I’ve previously used it to keep two otherwise-incompatible services in sync with each other.

I build a Node Red flow which retrieves a SmartThings access and refresh token and renews the access token daily. The only requirement is a public url. Did not manage to get this working with a HA webhook. Tokens are stored in persistent variables and sensors. If you are interested check: GitHub

1 Like

Does anyone here by any chance have a Samsung Air purifier or humidifier connected to SmartThings? I am in need for test data for that one.

2 Likes

Hi Joost, i have three samsung split air conditioning devices setup in smart things, if this helps you? I’m one of the guys who deleted their old “grandfathered” token whilst setting the integration back up after it was gone after the last update.

Following as well…

Same problem
I only use smartthings to control my air conditioners.
Is there another integration to do the same thing?
I consulted hacs but it seems to me that they all use the token :frowning:

Stucked at first step :sweat_smile:
I already have a public https url for mi HA.
Do I have to open 1880 port on my HA machine?

Looks like there is a fix in the beta for 2025.3

  • @joostlek completely rewrote the SmartThings integration! In december, SmartThings shut down the authentication method that we used to use to connect with their platform. During the last 2 months we collaborated with SmartThings to get the integration up and running again. No more need to request a personal access token! You can just sign in using your Samsung account (like how you are used to with for example OneDrive). Another improvement we have done is that to get push updates, you don’t need to expose your instance to the internet anymore!
5 Likes

Oh, God!!
And I thought that my cloudflare settings are affecting the integration. :frowning:
That is really a bad news! :frowning:

Hi,
I can’t add smartthings integration to my home assistant.
I authorize everything, nabu says everything is OK, but in the end, home assistant gives the error “Authentication failed. Please make sure you have granted all required permissions.”

1 Like

Looking at Discord, it looks like there is a bug in B3 that has been fixed, you could wait for B4 or downgrade to B2

1 Like

The latest version (2025.3) seems to have fixed the integration! Hope it works out

Fantastic work - after the 2025.3 upgrade, the SmartThings integration automatically opened a configuration flow to sign-in to Samsung’s SSO and authorise access to my location/ devices.

  • Fully automatic - no need to find options
  • Seamless - one set of actions that didn’t take much effort at all
  • Worked - first time success

:grinning: :clap: :partying_face:

Thanks go to Joostlek, Samsung, and everyone that helped make this happen. The result was genuinely a surprise!

Need to go - the washing machine told me it needs unloading… :slight_smile:

1 Like

For me the update has been the opposite experience. It was working fine before the update but now both my Samsung washing machine and tumble dryer are no longer showing up in HA.

Previous updates would break the connection but I would follow these instructions and the issue would be fixed again:

Open the ST app on your phone
Go to Routines
Tap the Home Assistant automation
Tap done at the bottom
On the next page tap Allow.
In the HomeAssistant UI, restart.

Now I can’t even do this because the ‘Home Assistant’ automation in the Routines tab of the SmartThings app is no longer there.

I have rebooted everything and searched the SmartThings app but I can’t find any way of re-connecting the devices now.

Light switches that are actually from the ‘SmartLife’ app are showing up in the ‘SmartThings’ HomeAssistant integration though, the same as they were before. I have SmartLife linked to SmartThings. It’s just my washing machine and tumble dryer are now missing and I’ve no idea how to get them back.

ISTR recent SmartThings accounts / credentials have different setup on the Samsung side, with a (new?) single-sign-on for all of Samsung.

Try logging in to HA on a desktop (not the app) browser - the pass from HA to Samsung.com SSO may not be working in app.

Try logging into Samsung’s website or a password reset?

The new integration flow did not use the SmartThings app - just a specific redirect to Samsung’s website and a couple of scope permission questions.

I already did. I’ve also now restored a previous backup - The washing machine and tumble dryer were then showing up under the SmartThings integration but they were unavailable and it said the devices were no longer being provided by SmartThings and I should remove them.

I then totally removed the integration and re-added it, including re-authenticating with Samsung. All appeared to work as it should, just no washer or dryer listed now. The only things listed are the light switches that are from SmartLife.

Please open an issue on Github. There might be a bug somewhere, but I need logs and stuff to look into it

4 Likes

Tremendous work! Everything moved to the new integration smoothly, except for my three ceiling fan controls. The integration says those entities are “not provided.” Let me know what information you need and I’ll post over on GitHub.

Be sure to update to 2025.3.1 and download the diagnostics at the device page

2 Likes

Ya esta solucionando: https://search.app/BFnGJ