I have searched the forum and anywhere else I can (wide open net) and haven’t found a solution to this problem. There was a similar post from mamssw on June 11, but they were utilizing Let’s Enrypt addon and NGINX says it isn’t necessary with their addon. Their scripts are almost identical to mine (except Let’s Encrypt). The reply they received wasn’t helpful as neither of us use NabuCasa. I tried Let’s Encrypt before NGINX too. Way too much information about what doesn’t work, along with the knowledge that there are 5 thousand ways to set up Home Assistant and none of them actually easy. I tried Raspbian with HA in a Python environment also before abandoning that setup.
I am running Hassio on a Raspberry PI 3, with DuckDNS, NGINX, and Configurator addons. I initially had problems just setting up HA so that I could access it via HTTPS (https://my_domain.duckdns.org), but I can do that now. According to the logs, DuckDNS and NGINX are working properly.
My configuration.yaml contains
base_url: https:// my_domain.duckdns.org
I found a post here that said to # the http: comments and had originally done this for all and got the message
for the http
component must be configured and start with https:// when trying to integrate Smart Things. #ing the ssl paths apparently allowed me to access via https and #ing the base url makes no difference either way as does using http, https, or just domain. No affect on ST integration (same message)
Ports 443 and 8123 are forwarded. I do not have to use https://my_domain.duckdns.org with :443 or :8123 since 443 is forwarded.
I am probably doing (or not doing) something simple. I hope someone will pity me for my ignorance and complete lack of any luck whatsoever. Again, is Configuration.yaml the only place that makes reference to http… base_url…https?
Update: I turned logging on in home asistant and get this (redacted) when I try to integrate smart things: 2019-07-13 17:14:24 DEBUG (MainThread) [homeassistant.components.smartthings.smartapp] Setup endpoint for http://192.168.0.xx:8123/api/webhook/be88b4e804xxxxxx223ddc9908ca3a270f892ef33#####08238b23beac69f
I also see this : 2019-07-13 16:51:17 INFO (MainThread) [homeassistant.setup] Setting up http
2019-07-13 16:51:17 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
Should that say https somewhere and possibly the ip address? Where is it getting this from - Configuration. yaml has
base_url: my_domain.duckdns.org:8123 (currently), but i have tried almost anything including # ing this entirely.
As an afterthought, because I did this on my local network (which is http:) I accessed HA from my cell at https: via duckdns and it doesn’t register anything in the log and of course still gives me the http/https error