A Home Assistant add-on that provides a LiveKit server for real-time video, audio, and data communication with Matrix/Synapse integration support.
LiveKit is an open-source platform for building real-time video, audio, and data experiences. This add-on provides an easy way to run LiveKit within your Home Assistant environment, with special support for Matrix/Synapse integration for group calls.
- Real-time Communication: Support for video, audio, and data streams
- Matrix Integration: Seamless integration with Matrix/Synapse for group calls
- WebRTC Support: Full WebRTC implementation with NAT traversal
- TURN Server Integration: Compatible with Coturn and other TURN servers
- Secure Authentication: JWT-based authentication with configurable API keys
- SSL/TLS Support: Secure connections with custom SSL certificates
- Flexible Configuration: Comprehensive configuration options for production use
- Multi-Architecture: Support for various CPU architectures
- Navigate in your Home Assistant frontend to Settings → Add-ons → Add-on Store.
- Add this repository by clicking the menu in the top-right and selecting Repositories.
- Add the URL:
https://github.com/MichalTorma/ha-repository - Find the "LiveKit Server" add-on and click it.
- Click on the "INSTALL" button.
- Configure the add-on according to your needs (see Configuration section).
- Start the add-on.
- Configure your Matrix homeserver to use LiveKit for group calls.
- Access LiveKit through your configured domain and port.
The minimal configuration requires setting up API credentials:
api_key: "your-api-key"
api_secret: "your-very-long-random-secret-at-least-32-characters"
domain: "homeassistant.local"To integrate with Matrix/Synapse for group calls:
api_key: "your-api-key"
api_secret: "your-very-long-random-secret-at-least-32-characters"
domain: "your-domain.com"
matrix_homeserver_url: "https://matrix.your-domain.com"
matrix_widget_url: "https://livekit.your-domain.com"
use_ssl: true
cert_file: "fullchain.pem"
pkey_file: "privkey.pem"For production use with TURN server support (using Coturn add-on):
api_key: "your-api-key"
api_secret: "your-very-long-random-secret-at-least-32-characters"
domain: "your-domain.com"
use_ssl: true
cert_file: "fullchain.pem"
pkey_file: "privkey.pem"
turn_enabled: true
turn_servers:
- "turn:your-domain.com:3478"
- "turns:your-domain.com:5349"
turn_static_auth_secret: "your-coturn-static-secret"
external_ip: "your-external-ip"For detailed configuration options, see the DOCS.md file.
This add-on is designed to work seamlessly with Matrix homeservers like Synapse. For detailed Matrix integration instructions, including homeserver configuration and widget setup, see the DOCS.md file.
Got questions? Please use the GitHub Issues for this repository.
MIT License - see LICENSE file for details.