After several days of troubleshooting and research, I finally managed to integrate SmartThings into my Hass.io setup. I wanted to share my journey and solution in case others are facing similar issues. Here’s what worked for me:
-
Understanding the Error: The error I encountered was
The base_url for the http component must be configured and start with https://. This indicated that the base URL wasn’t properly set up or recognized by the system. -
Configuring DDNS with SSL: I successfully set up DDNS with DuckDNS and NGINX, ensuring SSL certificates were correctly installed. This involved configuring both DuckDNS and NGINX to handle HTTPS traffic seamlessly.
-
Adjusting Configuration.yaml: The key was modifying the
configuration.yamlfile to correctly specify thebase_urlwith HTTPS. Here’s the corrected snippet:
yaml
http:
base_url: https://your-domain.duckdns.org
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem -
Testing and Validation: After making these changes, I restarted Hass.io and tested the integration. SmartThings now connects without issues, and the error no longer appears.
I hope this helps anyone else struggling with similar SmartThings integration problems. Happy automating! ![]()