core: Integration SmartThings - Impossible to connect - Error unknown
The problem
Hi guys, I’m trying to integrate my new washer available on SmartThings but I cannot make it work. I’m running latest version of HA on my self hosted instance (Cloudflare -> Traefik -> HA). I followed the official documentation and created my PAT as required. however I cannot make it work. I always end up with Unknown Error occured:
I had an issue with callback URL at the beginning because I was using TLS 1.3 only on CloudFlare. I also made sure Bot Fight Mode feature is disabled. I have a special waf rules for my Home Assistant to allow everything from everywhere (not Geoloc blocking like my other web services)
I activated debug log and here my logs of my tries:
2024-01-18 10:48:26.980 DEBUG (MainThread) [homeassistant.components.smartthings.smartapp] Setup endpoint for https://public.hostname.cloudflare/api/webhook/86039b27ec6082a1f52e2baca10c45121b78235e0891df52eab757b9d786140d 2024-01-18 10:48:52.822 DEBUG (MainThread) [homeassistant.components.smartthings.smartapp] Created SmartApp 'homeassistant.88d47aee-eddb-4862-ad1d-713a642fe97e' (ad21504c-48c4-4dd9-82aa-1b61d7b3b861) 2024-01-18 10:48:52.905 DEBUG (MainThread) [homeassistant.components.smartthings.smartapp] Updated App Settings for SmartApp 'homeassistant.88d47aee-eddb-4862-ad1d-713a642fe97e' (ad21504c-48c4-4dd9-82aa-1b61d7b3b861) 2024-01-18 10:48:53.029 DEBUG (MainThread) [homeassistant.components.smartthings.smartapp] Updated App OAuth for SmartApp 'homeassistant.88d47aee-eddb-4862-ad1d-713a642fe97e' (ad21504c-48c4-4dd9-82aa-1b61d7b3b861) 2024-01-18 10:51:33.108 DEBUG (MainThread) [homeassistant.components.smartthings.smartapp] Setup endpoint for https://public.hostname.cloudflare/api/webhook/7c24ec78ad76d89a38217d73e2d256e19f817a7ca910a288584a4ab0b616e572 2024-01-18 10:51:40.826 DEBUG (MainThread) [homeassistant.components.smartthings.smartapp] Created SmartApp 'homeassistant.39080fd9-ebf5-43db-8467-49675996cbaa' (a85809ac-3b74-4a0b-a0e4-186a444afdb0) 2024-01-18 10:51:40.924 DEBUG (MainThread) [homeassistant.components.smartthings.smartapp] Updated App Settings for SmartApp 'homeassistant.39080fd9-ebf5-43db-8467-49675996cbaa' (a85809ac-3b74-4a0b-a0e4-186a444afdb0) 2024-01-18 10:51:41.068 DEBUG (MainThread) [homeassistant.components.smartthings.smartapp] Updated App OAuth for SmartApp 'homeassistant.39080fd9-ebf5-43db-8467-49675996cbaa' (a85809ac-3b74-4a0b-a0e4-186a444afdb0)
I don’t how to debug more this… and clue for me ?
Thanks
What version of Home Assistant Core has the issue?
core-2024.1.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
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
.storage/smartthings content:
{
"version": 1,
"minor_version": 1,
"key": "smartthings",
"data": {
"instance_id": "1354b7b4-98cc-4479-86a6-d63147a49d69",
"webhook_id": "7c24ec78ad76d89a38217d73e2d256e19f817a7ca910a288584a4ab0b616e572",
"cloudhook_url": null
}
}
I dont understand why there is no cloudhook URL.
I tried to manually add it but not helping.
Anything in the logs that might be useful for us?
No response
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 20 (1 by maintainers)
This is fixed in 2025.3.0, available today as beta, or next wednesday as full release