Samsung rebuilt account.samsung.com as a JS SPA backed by /iam/oauth2, so the integration's HTML-scraping QR flow can no longer find the signin URL and /accounts/v1/FMM2/signInWithQrCode now 404s. The STF backend (chkLogin.do, getDeviceList.do, ...) is unchanged. Replace the multi-step QR config flow with a single form that asks the user to paste the JSESSIONID cookie copied from a logged-in browser session at smartthingsfind.samsung.com. validate_jsessionid hits chkLogin.do to verify the cookie before accepting it. Also bundle in earlier compatibility fixes for newer HA: store devices in hass.data so the coordinator can look them up by entry_id, and use async_on_update on the device_tracker entity. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
31 lines
1.5 KiB
JSON
31 lines
1.5 KiB
JSON
{
|
|
"config": {
|
|
"abort": {
|
|
"reauth_successful": "Reauthentication successful."
|
|
},
|
|
"error": {
|
|
"invalid_auth": "Cookie was rejected by SmartThings Find. Make sure you copied the JSESSIONID value (not the whole cookie header) from a tab where you are logged in.",
|
|
"empty_cookie": "Please paste a JSESSIONID value."
|
|
},
|
|
"step": {
|
|
"user": {
|
|
"title": "Paste JSESSIONID cookie",
|
|
"description": "Samsung's QR code login flow no longer works (account.samsung.com was rebuilt). Until it is replaced you have to obtain the session cookie manually:\n\n1. Open [smartthingsfind.samsung.com](https://smartthingsfind.samsung.com/) in a regular browser and log in.\n2. Open DevTools → Application (Chrome) or Storage (Firefox) → Cookies → smartthingsfind.samsung.com.\n3. Copy the value of the **JSESSIONID** cookie and paste it below.\n\nThe cookie usually stays valid for several weeks. When it expires Home Assistant will trigger a reauth and you repeat these steps.",
|
|
"data": {
|
|
"jsessionid": "JSESSIONID"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"data": {
|
|
"update_interval": "Update interval (seconds)",
|
|
"active_mode_smarttags": "Use active mode for SmartTags. Might increase battery consumption.",
|
|
"active_mode_others": "Use active mode for other devices (phones, watches, ...). Will heavily increase battery consumption."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|