Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.
/ hass-alexa-relay Public archive

home-assistant alexa lambda with wireguard support

License

Notifications You must be signed in to change notification settings

TitanNano/hass-alexa-relay

Repository files navigation

HASS Alexa Relay

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.

Why?

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.

Installation

For a detailed setup guide refer to SETUP.md

Pre-built Binary

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.

Build from source

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.