core
core copied to clipboard
Smartthings integration stopped working (failed to setup)
The problem
It was working from over one year.. now it stopped working with apparently no reason... Not sure if it was related to one of the latest updates.. Can pls someone guide me how to collect relevant logs that can help to debug the problem?
What version of Home Assistant Core has the issue?
core-2024.5.2
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
smarttthings
Link to integration documentation on our website
https://www.home-assistant.io/integrations/smartthings
Diagnostics information
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
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)
update: if I try to use "add entry" function, and confirm the same (actual) access token I get this error: There are no available SmartThings Locations to set up in Home Assistant. How is possible?
Any fix for this? None of my devices work on smartthings. Same setup as above
So it is not only me ... ;-)
What did happen with SmartThings?
Am having the same issues since a few weeks. Tried setting it up again, but I believe the issue is at loading the url https://strongman-regional.api.smartthings.com/?locationId=XXXXb8c34a96ff86&appType=ENDPOINTAPP&appId=XXXXX47df62a96142&language=en&clientOS=web
I'm having the same issue, so commenting to stay in the loop with you fine folks. I can't even login to account.samsung.com to try to set it up again from scratch, getting:
Couldn't load webpage
The webpage didn’t respond to the request in time. ※ IAMUSSauseast1_ [ a long code that I'll omit just in case it's linked to my account ] Samsung account
EDIT: Actually ignore the account.samsung.com problems. My issue was that I block all 3rd party cookies and for some reason Samsung wants my browser to send data to browser-intake-datadoghq.com but I do not. I tested in FF with temp allowing 3rd party cookies and that worked. I don't understand why they need me to send data to their analytics/monitoring partner - they can do that themselves if they must.
Anyone try rolling back to before 2024.05 ? Given my login issue on samsung's site I don't have a reason to believe it's HA that's the issue yet but just wondering.
The webpage didn’t respond to the request in time. ※ IAMUSSauseast1_ [ a long code that I'll omit just in case it's linked to my account ] Samsung account
yes.. that issue is normally related to cookies..
Am having the same issues since a few weeks. Tried setting it up again, but I believe the issue is at loading the url https://strongman-regional.api.smartthings.com/?locationId=XXXXb8c34a96ff86&appType=ENDPOINTAPP&appId=XXXXX47df62a96142&language=en&clientOS=web
I believe that this domain (strongman-regional.api.smartthings.com) is now not used anymore..
and maybe the problem is related to this announcement? https://community.smartthings.com/t/groovy-smartapp-shutdown/255510
or am I totally wrong?
I think this is the keypoint (from https://support.smartthings.com/hc/en-us/articles/9339624925204-Platform-Transition-FAQ)
The SmartThings Groovy IDE is no longer available and has been replaced by the Advanced User App which can be found here.
I think this is the keypoint (from https://support.smartthings.com/hc/en-us/articles/9339624925204-Platform-Transition-FAQ)
The SmartThings Groovy IDE is no longer available and has been replaced by the Advanced User App which can be found here.
I haven't looked at the code to check but I would doubt HA hadn't addressed that change yet since it was announced a while ago.
Another symptom I'm getting, in case not already said anywhere, is that in the ST app the old workaround of going to Routines and tapping on Home Assistant in the Smart Apps section isn't working.
No network connection Couldn't find any available networks.
I'm getting this whether I'm on the same network as my ST hub, or away, both on and off my VPN. Obviously I actually do have a network connection at the time, but it's not clear what it's trying to do at that step. Google hasn't given me any helpful results yet.
Same issue , not working the states of any device in ST on Latest HA
Same issue. Now on core 2024.5.3 and still Failed to set up. I think it got broken around mid-April.
For what it's worth, mine eventually sorted itself out. I have no idea what was wrong. I restarted HA several times but didn't actually change anything in HA or ST. I did login at accounts.samsung.com and was in the process of creating a new PAT and about to recreate the integration when I noticed the original integration was working again. Maybe try creating a new PAT yourselves and see if that act alone is enough to trigger yours to resolve?
any progress on this? Is it confirmed that creating a new PAT will fix the issue? If yes, should we first remove the current integration before creating the new PAT?
I tried to set it up from scratch with a new PAT but it did not work.
I looked up the web server log files, there is no incoming request for the callback URL nor for another / wrong URL when setting a new PAT.
any progress on this? Is it confirmed that creating a new PAT will fix the issue? If yes, should we first remove the current integration before creating the new PAT?
Removing the integration and then adding it with a new PAT worked for me!
If you re add the integration via a chrome on a laptop then it works. It looks as if the issue is caused by some setting in the redirect url (which doesn't work on a mobile browser)
It works for me now. My Issue was that Samsung does not accept common TLS ciphers. I had to add "EECDH+AESGCM" to the allowed ciphers list in my nginx reverse proxy which points to my home assistant.
Seems to be working again for me. I went into the SmartThings app. And under routines I clicked Home Assistant (under SmartApps), clicked on all requests. Reloaded the integration in HA. And is now available again.
Seems to be working again for me. I went into the SmartThings app. And under routines I clicked Home Assistant (under SmartApps), clicked on all requests. Reloaded the integration in HA. And is now available again.
Could you pls be more specific and add a screenshot of the settings you changed ("clicked on all request")?
This my home assistant page under SmartApps but I can't see where I should click "all request"
Thanks in advance
Update:
I now got you.. it was in the SmartThings app.. not SmartThings web page..
I add here the screenshot that can be useful to other people..
And I confirm that this method solved the issue.. I now have again SmartThings working!!
Thanks a lot!