I just got setup with HA this weekend and was trying to install the smartthings integration but get a message that “SmartThings could not validate the webhook URL. Please ensure the webhook URL is reachable from the internet and try again”.
I have the following in my configuration.yml and have confirmed the .pem files are there too and as I’ve stated, I do get a valid cert lock notice in the browser when I login to HA with the duckdns domain:
the only other yaml content other than these three lines were the defaults when installing HA on my PI 4b
Hi,
I have the exactly same issues and I have tried out so many solutions but I can´t solve it. Please is there any one out there who has the solution for this?
If I take a look at the URL that is popping up when I trying to add this integrations in a browser i got 404: Not Found.
@1154beach@tomcool30@IronSheepdog Guys I had the same problem and I’ve just found the solution which worked for me like a charm!
When you are adding the smartthings integration you will have a pop-up window to Confirm Callback URL.
Check if the URL starting from https:// — local IP — if yes then this is the case. It shoud start from the domain name which you made on duckdns. ex… yourdomain.duckdns.org/api…
First click your user name on lower left corner scroll down to the bottom and create Long-Lived Access Token. Name it as you like.
Then added following lines to my configuration.yaml
If you get the same issue as above, it’s very possible that Samsung Smartthings cannot reach your homeassistant instance due to your TLS configuration.
Most probably you are using lets encrypt. What worked for me is, I changed the nginx configuration to use as ssl_certificate the full chain fullchain.pem, rather than just the cert.pem.
While you’re there, don’t forget to disable TLS v1 and v1.1!
Check your ip_bans.yaml! Somehow the smartthings servers got banned in my case and that led to the error message showing up.
Try removing anything in that file and restart Home Assistant.
Also, if there’s a file called smartthings in the .storage folder within your config directory, rename that file (and restart HA after that before trying to add the integration).
Hi All, I have been struggling with this for the best part of 10 days, followed all recommendation but still no joy, then I recalled something that i read on a different forum and related to a bug around the nabu casa password , essentially if your password has a # then it will try to comment out anything beyond it when writing to the yaml file. Changed my password and it worked straight away, annoying but I am happy now.
Hello I did this and it seemed to work. I did have 2 questions
In doing this I no longer can access HA via my IP address or homeassistant.local. Do I need to do something in the config to make that still available? Only works via duckdns now
For Smartthings, I rebooted it then wanted to log me in as the API user using the token as the password (not sure if this was right but thats what I entered). I then readded the ST integration, it seemed to work. Brought me to a page to confirm, etc etc. However I still do not see the integration shown or any devices in my device list. Oh and I got an email from Smartthings saying welcome to the Dev Portal. Am I missing something?
In cloudflare I am blocking all trafic from
other countries using WAF. As an exception i have added an allow rule for URI paths containing “/api/webhook”. For me the problem was that i had a blank space in the string which broke there rule leading to everything being blocked.
My issue was with Cloudflare, I had to disable Bot detection (Bot Fight Mode, or BFM). The free tier doesn’t let you bypass these with WAF rules, you have to subscribe to get SBFM, or Super Bot Fight Mode to bypass this using query strings in WAF rules.
I had a similar firewall restriction on my Synology NAS server where the Home Assistant is running (in a VM)… Removing that firewall restriction solved my issue…