Important
There will be no further developmen on this project! I recomend everyone to switch to the Home-Assistant-Matter-Hub Add-on. for integrating Alexa with Home-Assistant. This integration has worked very well for me and will continue to work, but there is considerable overhead and latency when connecting two devices (Alexa and Home Assistant) via the internet.
An AWS lambda function that enables the connection between Amazons Alexa and a Home Assistant instance via a wireguard VPN tunnel.
This lambda implementation of the home assistant Alexa skill lambda enables the connection to a home assistant instance that is only accessible via a Wireguard VPN.
For a detailed setup guide refer to SETUP.md
Download the pre-built binary from the release page and upload the zip file to your lambda function. Make sure to set the runtime to Custom runtime on Amazon Linux 2
,
the architecture to x86_64
and under Configuration > General Configuration set the timeout to about 15 seconds.
Make sure to have a properly set up rust build environment. Install cargo-lambda
via cargo install cargo-lambda
.
Build the crate via cargo lambda build --release --output-format Zip
. Afterwards follow the steps for the pre-build version.