Hi Folks,
I am running a synology box with Home Assistant Core as a docker container, I have a few other containers supporting this.
I set up remote access using DuckDNS. I wasnt sure if this was necessary since I already had the synology based access. Either way its done now.
I then needed to get to the right port. My understanding is that synology uses 443, so the way around this is to create a reverse proxy.
For this I have:
External:
HTTPS
Hostname.duckdns.org
Port 8443
Destination:
HTTP
192.168.XXX.XXX
Port 8123
I am now able to go to my hostname.duckdns.org:8443 and I get access to my homeassistant login page.
I set up a custom user for alexa and tested the login (its administrative use, not sure if that matters).
In Security on Synology I set up a certificate for my hostname.duckdns.org through lets encrypt.
With all this done, I went through the Alexa Smart Home setup shown here:
A few things to note, in account linking, I used the following:
Authorization URI:https://hostname.duckdns.org:8443/auth/authorize
Access Toke URI: https://hostname.duckdns.org:8443/auth/token
Authentication Scheme: Credentials in request body
In Lambda, the test event results in:
Execution result: succeeded(logs)
Details
The area below shows the result returned by your function execution. Learn more about returning results from your function.
{
"statusCode": 200,
"body": "\"Hello from Lambda!\""
}
No Devices are shown specifically, but it seemed like it connected fine.
I previously ran Emulated Hue so I know the devices work.
Any help would be appreciated.